-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot change cameras #39
Comments
Is it correct that it works with the version 0.3.1 of the OpenWebRTC pod? |
I'm using the 0.3.1 pod but with a build of the very latest OpenWebRTC.framework code. It looks like changes in the framework have broken the current implementations of setVideoCaptureSourceByName and terminateCall |
@superdump @sdroege I saw this problem as well when building from current master. We need to look in to it. |
Can you run with G_DEBUG=fatal-criticals and publish the backtrace? It may provide some clues. |
Here you go...
|
Apparently there is work ongoing in GStreamer (the underlying framework) handling of OpenGL. I was going to try out the latest changes but ran in to a build problem EricssonResearch/cerbero#39 Would be great if you also tried rebuilding. |
I got the framework built ok but still having similar issues. The change takes several seconds during which the video is frozen. No warnings or errors though, until I try to change the camera once more. Then I get this:
|
Bump, also experiences getting a green screen after changing cameras couple times during a call... |
Caveat: I'm using the latest OpenWebRTC-SDK for iOS but also a build of OpenWebRTC.framework using the latest source (commit 43aada0)
Whenever I call setVideoCaptureSourceByName: or terminateCall I see the following lines in the console log:
(:14133): GStreamer-CRITICAL **: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed
If I am trying to change cameras, then the local preview either freezes and eventually changes (but without actually changing what is being streamed out) or fails to do anything.
If I am trying to terminate the call, the preview just freezes.
The text was updated successfully, but these errors were encountered: