Open azazadev opened 9 months ago
That's interesting. P2P vidéo was something I had in mind for a long time.
I am a bit really busy this week but I'll try to investigate.
At first sight I would say that the video source cannot be listened from camerAwesome and webrtc. They should share the same Stream. But I'll try to confirm that.
in p2p connection when I'm using RTCVideoView for both local and remote user it's working fine.
Now I have the scenario when I want to replace the RTCVideoView local widget by the CameraAwesomeBuilder.previewOnly ( needed for onImageForAnalysis use case ), the p2p connection is established but local video is freezes
any idea why CameraAwesomeBuilder is freezes ?
NOTE : probably this is not related to this amazing package but any help is appreciated
This is a full example when we can reproduce issue easy :
How to reproduce :
Observed : connection is established and device 2 is ok with local / remote video but device 1 video freezes
(base) ➜ ~ flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.13.1, on macOS 13.1 22C65 darwin-arm64, locale en-FR) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 14.2) [✓] Chrome - develop for the web [✓] Android Studio (version 4.0) [✓] Android Studio (version 2021.1) [✓] IntelliJ IDEA Community Edition (version 2022.3.1) [✓] VS Code (version 1.79.2) [✓] Connected device (3 available) [✓] Network resources
• No issues found!