public class MediaStream
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<AudioTrack> |
audioTracks |
java.util.List<VideoTrack> |
preservedVideoTracks |
java.util.List<VideoTrack> |
videoTracks |
Constructor and Description |
---|
MediaStream(long nativeStream) |
Modifier and Type | Method and Description |
---|---|
boolean |
addPreservedTrack(VideoTrack track) |
boolean |
addTrack(AudioTrack track) |
boolean |
addTrack(VideoTrack track) |
void |
dispose() |
java.lang.String |
getId() |
boolean |
removeTrack(AudioTrack track) |
boolean |
removeTrack(VideoTrack track) |
java.lang.String |
toString() |
public final java.util.List<AudioTrack> audioTracks
public final java.util.List<VideoTrack> videoTracks
public final java.util.List<VideoTrack> preservedVideoTracks
public boolean addTrack(AudioTrack track)
public boolean addTrack(VideoTrack track)
public boolean addPreservedTrack(VideoTrack track)
public boolean removeTrack(AudioTrack track)
public boolean removeTrack(VideoTrack track)
public void dispose()
public java.lang.String getId()
public java.lang.String toString()
toString
in class java.lang.Object
6.4.1