Package tvi.webrtc

Class MediaSource

  • Direct Known Subclasses:
    AudioSource, VideoSource

    public class MediaSource
    extends java.lang.Object
    Java wrapper for a C++ MediaSourceInterface.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MediaSource.State
      Tracks MediaSourceInterface.SourceState
    • Constructor Summary

      Constructors 
      Constructor Description
      MediaSource​(long nativeSource)  
    • Constructor Detail

      • MediaSource

        public MediaSource​(long nativeSource)
    • Method Detail

      • dispose

        public void dispose()
      • getNativeMediaSource

        protected long getNativeMediaSource()
        Returns a pointer to webrtc::MediaSourceInterface.