Webrtc Unity Plugin  v01
Cross-platform Webrtc support for Unity apps ☁🎲
UnityWebrtc.WebrtcUIControls Class Reference

This SHOULD NOT BE USED FOR PRODUCTION. More...

Inheritance diagram for UnityWebrtc.WebrtcUIControls:

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...
 

Detailed Description

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/

Member Data Documentation

◆ addLocalStream

Button UnityWebrtc.WebrtcUIControls.addLocalStream

The button that enables local streams to be activated

This effectively enables local av

◆ answerText

InputField UnityWebrtc.WebrtcUIControls.answerText

The text field that will display the sdp offer

◆ createAnswer

Button UnityWebrtc.WebrtcUIControls.createAnswer

The button that creates an sdp answer

A value should be set in offerText before calling

◆ createOffer

Button UnityWebrtc.WebrtcUIControls.createOffer

The button that creates an sdp offer

◆ localCandidates

InputField UnityWebrtc.WebrtcUIControls.localCandidates

The text field that will display local trickle-ice candidates as they are tested

◆ offerText

InputField UnityWebrtc.WebrtcUIControls.offerText

The text field that will display the sdp offer

◆ peerEventsInstance

WebrtcPeerEvents UnityWebrtc.WebrtcUIControls.peerEventsInstance

The peer event frontend instance that we will control

◆ remoteCandidates

InputField UnityWebrtc.WebrtcUIControls.remoteCandidates

The text field that accepts remote ice candidates

Needed for network negotiations

◆ submitRemoteCandidates

Button UnityWebrtc.WebrtcUIControls.submitRemoteCandidates

The button that submits the data entered in remoteCandidates


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