|
Webrtc Unity Plugin
v01
Cross-platform Webrtc support for Unity apps ☁🎲
|
This SHOULD NOT BE USED FOR PRODUCTION. More...
Public Attributes | |
| WebrtcPeerEvents | peerEventsInstance |
| The peer event frontend instance that we will control More... | |
| Button | addLocalStream |
| The button that enables local streams to be activated More... | |
| Button | createOffer |
| The button that creates an sdp offer More... | |
| InputField | offerText |
| The text field that will display the sdp offer More... | |
| Button | createAnswer |
| The button that creates an sdp answer More... | |
| InputField | answerText |
| The text field that will display the sdp offer More... | |
| InputField | localCandidates |
| The text field that will display local trickle-ice candidates as they are tested More... | |
| InputField | remoteCandidates |
| The text field that accepts remote ice candidates More... | |
| Button | submitRemoteCandidates |
| The button that submits the data entered in remoteCandidates More... | |
This SHOULD NOT BE USED FOR PRODUCTION.
This is a sample implementation of signalling behaviours driven by ui interactions. It is designed to behave similarly to https://webrtc.github.io/samples/src/content/peerconnection/munge-sdp/
| Button UnityWebrtc.WebrtcUIControls.addLocalStream |
The button that enables local streams to be activated
This effectively enables local av
| InputField UnityWebrtc.WebrtcUIControls.answerText |
The text field that will display the sdp offer
| Button UnityWebrtc.WebrtcUIControls.createAnswer |
The button that creates an sdp answer
A value should be set in offerText before calling
| Button UnityWebrtc.WebrtcUIControls.createOffer |
The button that creates an sdp offer
| InputField UnityWebrtc.WebrtcUIControls.localCandidates |
The text field that will display local trickle-ice candidates as they are tested
| InputField UnityWebrtc.WebrtcUIControls.offerText |
The text field that will display the sdp offer
| WebrtcPeerEvents UnityWebrtc.WebrtcUIControls.peerEventsInstance |
The peer event frontend instance that we will control
| InputField UnityWebrtc.WebrtcUIControls.remoteCandidates |
The text field that accepts remote ice candidates
Needed for network negotiations
| Button UnityWebrtc.WebrtcUIControls.submitRemoteCandidates |
The button that submits the data entered in remoteCandidates