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

Bowser app doesnt do anything on iPad 3rd gen (iOS 8.1) #370

Closed
peterwilli opened this issue May 12, 2015 · 23 comments
Closed

Bowser app doesnt do anything on iPad 3rd gen (iOS 8.1) #370

peterwilli opened this issue May 12, 2015 · 23 comments
Milestone

Comments

@peterwilli
Copy link

Hi,

I'm looking for WebRTC functionality for iOS which brought me here. I assumed Bowser was some kind of WebRTC api polyfill for iOS but it doesnt seem to work for me.
I tried reinstalling many times as well.

What happens is it gets stuck at Initializing for a good 20 seconds or so. After that I go to the OpenWebRTC website to click on demo button on the top.

Here is a screenshot: http://imgur.com/sB3Y0XC

At that point I get no ID or anything. It just sits there and doesnt give any error. Other WebRTC demo's aren't working as well.

I was kind of relieved to find this project after being surprised that iOS doesnt support WebRTC. If anyone knows how to make it work that would be awesome! Thanks.

@superdump
Copy link
Contributor

Are you using Bowser from the App Store or built yourself?

@peterwilli
Copy link
Author

@superdump Wow that was fast! I downloaded from the App Store. (If that worked I wanted to build myself)

@superdump
Copy link
Contributor

Push notifications allow me fast reaction times. 😄 I'll give it a go here on my phone and see if I see the same. What device are you using it on?

@peterwilli
Copy link
Author

iPad 3rd Gen (MD328NF/A) with iOS 8.1 Thanks for helping!

@superdump
Copy link
Contributor

So, I downloaded and installed the app from scratch. It takes a while to generate some language bindings on the first boot (we have an issue somewhere about improving that situation) and then it exhibits the same behaviour as in your screenshot above.

If I then double-click the home button and swipe out Bowser to make it close fully, then restart the app and open the demo page, the join button is active. I can set up an audio/video call too.

That was on an iPhone 6 Plus. Performance when using VP8 is not good because it's a software codec. If you make a call initiating from Bowser to Firefox, H.264 gets used which should give better performance as we use the hardware codec in Apple A7 and newer chips. Unfortunately your iPad 3 has an A5X chip so does not benefit from that and will instead use the OpenH264 software H264 codec implementation.

We will be working on some device profiles soon to select appropriate settings to provide as good an experience as we can given the hardware.

@peterwilli
Copy link
Author

@superdump thanks I'll try the swipe stuff - luckily I only need DataChannels to work.

I'm trying to get my side project (http://sketchb.us/) to use WebRTC to avoid programming p2p communication manually because I have more users than my server can handle lately ;)

Update join button doesnt seem to activate here :( Do you think that the app store version of Bowser could be out-of-date? I was thinking of building it myself and see if that works better.

Update 2 As this comment suggests (EricssonResearch/bowser#27 (comment)) I have to build it myself to see the stuff I need working so I'll go ahead and do that somewhere during the day.

@superdump
Copy link
Contributor

I had audio/video working with Bowser from the App Store.

We need to send up an update to Bowser on the App Store as it's getting a bit old now. It indeed doesn't have data channel support. I'll try to build it with the recent release.

@superdump
Copy link
Contributor

@peterwilli instead of building everything, you may want to try: EricssonResearch/bowser#43

@peterwilli
Copy link
Author

@superdump oh nice is that going to be merged soon? Otherwise I can fork and merge it myself

@superdump
Copy link
Contributor

I expect it will be merged fairly soon, yes.

@stefanalund
Copy link
Contributor

Merged now.

@stefanalund
Copy link
Contributor

Oh, and I also submitted Bowser 0.5 for App Store review.

@peterwilli
Copy link
Author

Thanks @stefanalund I'll check out bowser in the weekend or so! Please don't close this yet I'll keep it up-to-date on how it goes.

@peterwilli
Copy link
Author

@superdump unfortunately even after the fresh Bowser build I can't seem to be able to make any connection :(

The logs:

CoreFoundation = 1141.140000
2015-05-13 00:37:37.321 Bowser[1470:92904] BowserViewController viewDidLoad
2015-05-13 00:37:38.650 Bowser[1470:92980] OWR bridge starting...
** Message: Loaded namespace: GLib
** Message: Loaded namespace: GObject
** Message: Loaded namespace: Gio
** Message: Loaded namespace: GIRepository
** Message: Loaded namespace: Owr
** Message: ready
2015-05-13 00:37:39.593 Bowser[1470:92980] OWR bridge started
2015-05-13 00:37:40.085 Bowser[1470:92904] webViewDidStartLoading...
2015-05-13 00:37:40.086 Bowser[1470:92904] creating timer
2015-05-13 00:34:10.660 Bowser[1433:91194] injecting bootstrap script
2015-05-13 00:34:10.682 Bowser[1433:91194] injecting bootstrap script
2015-05-13 00:34:10.713 Bowser[1433:91194] injecting bootstrap script
2015-05-13 00:34:10.735 Bowser[1433:91194] injecting bootstrap script
(.. Goes on many times while loading page)
2015-05-13 00:34:10.754 Bowser[1433:91194] webViewDidFinishLoading... http://demo.openwebrtc.io:38080/
2015-05-13 00:34:16.501 Bowser[1433:91194] writing files!

Writing files is called when app is shut down.

@superdump
Copy link
Contributor

So did you try doing as I said above? Double-press the home button and swipe out Bowser to make sure it is fully closed and then start it up again? (That is a bug that needs to be addressed, but this workaround seems to work for me.)

@peterwilli
Copy link
Author

@superdump yeah I have. I'll record it so you can see for yourself what happens. Give me a moment.
@superdump here is the recording: https://sketchb.us/BowserBug.mov

@superdump
Copy link
Contributor

@stefanalund - looks like something's still not 100% reliable with the injection.

@stefanalund
Copy link
Contributor

Yeah, we need to move to WKWebView as soon as possible, it has proper support for injecting scripts before each page load. The current solution seems to be too hacky and unreliable.

@peterwilli
Copy link
Author

@stefanalund WKWebView seems to be used in other examples besides Bowser. Maybe I can try one of those see if that works.

@stefanalund
Copy link
Contributor

Yes, please do! Thanks.

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

jellnet commented Jun 8, 2015

I'm also experiencing the same problem, but your workaround does not work for me. It there a place I can download a newer version than the app store?

@superdump
Copy link
Contributor

We will need to retest on an iPad 3 after some recent fixes and changes. It may be working again now.

@stefanalund
Copy link
Contributor

This has been fixed in version 0.6 (currently in App Store review): https://github.com/EricssonResearch/bowser/releases/tag/0.6

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

4 participants