isAutoPublish property

bool isAutoPublish
getter/setter pair

Whether to publish media streams automatically. The default is automatic publishing.

Invisible user cannot publish media streams regardless of the value of isAutoPublish. Only one of the rooms the user joined can be set to auto-publish. If no settings are made in each room, the stream is automatically published in the first room joined by default.

Implementation

bool isAutoPublish;