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 encoded video streams:
  • true: Subscribe only to encoded video data (structured data); the SDK does not decode or render this video data.
  • false: (Default) Subscribe to both raw and encoded video data.