Embedding a stream into a webpage
Added by dan Attwood over 7 years ago
Hello
We are trying to use tvheadend as part of a digital signage solution.
We have a tuner setup and can stream content from tvheadend to VLC without a problem.
However despite a ton of Googling and tinkering we are enable to get this stream to embed into a webpage. I had expected something like the below to work. However when we try this we can see chrome streaming the file in the network tab of the developer tools but nothing plays.
<video width="352" height="198" controls>
<source src="http://10.0.64.63:9981/stream/service/3af0b249f0444e64aeb526d98dc3ea46?ticket=78830F6B574486E3EFD223CE9EFB09255750E0A8.mp3?user=admin&pwd=admin">
</video>
Replies (2)
RE: Embedding a stream into a webpage - Added by saen acro over 7 years ago
No chance to run it directly "as is"
use transcode profile webtv-vp8-vorbis-webm
<video width="352" height="198" controls> <source src="http://10.0.64.63:9981/stream/service/3af0b249f0444e64aeb526d98dc3ea46?&profile=webtv-vp8-vorbis-webm> </video>
allow user "*" to have only streaming permission without password need.
RE: Embedding a stream into a webpage - Added by dan Attwood over 7 years ago
Thank you for this.
We poked around and couldn't find any reference to profile=webtv-vp8-vorbis-webm.
Some more reading to the wiki and forums and we reliased that we were on 4.0 and not 4.2. We got this installed and everything it now working as expected.