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

LocalStream is a Stream that created by current client. More...

Inheritance diagram for LocalStream:
Collaboration diagram for LocalStream:

Public Member Functions

 LocalStream (VideoCapturer videoCapturer)
 Create a LocalStream with video track ONLY. More...
 
 LocalStream (MediaConstraints.AudioTrackConstraints audioMediaConstraints)
 Create a LocalStream with audio track ONLY. More...
 
 LocalStream (VideoCapturer videoCapturer, MediaConstraints.AudioTrackConstraints audioMediaConstraints)
 Create a LocalStream with a video track and an audio track. More...
 
String id ()
 Id of the LocalStream. More...
 
void dispose ()
 Close and dispose all the sources associated with the LocalStream. 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...
 

Public Attributes

final int resolutionWidth
 

Additional Inherited Members

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

Detailed Description

LocalStream is a Stream that created by current client.

Constructor & Destructor Documentation

LocalStream ( VideoCapturer  videoCapturer)
inline

Create a LocalStream with video track ONLY.

Parameters
videoCapturerVideoCapturer that the video content is captured from.
LocalStream ( MediaConstraints.AudioTrackConstraints  audioMediaConstraints)
inline

Create a LocalStream with audio track ONLY.

Parameters
audioMediaConstraintsAudio options for the audio track.
LocalStream ( VideoCapturer  videoCapturer,
MediaConstraints.AudioTrackConstraints  audioMediaConstraints 
)
inline

Create a LocalStream with a video track and an audio track.

Parameters
videoCapturerVideoCapturer that the video content is captured from.
audioMediaConstraintsAudio options for the audio track.

Here is the call graph for this function:

Member Function Documentation

void dispose ( )
inline

Close and dispose all the sources associated with the LocalStream.

ATTENTION: Be sure that there is no active Publication using this LocalStream before calling this method.

Here is the call graph for this function:

String id ( )
inline

Id of the LocalStream.

Returns
id of LocalStream.

Here is the caller graph for this function: