SKYLINKConnectionStatsDelegate Protocol Reference

Conforms to NSObject
Declared in SKYLINKConnection.h

Overview

Delegate methods are called on the main thread.

– connection:didGetWebRTCStats:forPeerId:mediaDirection:

Called upon webRTC stats delivery.

- (void)connection:(SKYLINKConnection *)connection didGetWebRTCStats:(NSDictionary *)stats forPeerId:(NSString *)peerId mediaDirection:(int)mediaDirection

Parameters

connection

The underlying connection object.

stats

A dictionary with stats name as keys and values as NSString values.

peerId

The unique id of the peer.

mediaDirection

int indicating the related media direction (mediaSent: 1, mediaReceived: 2).

Declared In

SKYLINKConnection.h