INNER CODE UNIT · TypeScript
VideoSubscriptionOptions
AgoraIO-Extensions/react-native-agora · src/AgoraBase.ts:1220
export class VideoSubscriptionOptions {
/**
* Type of video stream to subscribe to. Default is VideoStreamHigh, i.e., subscribe to the high-quality video stream. See VideoStreamType.
*/
type?: VideoStreamType;
/**
* 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.
*/
encodedFrameOnly?: boolean;
}
/**
* Maximum length of the user account.
*/
export enum MaxUserAccountLengthType {
/**
* The maximum length of the user account is 255 characters.
*/