This is really cool! The "video" quality is pretty bad though. From what I can see, the app streams base64 encoded JPEGs via WebSockets and draws them in a Canvas. The overhead of sending complete images costs a lot of bandwidth. You may want to look into jsmpeg for live streaming: https://github.com/phoboslab/jsmpeg
Why not use WebRTC for streaming the video?
Show HN: Run dedicated iOS Simulators in the browser
11–20 of 69 posts
Re: Show HN: Run dedicated iOS Simulators in the browser
#12This is really cool! The "video" quality is pretty bad though. From what I can see, the app streams base64 encoded JPEGs via WebSockets and draws them in a Canvas. The overhead of sending complete images costs a lot of bandwidth. You may want to look into jsmpeg for live streaming: https://github.com/phoboslab/jsmpeg
We'd love to use it and appreciate your hard work though. Do you have any ideas on how that problem can be solved?
Re: Show HN: Run dedicated iOS Simulators in the browser
#13Hi, thanks for checking us out. We're happy to answer any questions in the comments. Some of you may be familiar with app.io's demo pages service which was discontinued in August. We loved using their service and we thought it'd be a blast building a replacement. Technologies used: node, socket.io, mongodb, html5 canvas
Care to shed any light as to an overview on how the backend works? I've always been curious since I first saw App.io
Re: Show HN: Run dedicated iOS Simulators in the browser
#14Hi, thanks for checking us out. We're happy to answer any questions in the comments. Some of you may be familiar with app.io's demo pages service which was discontinued in August. We loved using their service and we thought it'd be a blast building a replacement. Technologies used: node, socket.io, mongodb, html5 canvas
I understand those are the web technologies, but how is this being run in the back? Tons of mac servers, with multiple IOS simulators on each? One running per user on the mac? Custom software to control and pass through to the socket? Care to shed any light as to an overview on how the backend works? I've always been curious since I first saw App.io
Maybe a modified iOS Simulator binary that can run hundreds of instances on a single powerful server, would be my best bet.
Re: Show HN: Run dedicated iOS Simulators in the browser
#15Earlier quoted context omitted.
Why not use WebRTC for streaming the video?
You don't even need to go that complicated. A WebM stream over HTTP is pretty easy and would work well for this.
Re: Show HN: Run dedicated iOS Simulators in the browser
#16Earlier quoted context omitted.
Why not use WebRTC for streaming the video?
You don't even need to go that complicated. A WebM stream over HTTP is pretty easy and would work well for this.
http://googleblog.blogspot.com/2012/05/next-step-in-chrome-o...
If you're having performance issues with it, you just have the video codec tuned wrong.
Re: Show HN: Run dedicated iOS Simulators in the browser
#17Re: Show HN: Run dedicated iOS Simulators in the browser
#18Hi, thanks for checking us out. We're happy to answer any questions in the comments. Some of you may be familiar with app.io's demo pages service which was discontinued in August. We loved using their service and we thought it'd be a blast building a replacement. Technologies used: node, socket.io, mongodb, html5 canvas
I understand those are the web technologies, but how is this being run in the back? Tons of mac servers, with multiple IOS simulators on each? One running per user on the mac? Custom software to control and pass through to the socket? Care to shed any light as to an overview on how the backend works? I've always been curious since I first saw App.io
Apparently app.io had some setup w/ VMs running on lightweight hypervisors (https://macstadium.com/casestudies), but we found we didn't have to have all that overhead to run multiple simulators per machine.
And you're exactly right about the small piece of custom code to pass controls and send frames. We're big fans of socket.io - pretty powerful stuff!
Happy to answer follow-ups if we missed something.
Thanks, weiyin
Re: Show HN: Run dedicated iOS Simulators in the browser
#19Earlier quoted context omitted.
I understand those are the web technologies, but how is this being run in the back? Tons of mac servers, with multiple IOS simulators on each? One running per user on the mac? Custom software to control and pass through to the socket? Care to shed any light as to an overview on how the backend works? I've always been curious since I first saw App.io
> Tons of mac servers, with multiple IOS simulators on each? Maybe a modified iOS Simulator binary that can run hundreds of instances on a single powerful server, would be my best bet.