MediaStream

tee3.webrtc

## 类 MediaStream

- java.lang.Object
- - tee3.webrtc.MediaStream

-     public class MediaStream
      extends java.lang.Object

  Java wrapper for a C++ MediaStreamInterface.

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `java.util.List<AudioTrack>` | `audioTracks`
    `java.util.List<VideoTrack>` | `preservedVideoTracks`
    `java.util.List<VideoTrack>` | `videoTracks`

  - ### 构造器概要

    构造器
    构造器和说明
    `MediaStream(long nativeStream)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `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()`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 字段详细资料

    - #### audioTracks

          public final java.util.List<AudioTrack> audioTracks

    - #### videoTracks

          public final java.util.List<VideoTrack> videoTracks

    - #### preservedVideoTracks

          public final java.util.List<VideoTrack> preservedVideoTracks

  - ### 构造器详细资料

    - #### MediaStream

          public MediaStream(long nativeStream)

  - ### 方法详细资料

    - #### addTrack

          public boolean addTrack(AudioTrack track)

    - #### addTrack

          public boolean addTrack(VideoTrack track)

    - #### addPreservedTrack

          public boolean addPreservedTrack(VideoTrack track)

    - #### removeTrack

          public boolean removeTrack(AudioTrack track)

    - #### removeTrack

          public boolean removeTrack(VideoTrack track)

    - #### dispose

          public void dispose()

    - #### getId

          public java.lang.String getId()

    - #### toString

          public java.lang.String toString()

      覆盖:
        `toString` 在类中 `java.lang.Object`