DirectCdnStreamingMediaOptions
Media options for the host.
export class DirectCdnStreamingMediaOptions {
publishCameraTrack?: boolean;
publishMicrophoneTrack?: boolean;
publishCustomAudioTrack?: boolean;
publishCustomVideoTrack?: boolean;
publishMediaPlayerAudioTrack?: boolean;
publishMediaPlayerId?: number;
customVideoTrackId?: number;
}
- Deprecated
- Deprecated since v4.6.2.
Properties
- publishCameraTrack
- Whether to publish video captured by the camera.
- true: Publish camera video.
- false: (Default) Do not publish camera video.
- publishMicrophoneTrack
- Whether to publish audio captured by the microphone.
- true: Publish microphone audio.
- false: (Default) Do not publish microphone audio.
- publishCustomAudioTrack
- Whether to publish custom captured audio.
- true: Publish custom audio.
- false: (Default) Do not publish custom audio.
- publishCustomVideoTrack
- Whether to publish custom captured video.
- true: Publish custom video.
- false: (Default) Do not publish custom video.
- customVideoTrackId
- The video track ID returned by the createCustomVideoTrack method. Default is 0.