Class LogContext
LogContext structure to hold ambient properties that can be attached to log events.
Inheritance
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class LogContext
Properties
ApplicationId
Gets or sets the application Id.
Declaration
public string ApplicationId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BundleTransportId
Gets or sets the bundle transport Id.
Declaration
public string BundleTransportId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CandidateId
Gets or sets the candidate Id.
Declaration
public string CandidateId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CandidatePairId
Gets or sets the candidate pair Id.
Declaration
public string CandidatePairId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ChannelId
Gets or sets the channel Id.
Declaration
public string ChannelId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientId
Gets or sets the client Id.
Declaration
public string ClientId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClusterConnectionId
Gets or sets cluster connection Id.
Declaration
public string ClusterConnectionId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClusterSocketId
Gets or sets the cluster socket id.
Declaration
public string ClusterSocketId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ConnectionId
Gets or sets the connection Id.
Declaration
public string ConnectionId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DeviceId
Gets or sets the device Id.
Declaration
public string DeviceId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DtlsTransportId
Gets or sets DTLS Transport Id.
Declaration
public string DtlsTransportId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ExternalConnectionId
Gets or sets the external connection Id.
Declaration
public string ExternalConnectionId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GatewayId
Gets or sets the gateway Id.
Declaration
public string GatewayId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GathererId
Gets or sets the gatherer Id.
Declaration
public string GathererId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IceTransportId
Gets or sets the Ice transport Id.
Declaration
public string IceTransportId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Label
Gets or sets the Label.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MediaDescriptionManagerId
Gets or sets the media description manager Id.
Declaration
public string MediaDescriptionManagerId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MediaPipeId
Gets or sets the Media Pipe Id.
Declaration
public string MediaPipeId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MediaServerId
Gets or sets the media server Id.
Declaration
public string MediaServerId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MediaSourceId
Gets or sets the media source Id.
Declaration
public string MediaSourceId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RemoteConnectionId
Gets or sets the remote connection Id.
Declaration
public string RemoteConnectionId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RemoteMediaServerId
Gets or sets the remote media server Id.
Declaration
public string RemoteMediaServerId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RtpPacketId
Gets or sets RTP packet Id.
Declaration
public string RtpPacketId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RtpReceiverId
Gets or sets RTP Receiver Id.
Declaration
public string RtpReceiverId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RtpSenderId
Gets or sets RTP Sender Id.
Declaration
public string RtpSenderId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RtpTransportId
Gets or sets RTP Transport Id.
Declaration
public string RtpTransportId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SctpTrasnportId
Gets or sets the Sctp transport Id.
Declaration
public string SctpTrasnportId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SiteId
Gets or sets the site Id.
Declaration
public string SiteId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SocketManagerId
Gets or sets the socket manager Id.
Declaration
public string SocketManagerId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StreamId
Gets or sets the stream Id.
Declaration
public string StreamId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserId
Gets or sets the user Id.
Declaration
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WebhookUrl
Gets or sets the Webhook URL.
Declaration
public string WebhookUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WebSocketMediaServerConnectionId
Gets or sets the WSMS Connection ID.
Declaration
public string WebSocketMediaServerConnectionId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WebSocketMediaServerId
Gets or sets the websocket media server Id.
Declaration
public string WebSocketMediaServerId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clone()
Clones this object, creating a new instance with the same property values.
Declaration
public LogContext Clone()
Returns
Type | Description |
---|---|
LogContext | A new LogContext instance with the same properties as this instance. |
FromJson(String)
Deserializes json into a LogContext object.
///
Declaration
public static LogContext FromJson(string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | valueJson | Value to deserialize |
Returns
Type | Description |
---|---|
LogContext | Logcontext |
ToPairArray()
Returns a paired array rerpresentation of this log context.
Declaration
public string[][] ToPairArray()
Returns
Type | Description |
---|---|
System.String[][] |