![Sky full of stars flac](https://kumkoniak.com/1.jpg)
I plan on sending music only to myself, and only music that I have purchased. Just remember, if you are playing music over WebRTC, mind the licenses. Streaming music from my Pi to my phone? Sure! Preloading my playlist so it can stream even while I am on the subway? You bet! What about you? If you have some crazy ideas, head over to Twitter and share them! Playing a FLAC file over WebRTC using under 20 lines of JavaScript! I know I have plans of building some cool things with this. The call showed up like any normal call, and when I answered it, the music began playing! What's next? I pointed it to my OnSIP address and was able to receive the call in InstaPhone. When you load the page, it will fetch the specified FLAC file and start preloading it, before calling the specified SIP address. See the Pen bNbLOx by Will Mitchell ( on CodePen. Send the stream to a destination using SIP and WebRTC. Var dest = .createMediaStreamDestination() Wire the WebAudio source and destination together. Aurora doesn't create the audio context until you start playing it.
SKY FULL OF STARS FLAC CODE
In the end, the explanation is probably longer than the code itself. From there, SIP.js can take the stream and offer it in place of your regularly captured microphone audio. Flac.js and Aurora.js together provide a simple way to preload and decode the FLAC file, and they also spit out events implementing the same interface as SIP.js! Since Aurora.js plays the file using a source context, all we have to do is grab that and connect it to a new MediaStream destination. Wiring these pieces up really could not have been much easier. Firefox gets finicky about sending certain MediaStreams over WebRTC.
SKY FULL OF STARS FLAC HOW TO
Here is how to do one thing I learned this weekend: Playing a FLAC file from one computer to another using WebRTC.
![sky full of stars flac sky full of stars flac](https://66.media.tumblr.com/ef77033996b695ca96ca5990d5edfbf3/tumblr_mq3es1j2cJ1qfaioqo1_500.jpg)
![sky full of stars flac sky full of stars flac](https://f4.bcbits.com/img/a1277011774_10.jpg)
Even working with browsers and WebRTC all day at work, I am constantly surprised by the ease with which HTML5 lets you wield a lot of power to do cool things.
![sky full of stars flac sky full of stars flac](https://f4.bcbits.com/img/a4146328329_5.jpg)
I spent this weekend exploring the world of Web Audio. After getting my Raspberry Pi up and running last week, I was really pumped to continue on, find a project, and put it to good use.
![Sky full of stars flac](https://kumkoniak.com/1.jpg)