Package io.getstream.video.android.core
Class MediaManagerImpl
-
- All Implemented Interfaces:
public final class MediaManagerImplWrap all the audio/video interactions This makes it easier to test our codebase
This class knows about audio/ video. It shouldn't be aware of webrtc tracks. Those are handled in the RtcSession
-
-
Field Summary
Fields Modifier and Type Field Description private final VideoSourcevideoSourceprivate final VideoSourcescreenShareVideoSourceprivate final VideoTrackvideoTrackprivate final VideoTrackscreenShareTrackprivate final AudioSourceaudioSourceprivate final AudioTrackaudioTrackprivate final Contextcontextprivate final Callcallprivate final CoroutineScopescopeprivate final EglBase.ContexteglBaseContextprivate final IntegeraudioUsage
-
Constructor Summary
Constructors Constructor Description MediaManagerImpl(Context context, Call call, CoroutineScope scope, EglBase.Context eglBaseContext, Integer audioUsage)
-
Method Summary
Modifier and Type Method Description final VideoSourcegetVideoSource()final VideoSourcegetScreenShareVideoSource()final VideoTrackgetVideoTrack()final VideoTrackgetScreenShareTrack()final AudioSourcegetAudioSource()final AudioTrackgetAudioTrack()final ContextgetContext()final CallgetCall()final CoroutineScopegetScope()final EglBase.ContextgetEglBaseContext()final IntegergetAudioUsage()final Unitcleanup()-
-
Method Detail
-
getVideoSource
final VideoSource getVideoSource()
-
getScreenShareVideoSource
final VideoSource getScreenShareVideoSource()
-
getVideoTrack
final VideoTrack getVideoTrack()
-
getScreenShareTrack
final VideoTrack getScreenShareTrack()
-
getAudioSource
final AudioSource getAudioSource()
-
getAudioTrack
final AudioTrack getAudioTrack()
-
getContext
final Context getContext()
-
getScope
final CoroutineScope getScope()
-
getEglBaseContext
final EglBase.Context getEglBaseContext()
-
getAudioUsage
final Integer getAudioUsage()
-
-
-
-