SKYLINKConnectionMediaDelegate Protocol Reference

Conforms to NSObject
Declared in SKYLINKConnection.h

Overview

The delegate to receive events related to media i.e. audio/video.

– connection:didChangeVideoSize:videoView:

When the dimension of the video view are changed.

- (void)connection:(SKYLINKConnection *)connection didChangeVideoSize:(CGSize)videoSize videoView:(UIView *)videoView

Parameters

connection

The underlying connection object.

videoSize

The size of the respective video.

videoView

The video view for which the size was sent.

Declared In

SKYLINKConnection.h

– connection:didToggleAudio:peerId:

When a peer mutes/unmutes its audio.

- (void)connection:(SKYLINKConnection *)connection didToggleAudio:(BOOL)isMuted peerId:(NSString *)peerId

Parameters

connection

The underlying connection object.

isMuted

Flag to specify whether the audio is muted.

peerId

The unique id of the peer.

Declared In

SKYLINKConnection.h

– connection:didToggleVideo:peerId:

When a peer mutes/unmutes its video.

- (void)connection:(SKYLINKConnection *)connection didToggleVideo:(BOOL)isMuted peerId:(NSString *)peerId

Parameters

connection

The underlying connection object.

isMuted

Flat to specify whether the video is muted.

peerId

The unique id of the peer.

Declared In

SKYLINKConnection.h