The EnxRoom Class provides the following methods to access various room-related information.

Table of Contents

Get Publish Status of Local Stream

The Enx.isPublishing() method is used to check if the Local Stream is currently being published into the Room.

Class: Enx

Method: isPublishing() – No parameter required.

Result: Boolean.

if (Enx.isPublishing())  {
	// Stream is published
} else {
	// Stream is not published