[Icecast-dev] Adding a data in Live OR Saving Stream on Server side.

Narendra Sisodiya narendra at narendrasisodiya.com
Tue Sep 20 06:33:18 PDT 2011


I want to build a website where user can listen my voice. I want to
use only Icecast. But on my website I want to display some data too
inside a stream.

What data I want to add ?
basically on my website there are various images. each image having  a
number. While I deliver my lecture I want to send image number too.
Now I can send this number using http PUSH/PULL but I do not know How
it will be synchronised ? Because AFAIK in streaming mode the HTML5
video element do not have TOTAL LENGTH parameter.
So Hom I can embed the image number in stream itself and get this data
on client side browser ?

Otherwise I can thing for other trick !!

I will stream no Icecast server  and It will save my audio on server.
So this way I will get a file. I can add this ogg file in HTML5 audio
element and after loading the audio metadata in client I can set
position of seekbar to the end of the playback.
I do not know if this will work out because I have to handle the
onended function in a smart way.


Do you how I can accomplish my task ?

Let me know I can explain more, My English in not good.

-- 
┌─────────────────────────┐
│    Narendra Sisodiya
│    http://narendrasisodiya.com
└─────────────────────────┘


More information about the Icecast-dev mailing list