SubscriberNetworkStats

public struct SubscriberNetworkStats : Encodable

Statistics about incoming network traffic during a video visit call

  • The number of packets successfully received

    Declaration

    Swift

    public var packetsReceived: UInt64
  • The number of packets that were sent but we did not receive

    Declaration

    Swift

    public var packetsLost: UInt64
  • The total number of bytes received during the video conference

    Declaration

    Swift

    public var bytesReceived: UInt64
  • The average network bandwidth (speed) that the conference is handling. This is calculated and updated in 3 second intervals throughout the video conference. After the conference ends, this value represents the network bandwidth of the final 3 second interval. This value only represents incoming bandwidth. The value is in bits per second.

    Declaration

    Swift

    public var bandwidthBitsPerSecond: UInt64
  • The percentage of packets lost to the total number of packets sent to us.

    Declaration

    Swift

    public var packetLossRatio: Double
  • Last date time the update happened in UTC:0

    Declaration

    Swift

    public var lastUpdated: Date { get }
  • Default init

    Declaration

    Swift

    public init()
  • Custom encoder for sending network stats

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws