Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ChannelMediaOptions

The channel media options.

Hierarchy

  • ChannelMediaOptions

Index

Properties

autoSubscribeAudio

autoSubscribeAudio: boolean

Determines whether to subscribe to audio streams when the user joins the channel:

  • true: (Default) Subscribe.
  • false: Do not subscribe.

This member serves a similar function to the muteAllRemoteAudioStreams method. After joining the channel, you can call the muteAllRemoteAudioStreams method to set whether to subscribe to audio streams in the channel.

autoSubscribeVideo

autoSubscribeVideo: boolean

Determines whether to subscribe to video streams when the user joins the channel:

  • true: (Default) Subscribe.
  • false: Do not subscribe.

This member serves a similar function to the muteAllRemoteVideoStreams method. After joining the channel, you can call the muteAllRemoteVideoStreams method to set whether to subscribe to video streams in the channel.

publishLocalAudio

publishLocalAudio: boolean

Determines whether to publish the local audio stream when the user joins a channel:

  • true: (Default) Publish.
  • false: Do not publish.

This member serves a similar function to the muteLocalAudioStream method. After the user joins the channel, you can call the muteLocalAudioStream method to set whether to publish the local audio stream in the channel.

since

v3.4.5

publishLocalVideo

publishLocalVideo: boolean

Determines whether to publish the local video stream when the user joins a channel:

  • true: (Default) Publish.
  • false: Do not publish.

This member serves a similar function to the muteLocalVideoStream method. After the user joins the channel, you can call the muteLocalVideoStream method to set whether to publish the local video stream in the channel.

since

v3.4.5