![]() |
Intel® Collaboration Suite for WebRTC
version 4.3
Open WebRTC Toolkit (OWT) Client SDK for Android*
|
LocalStream is a Stream that created by current client. More...
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... | |
![]() | |
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 | |
![]() | |
StreamSourceInfo | streamSourceInfo = new StreamSourceInfo() |
LocalStream is a Stream that created by current client.
|
inline |
Create a LocalStream with video track ONLY.
videoCapturer | VideoCapturer that the video content is captured from. |
|
inline |
Create a LocalStream with audio track ONLY.
audioMediaConstraints | Audio options for the audio track. |
|
inline |
Create a LocalStream with a video track and an audio track.
videoCapturer | VideoCapturer that the video content is captured from. |
audioMediaConstraints | Audio options for the audio track. |
|
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.
|
inline |