setStreamerMediaProjection

protected open suspend fun setStreamerMediaProjection(streamer: T, mediaProjection: MediaProjection, extras: Bundle)

Sets the media projection to the streamer.

This method is called when onBind is called.

You can use it to set the audio and video sources

Parameters

streamer

the streamer of the service

mediaProjection

the media projection to set

extras

the extras bundle