Intel® Collaboration Suite for WebRTC  version 4.3
Open WebRTC Toolkit (OWT) Client SDK for Android*
RemoteStream Class Referenceabstract

RemoteStream is a Stream that sent to the current client from remote client. More...

Inheritance diagram for RemoteStream:
Collaboration diagram for RemoteStream:

Public Member Functions

String origin ()
 Id of the remote client that published this stream. More...
 
void addObserver (StreamObserver observer)
 Add a StreamObserver. More...
 
void removeObserver (StreamObserver observer)
 Remove a StreamObserver. More...
 
- Public Member Functions inherited from Stream
abstract String id ()
 
boolean hasVideo ()
 Whether this Stream has a video track. More...
 
boolean hasAudio ()
 Whether this Stream has an audio track. More...
 
StreamSourceInfo getStreamSourceInfo ()
 Get the StreamSourceInfo of the Stream. More...
 
void setAttributes (HashMap< String, String > attributes)
 Set attributes for the Stream. More...
 
void disableVideo ()
 Disable the video track of the Stream.
 
void enableVideo ()
 Enable the video track of the Stream.
 
void disableAudio ()
 Disable the audio track of the Stream.
 
void enableAudio ()
 Enable the audio track of the Stream.
 
void attach (VideoSink videoSink)
 Attach the video track of the media stream to videosink in order to display the video content. More...
 
void detach (VideoSink videoSink)
 Detach the video track of the media stream from a videosink. More...
 

Additional Inherited Members

- Protected Attributes inherited from Stream
StreamSourceInfo streamSourceInfo = new StreamSourceInfo()
 

Detailed Description

RemoteStream is a Stream that sent to the current client from remote client.

Member Function Documentation

void addObserver ( StreamObserver  observer)
inline

Add a StreamObserver.

Parameters
observerStreamObserver to be added.
String origin ( )
inline

Id of the remote client that published this stream.

Returns
id of remote client.
void removeObserver ( StreamObserver  observer)
inline

Remove a StreamObserver.

Parameters
observerStreamObserver to be removed.