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:(nonnull SKYLINKConnection *)connection recordingDidStartWithID:(null_unspecified 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:(nonnull SKYLINKConnection *)connection recordingDidStopWithID:(null_unspecified 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:(nonnull SKYLINKConnection *)connection recording:(null_unspecified NSString *)recordingID didError:(null_unspecified 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:(nonnull SKYLINKConnection *)connection recordingVideoLink:(null_unspecified NSString *)videoLink peerId:(null_unspecified NSString *)peerId recordingId:(null_unspecified 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