SKYLINKConnectionRemotePeerDelegate Protocol Reference
Conforms to | NSObject |
Declared in | SKYLINKConnection.h |
Instance Methods
connection:didJoinPeer:peerId:
When a remote peer joins the room.
- (void)connection:(SKYLINKConnection *)connection didJoinPeer:(id)userInfo peerId:(NSString *)peerId
Parameters
- connection
The underlying connection object.
- userInfo
User defined information. May be an NSString, NSDictionary or NSArray.
- peerId
The unique id of the joining peer.
Declared In
SKYLINKConnection.h
connection:didLeavePeerWithMessage:peerId:
When a peer has left the room implictly or explicitly.
- (void)connection:(SKYLINKConnection *)connection didLeavePeerWithMessage:(NSString *)errorMessage peerId:(NSString *)peerId
Parameters
- connection
The underlying connection object.
- errorMessage
Error message in case the peer is left due to some error.
- peerId
The unique id of the leaving peer.
Declared In
SKYLINKConnection.h
connection:didReceiveUserInfo:peerId:
Upon receiving an update about a user info.
- (void)connection:(SKYLINKConnection *)connection didReceiveUserInfo:(id)userInfo peerId:(NSString *)peerId
Parameters
- connection
The underlying connection object.
- userInfo
User defined information. May be an NSString, NSDictionary or NSArray.
- peerId
The unique id of the peer.
Declared In
SKYLINKConnection.h
connection:didRenderPeerVideo:peerId:
Upon receiving a remote video stream.
- (void)connection:(SKYLINKConnection *)connection didRenderPeerVideo:(UIView *)peerVideoView peerId:(NSString *)peerId
Parameters
- connection
The underlying connection object.
- peerVideoView
The video view of the joining peer.
- peerId
The unique id of the peer.
Declared In
SKYLINKConnection.h