|
Twitch SDK (Internal)
|
#include <iingesttester.h>
Public Types | |
| enum | TestState { TestState::Stopped, TestState::Connecting, TestState::Testing, TestState::Disconnecting, TestState::Finished, TestState::Failed } |
Public Member Functions | |
| virtual | ~IIngestTester () |
| virtual TTV_ErrorCode | GetTestState (TestState &result) const =0 |
| virtual TTV_ErrorCode | GetIngestServer (IngestServer &result) const =0 |
| virtual TTV_ErrorCode | Start (const IngestServer &ingestServer)=0 |
| virtual TTV_ErrorCode | Cancel ()=0 |
| virtual TTV_ErrorCode | GetMeasuredKbps (uint32_t &result)=0 |
| virtual TTV_ErrorCode | GetTestError (TTV_ErrorCode &result)=0 |
| virtual TTV_ErrorCode | SetTestDurationMilliseconds (uint64_t duration)=0 |
| virtual TTV_ErrorCode | GetTestDurationMilliseconds (uint64_t &result) const =0 |
| virtual TTV_ErrorCode | GetProgress (float &result) const =0 |
| virtual TTV_ErrorCode | GetUserId (UserId &result) const =0 |
The interface for the ingest testing service. This will test a single ingest server.
|
strong |
|
virtual |
|
pure virtual |
Stop testing the current server and abort the rest of the test. This will cause the test to fail with error TTV_EC_REQUEST_ABORTED.
Implemented in ttv::broadcast::IngestTester.
|
pure virtual |
Returns the ingest server currently being tested. If there is no server then TTV_EC_INVALID_STATE will be returned.
Implemented in ttv::broadcast::IngestTester.
|
pure virtual |
Retrieves the computed kilobits (1000 bits) per second of the connection to the ingest server.
Implemented in ttv::broadcast::IngestTester.
|
pure virtual |
The overall progress between [0,1].
Implemented in ttv::broadcast::IngestTester.
|
pure virtual |
Gets the number of milliseconds in which to test each server.
Implemented in ttv::broadcast::IngestTester.
|
pure virtual |
Retrives the error associated with the test, if available.
Implemented in ttv::broadcast::IngestTester.
|
pure virtual |
Retrieves the current state of the test.
Implemented in ttv::broadcast::IngestTester.
|
pure virtual |
The owning user id.
Implemented in ttv::broadcast::IngestTester.
|
pure virtual |
Sets the number of milliseconds in which to test each server.
Implemented in ttv::broadcast::IngestTester.
|
pure virtual |
Start the testing the given server.
Implemented in ttv::broadcast::IngestTester.
1.8.13