DirectCdnStreamingMediaOptions
Media options for the host.
public class DirectCdnStreamingMediaOptions : OptionalJsonParse
{
public Optional<bool> publishCameraTrack = new Optional<bool>();
public Optional<bool> publishMicrophoneTrack = new Optional<bool>();
public Optional<bool> publishCustomAudioTrack = new Optional<bool>();
public Optional<bool> publishCustomVideoTrack = new Optional<bool>();
public Optional<bool> publishMediaPlayerAudioTrack = new Optional<bool>();
public Optional<int> publishMediaPlayerId = new Optional<int>();
public Optional<video_track_id_t> customVideoTrackId = new Optional<video_track_id_t>();
}
- Deprecated
- Deprecated since v4.6.2.
Properties
- publishCameraTrack
- Sets whether to publish the video captured by the camera.
- true: Publish camera-captured video.
- false: (Default) Do not publish camera-captured video.
- publishMicrophoneTrack
- Sets whether to publish the audio captured by the microphone.
- true: Publish microphone-captured audio.
- false: (Default) Do not publish microphone-captured audio.
- publishCustomAudioTrack
- Sets whether to publish custom-captured audio.
- true: Publish custom-captured audio.
- false: (Default) Do not publish custom-captured audio.
- publishCustomVideoTrack
- Sets whether to publish custom-captured video.
- true: Publish custom-captured video.
- false: (Default) Do not publish custom-captured video.
- customVideoTrackId
- The video track ID returned by the CreateCustomVideoTrack method. Default is 0.