Interface IRenderStreamingHandler
Assembly: Unity.RenderStreaming.dll
Syntax
public interface IRenderStreamingHandler
Methods
Declaration
RTCRtpTransceiver AddTransceiver(string connectionId, MediaStreamTrack track, RTCRtpTransceiverInit init = null)
Parameters
Type |
Name |
Description |
string |
connectionId |
|
MediaStreamTrack |
track |
|
RTCRtpTransceiverInit |
init |
|
Returns
Type |
Description |
RTCRtpTransceiver |
|
AddTransceiver(string, TrackKind, RTCRtpTransceiverInit)
Declaration
RTCRtpTransceiver AddTransceiver(string connectionId, TrackKind kind, RTCRtpTransceiverInit init = null)
Parameters
Type |
Name |
Description |
string |
connectionId |
|
TrackKind |
kind |
|
RTCRtpTransceiverInit |
init |
|
Returns
Type |
Description |
RTCRtpTransceiver |
|
CreateChannel(string, string)
Declaration
RTCDataChannel CreateChannel(string connectionId, string label = null)
Parameters
Returns
Type |
Description |
RTCDataChannel |
|
CreateConnection(string)
Declaration
void CreateConnection(string connectionId)
Parameters
Type |
Name |
Description |
string |
connectionId |
|
DeleteConnection(string)
Declaration
void DeleteConnection(string connectionId)
Parameters
Type |
Name |
Description |
string |
connectionId |
|
ExistConnection(string)
Declaration
bool ExistConnection(string connectionId)
Parameters
Type |
Name |
Description |
string |
connectionId |
|
Returns
GetTransceivers(string)
Declaration
IEnumerable<RTCRtpTransceiver> GetTransceivers(string connectionId)
Parameters
Type |
Name |
Description |
string |
connectionId |
|
Returns
IsConnected(string)
Declaration
bool IsConnected(string connectionId)
Parameters
Type |
Name |
Description |
string |
connectionId |
|
Returns
IsStable(string)
Declaration
bool IsStable(string connection)
Parameters
Type |
Name |
Description |
string |
connection |
|
Returns
Declaration
void RemoveSenderTrack(string connectionId, MediaStreamTrack track)
Parameters
Type |
Name |
Description |
string |
connectionId |
|
MediaStreamTrack |
track |
|
SendAnswer(string)
Declaration
void SendAnswer(string connectionId)
Parameters
Type |
Name |
Description |
string |
connectionId |
|
SendOffer(string)
Declaration
void SendOffer(string connectionId)
Parameters
Type |
Name |
Description |
string |
connectionId |
|