SKYLINKConnectionMediaDelegate Protocol Reference

Conforms to NSObject
Declared in SKYLINKConnection.h

Overview

Delegate methods are called on the main thread.

– connection:didChangeVideoSize:videoView:

Called when the dimensions of the video view are changed.

- (void)connection:(nonnull SKYLINKConnection *)connection didChangeVideoSize:(CGSize)videoSize videoView:(null_unspecified 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:

Called when a peer mutes/unmutes its audio.

- (void)connection:(nonnull SKYLINKConnection *)connection didToggleAudio:(BOOL)isMuted peerId:(null_unspecified 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:

Called when a peer mutes/unmutes its video.

- (void)connection:(nonnull SKYLINKConnection *)connection didToggleVideo:(BOOL)isMuted peerId:(null_unspecified 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