videosdk-rtc-flutter-sdk-example icon indicating copy to clipboard operation
videosdk-rtc-flutter-sdk-example copied to clipboard

No video stream - Camera not enabled

Open Consticonstantin opened this issue 1 year ago • 11 comments

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>

image 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)

Consticonstantin avatar Sep 11 '23 12:09 Consticonstantin

Hey @Consticonstantin, are you facing this issue everyTime ?

ishabodiwala avatar Sep 11 '23 12:09 ishabodiwala

Yes! Since couple of weeks

Consticonstantin avatar Sep 11 '23 12:09 Consticonstantin

okay. Give us some to time to test it.

ishabodiwala avatar Sep 11 '23 12:09 ishabodiwala

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.

ishabodiwala avatar Sep 12 '23 10:09 ishabodiwala

I've tested on Redmi 7A Android 10. Everything works well. Is there any reason this could happen?

Consticonstantin avatar Sep 13 '23 12:09 Consticonstantin

Hey @Consticonstantin, Could you try following steps and let us know the result ? Also please share ABI information of your AVD [Pixel 4XL] .

  1. pass false to micEnabled, camEnabled parameter in VideoSDK.createRoom() method.
  2. After joining the meeting, start Camera through toggleCamera button.

ishabodiwala avatar Sep 13 '23 13:09 ishabodiwala

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!

Consticonstantin avatar Sep 14 '23 09:09 Consticonstantin

Hey, @Consticonstantin we are fixing this.

arjun-kava avatar Oct 08 '23 07:10 arjun-kava

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

Consticonstantin avatar Oct 13 '23 13:10 Consticonstantin

Hey @Consticonstantin, Please schedule a call with us. https://calendly.com/ahmed-207/videosdk-feedback-suggestions

ahmedbhesaniya97 avatar Oct 13 '23 14:10 ahmedbhesaniya97

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.

ishabodiwala avatar Aug 24 '24 08:08 ishabodiwala