VideoSubscriptionOptions

Used to configure video subscription options.

public class VideoSubscriptionOptions {
  public enum REMOTE_VIDEO_STREAM_TYPE {
    REMOTE_VIDEO_STREAM_HIGH,
    REMOTE_VIDEO_STREAM_LOW
  }
  private REMOTE_VIDEO_STREAM_TYPE streamType;
  private Boolean encodedFrameOnly;
}

Properties

streamType
The type of video stream to subscribe to. Default is REMOTE_VIDEO_STREAM_HIGH, which means subscribing to the high-quality stream. See REMOTE_VIDEO_STREAM_TYPE.
encodedFrameOnly
Whether to subscribe only to encoded video frames:
  • true: Subscribe only to encoded video data (structured data). The SDK does not decode or render raw video data.
  • false: Subscribe to both raw and encoded video data (default).