Inherits from NSObject
Declared in RespokeMediaStats.h

Overview

A report containing statistical information about the flow of media with the latest live statistics.

RespokeMediaStatsDelegate must be implemented to utilize statistics.

To start gathering statistics invoke [RespokeCall getStats]. To stop gathering statistics invoke [RespokeCall stopStats].

Tasks

Other Methods

private Methods

Properties

connection

@property (nonatomic, readonly) RespokeConnectionStats *connection
Discussion

Connection information.

Declared In

RespokeMediaStats.h

iceConnectionState

@property (nonatomic, readonly) RespokeICEConnectionState iceConnectionState
Discussion

Indicates where we are in terms of ICE network negotiation – “hole punching.”

Declared In

RespokeMediaStats.h

iceGatheringState

@property (nonatomic, readonly) RespokeICEGatheringState iceGatheringState
Discussion

Indicates whether we have started or finished gathering ICE candidates from the browser.

Declared In

RespokeMediaStats.h

localAudio

@property (nonatomic, readonly) RespokeLocalAudioStats *localAudio
Discussion

Local audio information.

Declared In

RespokeMediaStats.h

localVideo

@property (nonatomic, readonly) RespokeLocalVideoStats *localVideo
Discussion

Local video information.

Declared In

RespokeMediaStats.h

periodLength

@property (nonatomic, readonly) NSTimeInterval periodLength
Discussion

The time that has passed since the last stats snapshot was taken.

Declared In

RespokeMediaStats.h

remoteAudio

@property (nonatomic, readonly) RespokeRemoteAudioStats *remoteAudio
Discussion

Remote audio information.

Declared In

RespokeMediaStats.h

remoteVideo

@property (nonatomic, readonly) RespokeRemoteVideoStats *remoteVideo
Discussion

Remote video information.

Declared In

RespokeMediaStats.h

timestamp

@property (nonatomic, readonly) NSDate *timestamp
Discussion

The date and time at which this stats snapshot was taken.

Declared In

RespokeMediaStats.h

Instance Methods

initWithData:iceGatheringState:iceConnectionState:timestamp:oldMediaStats:

- (instancetype)initWithData:(NSArray *)stats iceGatheringState:(RTCICEGatheringState)gatheringState iceConnectionState:(RTCICEConnectionState)connectionState timestamp:(NSDate *)timestamp oldMediaStats:(RespokeMediaStats *)oldMediaStats