Chrome as Source

Asked by Gino

Hi
First of all a big compliment for this nice piece of software, I use it very often.
Now I have small issue, I want to use it to recored sound playing in Chrome Browser.
I can use the Internal audio, but in this case I do not get any Track information.

So my question is: Is there a way to use Chrome as input source? is it existings any plugin
or is it something in planning?

Thanks for reply

Gino

Question information

Language:
English Edit question
Status:
Solved
For:
Audio Recorder Edit question
Assignee:
No assignee Edit question
Solved by:
moma
Solved:
Last query:
Last reply:
Revision history for this message
Best moma (osmoma) said :
#1

Hello,
Chrome-browser does not implement the media-player standard (MPRIS2).
MPRIS2 is list of commands that media-players send to DBus. DBus is communication channel inside the desktop system. Other applications can then listen and react to to these commands.

Some typical MPRIS2 commands are START/STOP/PAUSE/TRACK CHANGE/VOLUME UP, DOWN/PLAYLIST/ etc.
Ref: http://www.freedesktop.org/wiki/Specifications/mpris-spec/

Ubuntu^s sound-menu is one of the applications that reacts to MPRIS2 commands on the DBus. Start a media-player with music and click the sound-menu on the systray (upper right corner) to see how it reacts. Audio-recorder also listens and reacts to the same START/STOP/PAUSE/etc. commands on the DBus in similar way.

Please study also dbus-pris2.[ch] and dbus-player.[ch] in
http://bazaar.launchpad.net/~osmoma/audio-recorder/trunk/view/head:/src/

Conclusion: Neither Chrome or other web browsers implement the MPRIS2 spec. They do not send relevant commands to the DBus.

BTW: Skype implements also MPRIS2 well. It sends commands to the DBus channel. Ref. src/dbus-skype.[ch]

Here is a a similar question. The answer is same.
http://askubuntu.com/questions/538717/can-i-get-youtube-in-the-sound-menu

And remember: Audio-recorder cannot record directly from a spesific application. It simply records the mixed output of a sound-card (the loudspeaker output) or it records directly from a microphone, webcam, etc. You can see this if you goto [Additional settings] -> Recording commands -> Show Cmd.

Revision history for this message
Gino (gino909) said :
#2

Hi...
Thank you for this detailled description.
Curios that webbrowser dont have implemented the MPRIS2 but ok.
Thanks again and have a good time
BR, Gino