Class SfuDownstreamConnection
An SFU receiving connection.
Inheritance
System.Object
SfuDownstreamConnection
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class SfuDownstreamConnection : SfuConnection
Properties
RemoteConnectionInfo
Gets the remote connection information, if available.
Declaration
public ConnectionInfo RemoteConnectionInfo { get; }
Property Value
| Type | Description |
|---|---|
| ConnectionInfo |
Methods
DisableVideo(ConnectionConfig)
Disable this connections video in the connection config.
Declaration
protected override void DisableVideo(ConnectionConfig config)
Parameters
| Type | Name | Description |
|---|---|---|
| ConnectionConfig | config |
Overrides
DoCreateOfferMessage(SessionDescription)
Creates an offer message.
Declaration
protected override Message DoCreateOfferMessage(SessionDescription offer)
Parameters
| Type | Name | Description |
|---|---|---|
| SessionDescription | offer | The offer. |
Returns
| Type | Description |
|---|---|
| Message |
Overrides
DoCreateUseWebSocketServiceMessage()
Create the message to use WebSockets for media
Declaration
protected override Message DoCreateUseWebSocketServiceMessage()
Returns
| Type | Description |
|---|---|
| Message |
Overrides
EnableVideo(ConnectionConfig)
Enable this connections video in the connection config.
Declaration
protected override void EnableVideo(ConnectionConfig config)
Parameters
| Type | Name | Description |
|---|---|---|
| ConnectionConfig | config |
Overrides
IsMediaDirectionAllowed(String)
Gets a value indicating whether the given media direction is allowed for this connection.
Declaration
protected override bool IsMediaDirectionAllowed(string direction)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | direction | The direction. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
SendMediaIntent()
Sends Media Intent for this connection.
Declaration
protected override void SendMediaIntent()
Overrides
SetExpectedVideoProfile(VideoProfile)
Sets the expected video profile for this SFU downstream connection when using remote MediaIds to optimize media server resource utilization.
Declaration
public void SetExpectedVideoProfile(VideoProfile videoResolution)
Parameters
| Type | Name | Description |
|---|---|---|
| VideoProfile | videoResolution | The expected video profile (width, height and frame rate). |