MillicastSDK 2.0.0
Loading...
Searching...
No Matches
millicast::RtsRemoteTrack::Inactive Struct Reference

#include <track.h>

Detailed Description

The inactive state event indicates that the remote source publishing video/audio content is no longer active. In other words the publishers stream is no longer being sent to the server and is thus no longer viewable on the viewing client.

Note
The track is not disabled by the SDK when this event occurs. If the application wants to ensure the track will not automatically be played once the source becomes active it should call disable() when receiving this event. Then it is responsible for calling enable() on the Active event.
If the application does not disable on Inactive event, the track will automatically start playing when the remote source becomes Active.
This is not a sticky event. If the RtsTrack is inactive, attaching new event handler does not trigger it.

The documentation for this struct was generated from the following file: