Webrtc Unity Plugin  v01
Cross-platform Webrtc support for Unity apps ☁🎲
UnityWebrtc.IPeer Interface Reference
Inheritance diagram for UnityWebrtc.IPeer:
UnityWebrtc.IPeerImpl

Events

Action LocalDataChannelReady
 Event that occurs when the local data channel is ready More...
 
Action< string > DataFromDataChannelReady
 Event that occurs when data is available from the remote, sent via the data channel More...
 
Action< string > FailureMessage
 Event that occurs when a native failure occurs More...
 
AudioBusReadyHandler AudioBusReady
 Event that occurs when the audio bus is ready More...
 
I420FrameReadyHandler LocalI420FrameReady
 Event that occurs when a local frame is ready More...
 
I420FrameReadyHandler RemoteI420FrameReady
 Event that occurs when a remote frame is ready More...
 
Action< string, string > LocalSdpReadytoSend
 Event that occurs when a local SDP is ready to transmit More...
 
Action< string, int, string > IceCandiateReadytoSend
 Event that occurs when a local ice candidate is ready to transmit More...
 

Additional Inherited Members

- Public Member Functions inherited from UnityWebrtc.IPeerImpl
void ClosePeerConnection ()
 Close the peer connection More...
 
int GetUniqueId ()
 Get the unique id More...
 
void AddStream (bool audioOnly)
 Add a stream More...
 
void AddDataChannel ()
 Add a data channel More...
 
void CreateOffer ()
 Create an sdp offer More...
 
void CreateAnswer ()
 Create an sdp answer More...
 
void SendDataViaDataChannel (string data)
 Send data via the created data channel More...
 
void SetAudioControl (bool isMute, bool isRecord)
 Adjust audio controls More...
 
void SetRemoteDescription (string type, string sdp)
 Set the remote stream description More...
 
void AddIceCandidate (string candidate, int sdpMlineindex, string sdpMid)
 Add an ice candidate More...
 

Event Documentation

◆ AudioBusReady

AudioBusReadyHandler UnityWebrtc.IPeer.AudioBusReady

Event that occurs when the audio bus is ready

◆ DataFromDataChannelReady

Action<string> UnityWebrtc.IPeer.DataFromDataChannelReady

Event that occurs when data is available from the remote, sent via the data channel

◆ FailureMessage

Action<string> UnityWebrtc.IPeer.FailureMessage

Event that occurs when a native failure occurs

◆ IceCandiateReadytoSend

Action<string, int, string> UnityWebrtc.IPeer.IceCandiateReadytoSend

Event that occurs when a local ice candidate is ready to transmit

◆ LocalDataChannelReady

Action UnityWebrtc.IPeer.LocalDataChannelReady

Event that occurs when the local data channel is ready

◆ LocalI420FrameReady

I420FrameReadyHandler UnityWebrtc.IPeer.LocalI420FrameReady

Event that occurs when a local frame is ready

◆ LocalSdpReadytoSend

Action<string, string> UnityWebrtc.IPeer.LocalSdpReadytoSend

Event that occurs when a local SDP is ready to transmit

◆ RemoteI420FrameReady

I420FrameReadyHandler UnityWebrtc.IPeer.RemoteI420FrameReady

Event that occurs when a remote frame is ready


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