VideoSubscriptionOptions

Video subscription options.

export class VideoSubscriptionOptions {
  
  type?: VideoStreamType;
  
  encodedFrameOnly?: boolean;
}

Attributes

type
The video stream type that you want to subscribe to. The default value is VideoStreamHigh, indicating that the high-quality video streams are subscribed. See VideoStreamType.
encodedFrameOnly
Whether to subscribe to encoded video frames only:
  • true: Subscribe to the encoded video data (structured data) only; the SDK does not decode or render raw video data.
  • false: (Default) Subscribe to both raw video data and encoded video data.