Skip to content
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

iOS, very poor video performance with openwebrtc.framework 0.3.0 #362

Closed
cellcma opened this issue Apr 30, 2015 · 4 comments
Closed

iOS, very poor video performance with openwebrtc.framework 0.3.0 #362

cellcma opened this issue Apr 30, 2015 · 4 comments
Milestone

Comments

@cellcma
Copy link

cellcma commented Apr 30, 2015

The first of all thanks for your great work. I have tested openwebrtc.framework 0.3.0 with SimpleDemo app and i have video delays about 10 seconds or more. I have tested the same demo with Bowser browser installed from App Store and it runs much better. Is there any difference between them?

My tests:

Test 1 iPhone 6 Plus and iPhone 5C:
Description: SimpleDemo app with openwebrtc.framework 0.3.0 installed with cocoapods.
Result: Very poor video performance (send and receive).

Test 2 iPhone 6 Plus and iPhone 5C
Description: SimpleDemo app with openwebrtc.framework 0.3.0 compiled and generated (following wiki steps) by me.
Result: like test1. In this case i am not able to run SimpleDemo in iPhone 5C beacuse it gives an error in ffi.c calling method fun(cif, rvalue, avalue, user_data);

Test 3 iPhone 6 Plus and iPhone 5C:
Description: Test with Bowser browser -> http://demo.openwebrtc.io:38080/
Result: Bowser browser runs ok.

Thanks in advance.

@superdump
Copy link
Contributor

Have you tried NativeDemo? Bowser from the App Store is quite old and we're going to update it soon.

I've been noticing performance regressions too and will be looking into this as my current priority. I want to make the pipeline always responsive but if it can't keep up with real time, the frame rate will reduce. However, latency should not be impacted more tha the time it is taking to process one frame. We know of a bunch of optimisations that we can do and they are in progress but help is very welcome.

See #240 for example. Plus @ikonst and @alessandrod have been working on avoiding expensive memory copies.

@cellcma
Copy link
Author

cellcma commented May 4, 2015

Hi Robert

Thanks for your fast answer. NativeDemo works great with iPhone 6 and iPhone 5C. Do you think that is possible connect with several webrtc session at the same time with OpenWebRTC?

One webrtc session sending your video and several session receiving remote video.

Thanks in advance.

@superdump
Copy link
Contributor

It's certainly possible according to the API. The limitations will be according to the capabilities of the device and how far along we are in the optimisation process. Once #240 is closed and memory copies are removed, we should be able to support as many as the CPU and hardware codecs can handle. We can fall back to software codecs if the hardware codecs are busy.

@superdump superdump modified the milestone: 0.4.0 May 31, 2015
@stefanalund
Copy link
Contributor

Is this still the case? Many performance improvements have been made since May. Re-open if you still have problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants