Class StreamReceiverBase
Implements
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.RenderStreaming
Assembly: Unity.RenderStreaming.dll
Syntax
public abstract class StreamReceiverBase : MonoBehaviour, IStreamReceiver
Properties
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 |
Transceiver
Declaration
public RTCRtpTransceiver Transceiver { get; }
Property Value
Type | Description |
---|---|
RTCRtpTransceiver |
isPlaying
Declaration
public bool isPlaying { get; }
Property Value
Type | Description |
---|---|
bool |
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 |