Package tvi.webrtc

Class MediaStream

java.lang.Object
tvi.webrtc.MediaStream

public class MediaStream extends Object
Java wrapper for a C++ MediaStreamInterface.
  • Field Details

  • Constructor Details

    • MediaStream

      public MediaStream(long nativeStream)
  • Method Details

    • 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 String getId()
    • toString

      public String toString()
      Overrides:
      toString in class Object