Rate this page:

InboundVideoStats

Class that represents statistics for an incoming RemoteVideoStream.

Methods

toString
Copy URL
fun toString(): 

String

A string representation of the object.

Returns

  • type:

    String

Props

bytesReceived
Copy URL
var bytesReceived: 

Long

Total number of bytes received within the video stream.

Returns

  • type:

    Long

codec
Copy URL
var codec: 

String?

Video codec name for the video stream, e.g. "VP8".

Returns

  • type:

    String?

fps
Copy URL
var fps: 

Int

The number of complete frames in the last second.

Returns

  • type:

    Int

frameHeight
Copy URL
var frameHeight: 

Int

Video frame height received within the video stream at the moment when the statistics are collected.

Returns

  • type:

    Int

frameWidth
Copy URL
var frameWidth: 

Int

Video frame width received within the video stream at the moment when the statistics are collected.

Returns

  • type:

    Int

packetsLost
Copy URL
var packetsLost: 

Int

Total number of video packets lost for the video stream.

Returns

  • type:

    Int

packetsReceived
Copy URL
var packetsReceived: 

Long

Total number of packets received within the video stream.

Returns

  • type:

    Long

source
Copy URL
var source: 

VideoStreamType

Type of the video stream.

Returns

streamId
Read-only
Copy URL
val streamId: 

String

Id of the stream.

Returns

  • type:

    String

Rate this page: