Package io.agora.rtc2
Interface IH265Transcoder
public interface IH265Transcoder
The IH265Transcoder interface.
-
Method Summary
Modifier and TypeMethodDescriptionintenableTranscode(String token, String channel, int uid) Enable transcoding for a channel.intqueryChannel(String token, String channel, int uid) Query the transcoded channel of a channel.intRegister a IH265TranscoderObserver object.inttriggerTranscode(String token, String channel, int uid) Trigger channel transcoding.intUnregister a IH265TranscoderObserver object.
-
Method Details
-
registerTranscoderObserver
Register a IH265TranscoderObserver object.- Parameters:
observer-- Returns:
- - 0: Success. - <0: Failure.
-
unregisterTranscoderObserver
Unregister a IH265TranscoderObserver object.- Parameters:
observer-- Returns:
- - 0: Success. - <0: Failure.
-
enableTranscode
Enable transcoding for a channel.- Parameters:
token- The token for authentication.channel- The unique channel name for the AgoraRTC session in the string format.uid- User ID.- Returns:
- - 0: Success. - <0: Failure.
-
queryChannel
Query the transcoded channel of a channel.- Parameters:
token- The token for authentication.channel- The unique channel name for the AgoraRTC session in the string format.uid- User ID.- Returns:
- - 0: Success. - <0: Failure.
-
triggerTranscode
Trigger channel transcoding.- Parameters:
token- The token for authentication.channel- The unique channel name for the AgoraRTC session in the string format.uid- User ID.- Returns:
- - 0: Success. - <0: Failure.
-