![]() |
Intel® Collaboration Suite for WebRTC
version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for iOS*
|
Protocol for signaling channel. Developers may utilize their own signaling server by implementing this protocol. More...
#import <OWTP2PSignalingChannelProtocol.h>
Instance Methods | |
(void) | - connect:onSuccess:onFailure: |
Connect to the signaling server. More... | |
(void) | - sendMessage:to:onSuccess:onFailure: |
Send a message to a target client. More... | |
(void) | - disconnectWithOnSuccess:onFailure: |
Disconnect from signaling server. | |
Properties | |
id< OWTP2PSignalingChannelDelegate > | delegate |
Protocol for signaling channel. Developers may utilize their own signaling server by implementing this protocol.
- (void) connect: | (NSString *) | token | |
onSuccess: | (void(^)(NSString *)) | onSuccess | |
onFailure: | (void(^)(NSError *)) | onFailure | |
Connect to the signaling server.
token | A token used for connecting signaling server |
- (void) sendMessage: | (NSString *) | message | |
to: | (NSString *) | targetId | |
onSuccess: | (void(^)()) | onSuccess | |
onFailure: | (void(^)(NSError *)) | onFailure | |
Send a message to a target client.
message | Message needs to be send to signaling server |
targetId | Target user's ID. |