streaming audio (mp3) to html5 issue
Posted: 27 Apr 2016 07:29
my audio streaming works fine when using http (ogg/vobris) to desktop browsers, what i want is to make it compatible to ios safari browser, which I believe it does not take ogg format
so what i've done is to change it to http (mp3) streaming in VLC, however, it makes both ios and desktop browser unplayable
here's the command that I've tried:
:sout=#transcode{vcodec=none,acodec=mp3,ab=64,channels=2,samplerate=44100}:http{mux=ts,dst=:8080/} :sout-all :sout-keep
here's the html5 code
<audio controls="controls" loop="loop" id="livePlayer" >
<source src="http://216.18.21.102:8080">
</audio>
Am I doing something wrong? or is there any way to stream audio from vlc to ios safari?
tks in advance
so what i've done is to change it to http (mp3) streaming in VLC, however, it makes both ios and desktop browser unplayable
here's the command that I've tried:
:sout=#transcode{vcodec=none,acodec=mp3,ab=64,channels=2,samplerate=44100}:http{mux=ts,dst=:8080/} :sout-all :sout-keep
here's the html5 code
<audio controls="controls" loop="loop" id="livePlayer" >
<source src="http://216.18.21.102:8080">
</audio>
Am I doing something wrong? or is there any way to stream audio from vlc to ios safari?
tks in advance