On Media Active State Changed

Called whenever a peer's media changed its active state, either starting to transmit a signal or ending a currently active transmission. Connect to a Bind to On Media Active State Changed delegate node to handle this event for the specified room. Will not be called for the local player.
Name | Type | Description |
---|
Delegate | delegate | Connect to a Bind to On Media Active State Changed delegate node to get this event triggered every time a peer's media active state has changed. |
Outputs
Name | Type | Description |
---|
Exec | exec | |
Peer Id | integer | The id of the peer that added the media. |
Media | object | An object reference to the media that has changed its active state. |
Active | bool | The value indicates if the media state is changed to active (true), or if it has changed to not active (false) anymore. |
Room | object | The Room object reference for which the event was triggered. |