Is there a way to transfer the local blob created by webrtc getUserMedia (vidio and audio) to the Icecast server, which allows translation using HTML5?
In particular, in the following example (from Justin Uberti 2012 Google I / O video) I can record audio / video and play it locally in the video element:
<script type="text/javascript">
var onGotStream = function(stream) {
var url = webkitURL.createObjectURL(stream);
video.src = url;
}
navigator.webkitGetUserMedia({video: true, audio: true}, onGotStream, null);
<script>
<video = id='video' autoplay='autoplay'/>
But instead of installing the src video in a local unit, I would like to send the stream to the Icecast server, and then play this live broadcast using video elements pointing to the Icecast server.
Is it possible? How can i do this?
Thank!!
source
share