PeerStream Class Reference
Inherits from | NSObject |
---|---|
Declared in | peer_stream.h peer_stream.mm |
– getId
Get peer identifier of this stream
- (NSString *)getId
Return Value
(NSString).
Discussion
Get peer identifier of this stream
Declared In
peer_stream.h
– isLocal
Test if the peer stream is local or not.
- (BOOL)isLocal
Return Value
True if the peer stream is the local one.
Discussion
Test if the peer stream is local or not.
Declared In
peer_stream.h
– hasMedia
Test if peer stream contains a media stream
- (BOOL)hasMedia
Return Value
True if peer stream contains a media stream, false otherwise.
Discussion
Test if peer stream contains a media stream
Declared In
peer_stream.h
– getMedia
Get the media stream, if any.
- (MediaStream *)getMedia
Return Value
(MediaStream).
Discussion
Get the media stream, if any.
Declared In
peer_stream.h
– openDataChannel:
Open a data stream whith this peer.
- (DataStream *)openDataChannel:(NSString *)label
Parameters
(NSString) |
label. The DataStream label |
---|
Return Value
(DataStream).
Discussion
Open a data stream whith this peer.
Declared In
peer_stream.h