init Media
open suspend override fun initMedia(context: Context, lifecycleOwner: LifecycleOwner): Result<Boolean>
Initialize video and audio
初始化影像,音訊
Parameters
context
lifecycle Owner
gl Surface View
Provide a View for the SDK to use, display streaming video.
rotation
提供View給SDK使用,顯示串流影像