4 ms·
What are other developers doing and or using to create innovative streaming audio/video web apps for Firefox OS? We have a flash fallback for streaming for Fir
by paul9290 13y ago
What are other developers doing and or using to create innovative streaming audio/video web apps for Firefox OS?
We have a flash fallback for streaming for Firefox desktop, but we havent had a chance to look at Firefox OS.
- untog 13y agoFirefox OS supports h264, so could you not just use <video> tags?
- anonymfus 13y agoAnd Firefox for Windows supports it too since version 20.
- paul9290 13y agoThanks you guys for the tip! Can the h264 codec be used to stream audio, specifically MP3s?
- anonymfus 13y agoI was partially wrong. It's need to enable media.windows-media-foundation.enabled setting in about:config, so it's still don't suitable for real use. MP3 in audio tag would work.
- Jhsto 13y agoIn theory, you could use WebRTC to stream data from phone to phone as P2P connections. I've also been toying around with a Spotify streamer, which uses websockets to stream data from open.spotify.com to client side using binary websockets. I managed to create it natively without using any client side JS libaries, so as soon as binary websockets will be supported on phones, I'll be able to stream music to my phone. The music is playable trough HTML5 music player and currently works on mobiles with a workaround, where the music is first piped to a file and then referenced in DOM. Sadly, the hosting service took my servers down because of DMCA and for the same reason I've kept the source code private. It is written in node.js
- fzzzy 13y agoWebRTC is not in gecko 18 which is the version Firefox OS will initially ship with (ffos versions 1.0.1 and 1.1). WebRTC support should make it into firefox os when we pull from mozilla central again to branch off version 1.2, but development won't be getting started on 1.2 until later in the summer.