Skip to main content

OdinEvent_MediaActiveStateChangedData

Data structure for the OdinEvent_MediaActiveStateChanged event.

Declaration
typedef struct OdinEvent_MediaActiveStateChangedData {
uint64_t peer_id;
OdinMediaStreamHandle media_handle;
bool active;
} OdinEvent_MediaActiveStateChangedData;

Fields

peer_id

ID of the peer whose media state changed.

Declaration
uint64_t peer_id;

media_handle

Handle for the media stream.

Declaration
OdinMediaStreamHandle media_handle;

active

Indicates whether the media stream is active.

Declaration
bool active;