davidliu

Results 142 comments of davidliu

The point is you can pass in your CustomVideoCapturer to createVideoTrack without calling initialize. We will call initialize for you and supply you with the capture observer to use. Basically,...

@jussme Did a little digging, and the issue is because `LexerCore` appears to conflict with a hidden embedded framework class. Looking at the `LexerCore` class with a debugger, you can...

Not sure if it will work for Ice4J as well, but you can try shadowing the jars to avoid the class name conflict. This can be done fairly simply with...

Custom audio data can't be published at the moment. It's on our roadmap though. Custom video data can be published by implementing `VideoCapturer` and passing frames through to the `capturerObserver.onFrameCaptured`...

@hardenerdev That would be `org.webrtc.VideoCapturer`, and the `capturerObserver` is passed in the `initialize` method there. https://github.com/livekit/client-sdk-android/blob/627ccca7ffb53f2cca2a7e540dbf06921b7f754e/livekit-android-sdk/src/main/java/io/livekit/android/room/track/video/BitmapFrameCapturer.kt This is a simple implementation based on pushing bitmaps. You can try adapting it...

Can you check if the `samples.data.size` is non-zero? Can't really help with writing bytes to a wav file (don't really know too much about about the various audio formats), but...

Sorry, it's been a really long time since I've touched this stuff, and this was built on a pretty old version of compose, so I don't really know.

There's no way for AudioSwitch to automatically know that the bluetooth permission is granted, so you'd need to manually restart it yourself.

`ReconnectType.FORCE_FULL_RECONNECT` is only there as a debug option for our own testing purposes; it's not intended to be used in production (it makes the reconnection process to a server more...