I tried with several players but only supports the format. Ogg player or there any way to play a. Mp3 in firefox os. I also used to open the audio player of Firefox with the default OS file. Mp3
The Firefox OS Simulator does not support mp3 playback.
but the Firefox OS device support it.
Related
I'm recording screens and webcam video in a Chrome extension using WebRTC but it appears the audio streams in my .mp4 videos are encoded with Opus which causes QuickTime to display an Error -2048: Couldn't open the file video.mp4 because it is not a file that QuickTime understands.
Is it possible to use a different audio encoding option supported by Quicktime?
I don't believe mp4 supports any audio codecs supported by WebRTC.
If possible I would use Matroska, that supports VP8/VP9/H264 and Opus/PCM which will cover pretty much all WebRTC calls.
My project is to stream audio online with my PC as the server.
I have a HP Proliant ML110 G7 server PC, which does not have any integrated sound device in motherboard, nor any kind of sound device.
I am currently using ubuntu 16.04 in my PC, and I cannot configure IceCast and Ices2/Darkice properly, but I could do it following the same instructions in another laptop with same os same version, which has an integrated sound device.
Is an integrated sound device needed to make an audio streaming server?
Thank you.
Icecast itself just passes data on through. It requires no sound device at all.
Your source client, such as IceS, can be used to read audio from a sound device or just to read audio from files. If you have no sound device, you'll need to use some other audio source of course.
I'm trying to share the computer's audio via webRTC and GetUserMedia, but I don't know if it is possible to obtain this stream.
On Linux and Firefox, when I request the GetUserMedia with the following constrains
navigator.mediaDevices.getUserMedia({video: false, audio:true})
In the popup I can choose alsa_output.pci and share the computer's audio. But when I tried on Chrome/Chromium or I changed to Windows neither Firefox nor Chrome show me any option to capture the internal audio, only my headset microphone.
Are there any option for the getUserMedia or any workaround to get this audio? I tried all the examples of WebRTC samples and Muaz's examples but no one displayed me this option, only Firefox under Linux.
There's no way to do this from the JavaScript code.
In Windows, you just have to use as input for WebRTC Stereo mix (or Wave out mix on some laptops/sound cards). If you don't have it on your list of recording devices, try to update your sound card driver. If you do have it in the list, but it is marked as Currently unavailable, then right click on it and select Set as Default Device. This would make it available.
If your sound card doesn't support Stereo mix, then you can use something like Virtual Audio Cable.
There are some webpages that stream the live video to the browser, let's take an example of www.earthcam.com - does anyone know how exactly does it work?
Do they have the stream sent through some node.js server with some protocols (what kind of?), etc. As I understand there are only few formats supported on each platform:
Safari:
HLS (iOS and mac only)
h.264
MP4
Firefox
DASH (via MSE but no h.264)
h.264 via Flash only!
VP9
MP4
OGG
Webm
IE
Flash
DASH (via MSE IE 11+ only)
h.264
MP4
Chrome
Flash
DASH (via MSE)
h.264
VP9
MP4
webm
ogg
And earth cam works everywhere. Do they use flash in case of windows and some other technology in case of Mac OS?
Yes, they detect what browser you are using (User-Agent), and choose a technology that works for that platform.
I'm building a mobile application for Android, Windows Phone, IOS, and BlackBerry.
Its an audio application and I'm wondering if I should use ogg or mp3?
Ogg seems more compressed which is a good thing, but I'm not sure which of the 4 platforms it would work on, also is the quality worse?
I don't need to use the same file format for all of the platforms so answer with the best choice for each of the 4 platforms.
iOS and Windows Phone 7 cannot play OGG audio files on their own, unless you are willing to write a decoder yourself (which you cannot do on Windows Phone 7 because you don't have raw access to the audio hardware).
BlackBerry does support OGG out of the box starting with v5 of BlackBerry OS.
Android lists it as a supported codec, however due to the open source nature of Android, it is entirely possible for a carrier to ship a product without the codec (I don't know if this has been done in practice).
However, all of those platforms can play MP3 out of the box. You are best off using MP3 for its ubiquity.
You may be able to achieve OGG-like sizes of your MP3 if you use a variable bitrate instead of a constant one.