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 VideoTrackvideoTrackprivate final AudioSourceaudioSourceprivate final AudioTrackaudioTrackprivate final Contextcontextprivate final Callcallprivate final CoroutineScopescopeprivate final EglBase.ContexteglBaseContext
-
Constructor Summary
Constructors Constructor Description MediaManagerImpl(Context context, Call call, CoroutineScope scope, EglBase.Context eglBaseContext)
-
Method Summary
Modifier and Type Method Description final VideoSourcegetVideoSource()final VideoTrackgetVideoTrack()final AudioSourcegetAudioSource()final AudioTrackgetAudioTrack()final ContextgetContext()final CallgetCall()final CoroutineScopegetScope()final EglBase.ContextgetEglBaseContext()final Unitcleanup()-
-
Method Detail
-
getVideoSource
final VideoSource getVideoSource()
-
getVideoTrack
final VideoTrack getVideoTrack()
-
getAudioSource
final AudioSource getAudioSource()
-
getAudioTrack
final AudioTrack getAudioTrack()
-
getContext
final Context getContext()
-
getScope
final CoroutineScope getScope()
-
getEglBaseContext
final EglBase.Context getEglBaseContext()
-
-
-
-