Interface IJoinOptions

Options for joining the channel.

Since
   4.24.0

Hierarchy

  • IJoinOptions

Index

Properties

Properties

Optional autoSubscribe

autoSubscribe: boolean

Whether to automatically subscribe to the media stream of the broadcaster.

  • true: Yes
  • false: (Default) No

In one-to-one or one-to-more real-time engagement scenarios, setting this parameter as true reduces the time duration for rendering the first video frame of the broadcaster.

Note: Once you set autoSubscribe as true, the server will start streaming media once the user joins the channel, and billing will begin.