MillicastSDK 2.0.0
|
A delegate to receive remote track related events. More...
#import <webrtc_remote_track.h>
Instance Methods | |
(void) | - webrtcRemoteTrackDisabled: |
(void) | - webrtcRemoteTrack:didUpdateMID: |
A delegate to receive remote track related events.
|
optional |
The event for updating the MID of the internal webrtc track.
The MID can be updated many times during the WebrtcRemoteTrack's life. When the track is being first enabled, the MID is set, and when the peer connection disconnects, the MID is reset to empty value. After reconnection or migration the MID may be set again, possibly to a different value.
The MID value should only be used by the application when interpreting the webrtc stats, the exact MID value at any time is not needed for any other functionality.
All tracks after their creation, before attempting to enable them, have empty MID.
|
optional |
The event for disabled state notification.
There's no "enabled" counterpart - the track is only projected in response to the application request - the application should set a continuation callback on the project API. The track can become disabled, meaning unprojected, due to external events (network problems, reconnection, migration, and similar.