videosdk-rtc-flutter-sdk-example
videosdk-rtc-flutter-sdk-example copied to clipboard
No video stream - Camera not enabled
Hi all. I've been trying to integrate the SDK into my existing app but could not get the video stream. I've also tried this example app but it's not working too. I figured out that the camera is not enabled. While trying to enable the camera, i get this error
webrtc.Logging(22287): SurfaceTextureHelper: stopListening()
[log] Unable to RTCPeerConnection::createOffer: peerConnectionCreateOffer(): WEBRTC_CREATE_OFFER_ERROR: Session error code: ERROR_CONTENT. Session error description: Failed to set local video description recv parameters for m-section with mid='video'..
[log] #0 Transport._produce
<asynchronous suspension>
#1 FlexQueue._runTask
<asynchronous suspension>
When i try to switch from/to front/back camera i get the output
[log] camera is not enabled!
Flutter doctor ouputs
[✓] Flutter (Channel stable, 3.10.0, on Pop!_OS 22.04 LTS 6.2.6-76060206-generic, locale fr_FR.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.3)
[✓] Connected device (3 available)
[✓] Network resources
Tested on Samsung T225N (Android 13), Pixel 4XL (Android 13)
Hey @Consticonstantin, are you facing this issue everyTime ?
Yes! Since couple of weeks
okay. Give us some to time to test it.
Hey @Consticonstantin, we are currently unable to replicate this issue. Our testing encompassed SM-M52 (operating on Android 13), as well as Pixel 4XL (Android 13 x86_64). Could you test on different devices and let us know the result ? It will helpful to address this issue.
I've tested on Redmi 7A Android 10. Everything works well. Is there any reason this could happen?
Hey @Consticonstantin, Could you try following steps and let us know the result ? Also please share ABI information of your AVD [Pixel 4XL] .
- pass false to
micEnabled
,camEnabled
parameter inVideoSDK.createRoom()
method. - After joining the meeting, start Camera through toggleCamera button.
I'm testing on a real device Pixel 4XL android-arm64
When i pass false to micEnabled and camEnabled i get this
[log] camera is not enabled!
Hey, @Consticonstantin we are fixing this.
Thanks. @arjun-kava Is there any workaround for this case meanwhile please? And how much time can it take to be fixed please? Actually we are ready for production but cant launch without video calls
Hey @Consticonstantin, Please schedule a call with us. https://calendly.com/ahmed-207/videosdk-feedback-suggestions
same issue, needs urgent resolution
We couldn't reproduce the problem on our end, so we're closing this for now. If you encounter it again, please reopen with more details.