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

Provides video frame hooks for Webrtc More...

Inheritance diagram for UnityWebrtc.WebrtcPeerVideo:

Public Member Functions

void OnInitialized ()
 Initialization handler More...
 

Public Attributes

WebRtcVideoPlayer LocalPlayer
 Instance of a local video player which will have frame data written to it More...
 
WebRtcVideoPlayer RemotePlayer
 Instance of a remote video player which will have frame data written to it More...
 

Detailed Description

Provides video frame hooks for Webrtc

Member Function Documentation

◆ OnInitialized()

void UnityWebrtc.WebrtcPeerVideo.OnInitialized ( )

Initialization handler

TODO(bengreenier): This could be auto-bound with editor script

This is expected to be bound to Webrtc.OnInitialized via the UnityEditor

Member Data Documentation

◆ LocalPlayer

WebRtcVideoPlayer UnityWebrtc.WebrtcPeerVideo.LocalPlayer

Instance of a local video player which will have frame data written to it

◆ RemotePlayer

WebRtcVideoPlayer UnityWebrtc.WebrtcPeerVideo.RemotePlayer

Instance of a remote video player which will have frame data written to it


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