Search Results for

    Show / Hide Table of Contents

    Class MediaSenderReport

    Media sender report.

    Inheritance
    System.Object
    Report
    MediaComponentReport
    MediaSenderReport
    Inherited Members
    MediaComponentReport.NackCount
    MediaComponentReport.PliCount
    MediaComponentReport.FirCount
    MediaComponentReport.LrrCount
    MediaComponentReport.SliCount
    Report.ProcessBoolean(Boolean, Boolean)
    Report.ProcessShort(Int16, Int16)
    Report.ProcessInteger(Int32, Int32)
    Report.ProcessLong(Int64, Int64)
    Report.ProcessFloat(Single, Single)
    Report.ProcessDouble(Double, Double)
    Report.ProcessString(String, String)
    Report.ProcessBooleanArray(Boolean[], Boolean[])
    Report.ProcessShortArray(Int16[], Int16[])
    Report.ProcessIntegerArray(Int32[], Int32[])
    Report.ProcessLongArray(Int64[], Int64[])
    Report.ProcessFloatArray(Single[], Single[])
    Report.ProcessFloatArray(Double[], Double[])
    Report.ProcessObject<T>(T, T)
    Report.ProcessArray<T>(T[], T[])
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class MediaSenderReport : MediaComponentReport

    Constructors

    MediaSenderReport()

    Initializes a new instance of the MediaSenderReport class.

    Declaration
    public MediaSenderReport()

    Properties

    BytesSent

    Gets or sets the number of bytes sent.

    Declaration
    public long? BytesSent { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    PacketsSent

    Gets or sets the number of packets sent.

    Declaration
    public long? PacketsSent { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    RoundTripTime

    Gets or sets the round-trip-time in milliseconds.

    Declaration
    public int? RoundTripTime { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Methods

    DeserializeProperties(String, String)

    Deserializes the properties.

    Declaration
    protected override void DeserializeProperties(string key, string valueJson)
    Parameters
    Type Name Description
    System.String key

    The key.

    System.String valueJson

    The value in JSON format.

    Overrides
    MediaComponentReport.DeserializeProperties(String, String)

    FromJson(String)

    Deserializes an instance from JSON.

    Declaration
    public static MediaSenderReport FromJson(string mediaSenderReportJson)
    Parameters
    Type Name Description
    System.String mediaSenderReportJson

    The serialized JSON.

    Returns
    Type Description
    MediaSenderReport

    The deserialized instance.

    FromJsonArray(String)

    Deserializes an array from JSON.

    Declaration
    public static MediaSenderReport[] FromJsonArray(string mediaSenderReportsJson)
    Parameters
    Type Name Description
    System.String mediaSenderReportsJson

    The serialized JSON.

    Returns
    Type Description
    MediaSenderReport[]

    The deserialized array.

    SerializeProperties(Dictionary<String, String>)

    Serializes the properties.

    Declaration
    protected override void SerializeProperties(Dictionary<string, string> jsonObject)
    Parameters
    Type Name Description
    Dictionary<System.String, System.String> jsonObject

    The JSON object.

    Overrides
    MediaComponentReport.SerializeProperties(Dictionary<String, String>)

    ToJson()

    Serializes this instance to JSON.

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    ToJson(MediaSenderReport)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(MediaSenderReport mediaSenderReport)
    Parameters
    Type Name Description
    MediaSenderReport mediaSenderReport

    The instance to serialize.

    Returns
    Type Description
    System.String

    The serialized JSON.

    ToJsonArray(MediaSenderReport[])

    Serializes an array to JSON.

    Declaration
    public static string ToJsonArray(MediaSenderReport[] mediaSenderReports)
    Parameters
    Type Name Description
    MediaSenderReport[] mediaSenderReports

    The array to serialize.

    Returns
    Type Description
    System.String

    The serialized JSON.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0