public interface IH265TranscoderObserver
Modifier and Type | Interface and Description |
---|---|
static class |
IH265TranscoderObserver.H265TranscodeResult
The result of IH265Transcoder interface invoking
|
Modifier and Type | Method and Description |
---|---|
void |
onEnableTranscode(int result)
Use to notify the result of invoking enableTranscode interface
|
void |
onQueryChannel(int result,
java.lang.String originChannel,
java.lang.String transcodeChannel)
Use to notify the result of invoking queryChannel interface
|
void |
onTriggerTranscode(int result)
Use to notify the result of invoking triggerTranscode interface
|
void onEnableTranscode(int result)
result
- Result of invoking enableTranscode interface. There are some processing advice below of result.
- REQUEST_INVALID: Channel or uid param have a mistake, you need to check them for correctness.
- UNAUTHORIZED: Authentication failed, please check for correctness of token.
- TOKEN_EXPIRED: The token has expired, you need to generate a new token.
- FORBIDDEN: You need to contact agora staff to add the vid whitelist.
- NOT_FOUND: Indicates that the network may be faulty.
- TOO_OFTEN: Request is too often, please request again later.
- SERVER_INTERNAL_ERROR: The service has an internal error. A request can be made again.void onQueryChannel(int result, java.lang.String originChannel, java.lang.String transcodeChannel)
result
- Result of invoking queryChannel interface. There are some processing advice below of result.
- UNAUTHORIZED: Authentication failed, please check for correctness of token.
- TOKEN_EXPIRED: The token has expired, you need to generate a new token.
- NOT_FOUND: Indicates that the network may be faulty or the channel param may be is empty.
- TOO_OFTEN: Request is too often, please request again later.
- SERVER_INTERNAL_ERROR: The service has an internal error. A request can be made again.originChannel
- Origin channel idtranscodeChannel
- Transcode channel idvoid onTriggerTranscode(int result)
result
- Result of invoking triggerTranscode interface. There are some processing advice below of result.
- UNAUTHORIZED: Authentication failed, please check for correctness of token.
- TOKEN_EXPIRED: The token has expired, you need to generate a new token.
- NOT_FOUND: Indicates that the network may be faulty or the channel param may be is empty.
- CONFLICTED: The request of trigger transcode is conflicted, please try again.
- TOO_OFTEN: Request is too often, please request again later
- SERVER_INTERNAL_ERROR: The service has an internal error. A request can be made again.
- SERVICE_UNAVAILABLE: May be the number of transcode service is over the limit.