Intel® Collaboration Suite for WebRTC  version 4.3
Open WebRTC Toolkit (OWT) Client SDK for Android*
Stream Class Referenceabstract
Inheritance diagram for Stream:

Public Member Functions

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...
 

Protected Attributes

StreamSourceInfo streamSourceInfo = new StreamSourceInfo()
 

Member Function Documentation

void attach ( VideoSink  videoSink)
inline

Attach the video track of the media stream to videosink in order to display the video content.

Parameters
videoSinkVideoSink
void detach ( VideoSink  videoSink)
inline

Detach the video track of the media stream from a videosink.

Parameters
videoSinkVideoSink
StreamSourceInfo getStreamSourceInfo ( )
inline

Get the StreamSourceInfo of the Stream.

Returns
StreamSourceInfo

Here is the caller graph for this function:

boolean hasAudio ( )
inline

Whether this Stream has an audio track.

Returns
true if it has an audio track; otherwise, false.

Here is the caller graph for this function:

boolean hasVideo ( )
inline

Whether this Stream has a video track.

Returns
true if it has a video track; otherwise, false.

Here is the caller graph for this function:

void setAttributes ( HashMap< String, String >  attributes)
inline

Set attributes for the Stream.

Parameters
attributesattributes to be set.

Here is the caller graph for this function: