Class SignalingManager
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
[AddComponentMenu("Render Streaming/Signaling Manager")]
public sealed class SignalingManager : MonoBehaviour
Fields
evaluateCommandlineArguments
Declaration
[SerializeField]
[Tooltip("Evaluate commandline arguments if launching runtime on the command line.")]
public bool evaluateCommandlineArguments
Field Value
Type | Description |
---|---|
Boolean |
runOnAwake
Declaration
[SerializeField]
[Tooltip("Automatically started when called Awake method.")]
public bool runOnAwake
Field Value
Type | Description |
---|---|
Boolean |
Properties
Running
Declaration
public bool Running { get; }
Property Value
Type | Description |
---|---|
Boolean |
useDefaultSettings
Use settings in Project Settings.
Declaration
public bool useDefaultSettings { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
AddSignalingHandler(SignalingHandlerBase)
Declaration
public void AddSignalingHandler(SignalingHandlerBase handlerBase)
Parameters
Type | Name | Description |
---|---|---|
SignalingHandlerBase | handlerBase |
GetSignalingSettings()
Declaration
public SignalingSettings GetSignalingSettings()
Returns
Type | Description |
---|---|
SignalingSettings |
RemoveSignalingHandler(SignalingHandlerBase)
Declaration
public void RemoveSignalingHandler(SignalingHandlerBase handlerBase)
Parameters
Type | Name | Description |
---|---|---|
SignalingHandlerBase | handlerBase |
Run(ISignaling, SignalingHandlerBase[])
Declaration
public void Run(ISignaling signaling = null, SignalingHandlerBase[] handlers = null)
Parameters
Type | Name | Description |
---|---|---|
ISignaling | signaling | |
SignalingHandlerBase[] | handlers |
Run(RTCConfiguration, ISignaling, SignalingHandlerBase[])
Declaration
public void Run(RTCConfiguration conf, ISignaling signaling = null, SignalingHandlerBase[] handlers = null)
Parameters
Type | Name | Description |
---|---|---|
RTCConfiguration | conf | |
ISignaling | signaling | |
SignalingHandlerBase[] | handlers |
Remarks
To use this method, Need to depend WebRTC package
SetSignalingSettings(SignalingSettings)
Declaration
public void SetSignalingSettings(SignalingSettings settings)
Parameters
Type | Name | Description |
---|---|---|
SignalingSettings | settings |
Exceptions
Type | Condition |
---|---|
InvalidOperationException |
Stop()
Declaration
public void Stop()