PeerStream Class Reference
| Inherits from | NSObject | 
|---|---|
| Declared in | peer_stream.h peer_stream.mm | 
– getId
	
		Get peer identifier of this stream
- (NSString *)getIdReturn 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)isLocalReturn 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)hasMediaReturn 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 *)getMediaReturn 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 *)labelParameters
| (NSString) | label. The DataStream label | 
|---|
Return Value
(DataStream).
Discussion
Open a data stream whith this peer.
Declared In
peer_stream.h