6

I have done a quick google on this but i was wondering if this is possible? I have opened up ports on our router to it so its accessible from anywhere but could i use PHP or similar to grab live streaming and show it on a website somewhere?

benhowdle89
  • 36,900
  • 69
  • 202
  • 331

2 Answers2

5

Try this (HTML5) or just the inner object (HTML<5) with all occurences of %StreamURL% replaced with the URL of your stream.

<video width="320" height="240" autoplay controls>
    <source src="%StreamURL%" type="video/mp4">
    <object width="320" height="240" type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf">
        <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.5.swf" /> 
        <param name="flashvars" value='config={"clip": {"url": "%StreamURL%", "autoPlay":true, "autoBuffering":true}}' /> 
        <p><a href="%StreamURL%">view with external app</a></p> 
    </object>
</video>
rik
  • 8,592
  • 1
  • 26
  • 21
4

You need a server to broadcast the stream for the viewers and player component that can work on desktop and mobile as well.

I have posted some info about this here on another stackowerflow topic: How can I display an RTSP video stream in a web page?

More info: http://ipcamlive.com/howdoesitwork

Community
  • 1
  • 1
Adorjan Princz
  • 11,708
  • 3
  • 34
  • 25
  • can you please guide me how can we stream virtual camera to video conferencing room (webrtc) I am using direct show plugin – user3653474 Oct 06 '21 at 08:32