Package io.agora.rtc2

Class RtcEngineInternal


public abstract class RtcEngineInternal extends RtcEngineEx
  • Constructor Details

    • RtcEngineInternal

      public RtcEngineInternal()
  • Method Details

    • setProfile

      public abstract int setProfile(String profile, boolean merge)
    • enableTransportQualityIndication

      public abstract int enableTransportQualityIndication(boolean enabled)
    • makeQualityReportUrl

      public abstract String makeQualityReportUrl(String channel, String listenerUid, String speakerUid, int format)
    • updateSharedContext

      public abstract int updateSharedContext(EGLContext sharedContext)
      Shared context of MediaCodec. Only takes effect when using the hardware encoder and texture as the input source.
      Parameters:
      sharedContext - Shared context
      Returns:
      int
    • updateSharedContext

      public abstract int updateSharedContext(android.opengl.EGLContext sharedContext)
    • setTextureId

      public abstract int setTextureId(int id, EGLContext eglContext, int width, int height, long ts)
      Sets the texture ID to MediaCodec.
      Parameters:
      id - : Texture ID
      eglContext - : eglContext which the texture belongs to
      width - Texture's original width
      height - Texture's original height
      ts - Timestamp of the captured frame (ms)
      Returns:
      Texture ID
    • setTextureId

      public abstract int setTextureId(int id, android.opengl.EGLContext eglContext, int width, int height, long ts)
    • monitorAudioRouteChange

      public abstract int monitorAudioRouteChange(boolean isMonitoring)

      Enables the audio routing monitoring by the SDK.

      Call before joining a channel.

      Parameters:
      isMonitoring - : Default value is true
      Returns:
    • setApiCallMode

      public abstract int setApiCallMode(int syncCallTimeout)
      Parameters:
      syncCallTimeout - : Synchronous or asynchronous mode -1: Asynchronous mode >=0: Synchronous mode, timeout (ms)