Package io.agora.rtc2

Interface IH265Transcoder


public interface IH265Transcoder
The IH265Transcoder interface.
  • Method Details

    • registerTranscoderObserver

      int registerTranscoderObserver(IH265TranscoderObserver observer)
      Register a IH265TranscoderObserver object.
      Parameters:
      observer -
      Returns:
      - 0: Success. - <0: Failure.
    • unregisterTranscoderObserver

      int unregisterTranscoderObserver(IH265TranscoderObserver observer)
      Unregister a IH265TranscoderObserver object.
      Parameters:
      observer -
      Returns:
      - 0: Success. - <0: Failure.
    • enableTranscode

      int enableTranscode(String token, String channel, int uid)
      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

      int queryChannel(String token, String channel, int uid)
      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

      int triggerTranscode(String token, String channel, int uid)
      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.