Class StreamReceiverBase
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
Namespace: Unity.RenderStreaming
Syntax
public abstract class StreamReceiverBase : MonoBehaviour, IStreamReceiver
Properties
isPlaying
Declaration
public bool isPlaying { get; }
Property Value
Type | Description |
---|---|
Boolean |
OnStartedStream
Declaration
public OnStartedStreamHandler OnStartedStream { get; set; }
Property Value
Type | Description |
---|---|
OnStartedStreamHandler |
OnStoppedStream
Declaration
public OnStoppedStreamHandler OnStoppedStream { get; set; }
Property Value
Type | Description |
---|---|
OnStoppedStreamHandler |
Track
Declaration
public MediaStreamTrack Track { get; }
Property Value
Type | Description |
---|---|
MediaStreamTrack |
Implements
Transceiver
Declaration
public RTCRtpTransceiver Transceiver { get; }
Property Value
Type | Description |
---|---|
RTCRtpTransceiver |
Implements
Methods
OnDestroy()
Declaration
protected virtual void OnDestroy()
SetTransceiver(String, RTCRtpTransceiver)
Declaration
public virtual void SetTransceiver(string connectionId, RTCRtpTransceiver transceiver)
Parameters
Type | Name | Description |
---|---|---|
String | connectionId | |
RTCRtpTransceiver | transceiver |