Skip to main content
Version: 20 Mar 2024

MLWebRTCConnectionEventCallbacks

The native representation of the MLWebRTC callback events.

Public Attributes

Context

Context pointer.


public IntPtr Context;


OnConnected

OnConnected event.


public OnConnectedDelegate OnConnected;

TypeDescription
OnConnectedDelegateDelegate describing the callback necessary to monitor if a connection has been made.

OnDataChannelReceived

OnDataChannelReceived event.


public OnDataChannelReceivedDelegate OnDataChannelReceived;

TypeDescription
OnDataChannelReceivedDelegateA delegate that describes the requirements of the OnDataChannelReceivedDelegate callback.

OnDisconnected

OnDisconnected event.


public OnDisconnectedDelegate OnDisconnected;

TypeDescription
OnDisconnectedDelegateDelegate describing the callback necessary to monitor if a disconnection has been made.

OnError

OnError event.


public OnErrorDelegate OnError;

TypeDescription
OnErrorDelegateDelegate describing the callback necessary to monitor errors.

OnIceGatheringCompleted

OnIceGatheringCompleted event.


public OnIceGatheringCompletedDelegate OnIceGatheringCompleted;

TypeDescription
OnIceGatheringCompletedDelegateDelegate describing the callback necessary to notify that all ICEs have been gathered.

OnLocalAnswerCreated

OnSendAnswer event.


public OnLocalAnswerCreatedDelegate OnLocalAnswerCreated;

TypeDescription
OnLocalAnswerCreatedDelegateDelegate describing the callback necessary to monitor when an answer to an offer is sent.

OnLocalIceCandidateFound

OnSendIceCandidate event.


public OnLocalIceCandidateFoundDelegate OnLocalIceCandidateFound;

TypeDescription
OnLocalIceCandidateFoundDelegateDelegate describing the callback necessary to monitor when an ice candidate is sent.

OnLocalOfferCreated

OnSendOffer event.


public OnLocalOfferCreatedDelegate OnLocalOfferCreated;

TypeDescription
OnLocalOfferCreatedDelegateDelegate describing the callback necessary to monitor when an offer is sent.

OnTrackAdded

OnTrackAdded event.


public OnTrackAddedDelegate OnTrackAdded;


OnTrackRemoved

OnTrackRemoved event.


public OnTrackRemovedDelegate OnTrackRemoved;


Version

Version of the struct.


public uint Version;