livekit / client-sdk-android

LiveKit SDK for Android
https://docs.livekit.io
Apache License 2.0
160 stars 63 forks source link

Serious issues - Black screen for local recording and external camera streaming failure #443

Open RXlung opened 1 week ago

RXlung commented 1 week ago

Thank you to everyone who helped me.

Describe the bug I downloaded the android project and go deployment, both from the May 2023 version. android: 1.2.0 go: 1.4.2 I didn't make any changes, just the url and token. Run sample-app-record-local, either push the stream, the other party can not see, or save the local is no picture only sound. To Reproduce

  1. Samsung android10 device can push the stream, but when saved locally, there is no picture only sound. image image
  2. The Hongmeng 2 system can crash directly when pushing disconnectRoom, and there is no picture only sound when saved locally. When I combine room.disconnect() and videoFileRenderer? When the.release() lines were swapped, an error was reported, but the video was saved image
  3. Customized devices based on android 12 use usb external camera, run sample-app, you can see the camera screen on the app page, and the other end (https://meet.livekit.io/? tab=custom) can not be seen, only see someone join, but the screen is black. And save local video is no picture only sound. image image

Expected behavior Push the other party can see, save the video has a picture。I think the 8000 star project, demo should run directly without too much configuration can be learned. There shouldn't be so many problems.

Screenshots The reproduction step corresponds to the screenshot

Device Info:

davidzhao commented 1 week ago

Please test with the latest version of client & server. We are unable to support versions that old.

RXlung commented 1 week ago

请使用最新版本的客户端和服务器进行测试。我们无法支持这么旧的版本。

Thank you for your reply. I have tested version 2.4.2 and there are also issues. But I experimented with 1.1.0 and it turned out to be amazing. Even 1.1.1 is a failure. Now only the issue of black screen, no screen, and sound during recording remains.