SKYLINKConnectionRecordingDelegate Protocol Reference

Conforms to NSObject
Declared in SKYLINKConnection.h

Overview

This works only on Skylink Media Relay enabled App Keys. Delegate methods are called on the main thread.

– connection:recordingDidStartWithID:

Called upon recording start event.

- (void)connection:(SKYLINKConnection *)connection recordingDidStartWithID:(NSString *)recordingID

Parameters

connection

The underlying connection object.

recordingID

The id of the generated recording.

Discussion

Warning: This feature is in BETA.

This will be triggered after you call startRecording successfully.

Declared In

SKYLINKConnection.h

– connection:recordingDidStopWithID:

Called upon recording stop event.

- (void)connection:(SKYLINKConnection *)connection recordingDidStopWithID:(NSString *)recordingID

Parameters

connection

The underlying connection object.

recordingID

The id of the recording.

Discussion

Warning: This feature is in BETA.

This will be triggered after you call stopRecording successfully or if the backend notifies of recording stoped.

Declared In

SKYLINKConnection.h

– connection:recording:didError:

Called upon recording error event.

- (void)connection:(SKYLINKConnection *)connection recording:(NSString *)recordingID didError:(NSString *)errorMessage

Parameters

connection

The underlying connection object.

recordingID

The id of the recording (might be nil if unknown).

errorMessage

The error description as a string.

Discussion

Warning: This feature is in BETA.

Declared In

SKYLINKConnection.h

– connection:recordingVideoLink:peerId:recordingId:

Called upon recording completion event.

- (void)connection:(SKYLINKConnection *)connection recordingVideoLink:(NSString *)videoLink peerId:(NSString *)peerId recordingId:(NSString *)recordingId

Parameters

connection

The underlying connection object.

videoLink

The mixing recording URL as a string.

peerId

The peerId who’s recording the link is for. If nil then the URL is a mixin recording link.

recordingId

The id of the recording.

Discussion

Warning: This feature is in BETA.

For this to be called you need to make sure the app key used is configured for recording.

Declared In

SKYLINKConnection.h