VideoSubscriptionOptions

Video subscription settings.

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

Properties

type
Type of video stream to subscribe to. Default is VideoStreamHigh, i.e., subscribe to the high-quality video stream. See VideoStreamType.
encodedFrameOnly
Whether to subscribe only to the encoded video stream:
  • true: Subscribe only to encoded video data (structured data), the SDK does not decode or render the video.
  • false: (Default) Subscribe to both raw and encoded video data.