Package io.agora.rtc2
Interface IH265TranscoderObserver
public interface IH265TranscoderObserver
The IH265TranscoderObserver interface.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe result of IH265Transcoder interface invoking. -
Method Summary
Modifier and TypeMethodDescriptionvoidonEnableTranscode(int result) Use to notify the result of invoking enableTranscode interface.voidonQueryChannel(int result, String originChannel, String transcodeChannel) Use to notify the result of invoking queryChannel interface.voidonTriggerTranscode(int result) Use to notify the result of invoking triggerTranscode interface.
-
Method Details
-
onEnableTranscode
void onEnableTranscode(int result) Use to notify the result of invoking enableTranscode interface.- Parameters:
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.
-
onQueryChannel
Use to notify the result of invoking queryChannel interface.- Parameters:
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 id.transcodeChannel- Transcode channel id.
-
onTriggerTranscode
void onTriggerTranscode(int result) Use to notify the result of invoking triggerTranscode interface.- Parameters:
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.
-