SimovicIvan
SimovicIvan
implementation "io.livekit:livekit-android:2.0.0" io.github.webrtc-sdk:android-prefixed:114.5735.07@aar
On my Pixel 6 android 14, it is happening often. I did about 6 test calls, it crashed twice. The crash is a bit confusing because it happens a few...
private val peerConnectionFactory by lazy { buildPeerConnectionFactory() } val localVideoSource: VideoSource = peerConnectionFactory.createVideoSource(false) So I use that to create video sources. sorry about the confusion
I am sending video with custom VideoCapturer ``` private suspend fun startLocalVideo( context: Context ) { val localVideoSource = peerConnectionFactory.createVideoSource(false) val surfaceTextureHelper = SurfaceTextureHelper.create(Thread.currentThread().name, rootEglBase.eglBaseContext) videoCapturer = CustomVideoCapturer { ImageRepo.getInstance().getSegmentedImageForWebRTC()...
Is there a way I can get the capturerObserver from Livekit instead? or will i need to revert to 1.0 Livekit for now?
I am doing that :). the problem is my custom video capturer need access to capturerObserver to send frames. and I get that from PeerConnectionFactory. its all in the code...
Hmm, I am a bit confused as to what my CustomVideoCapturer is supposed to do then. I have a function on it called trySendToServer that I call with a delay...
I understand, thank you