MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
millicast::WebrtcRemoteTrack::MidUpdated Struct Reference

#include <track.h>

Public Attributes

std::optional< std::string > mid
 

Detailed Description

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.

Member Data Documentation

◆ mid

std::optional<std::string> millicast::WebrtcRemoteTrack::MidUpdated::mid

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