Package tvi.webrtc
Class MediaSource
- java.lang.Object
-
- tvi.webrtc.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
protected long
getNativeMediaSource()
Returns a pointer to webrtc::MediaSourceInterface.MediaSource.State
state()
-
-
-
Method Detail
-
state
public MediaSource.State state()
-
dispose
public void dispose()
-
getNativeMediaSource
protected long getNativeMediaSource()
Returns a pointer to webrtc::MediaSourceInterface.
-
-