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?
            Asked
            
        
        
            Active
            
        
            Viewed 6.2k times
        
    6
            
            
        - 
                    What format dows the stream have? – Tobias Jan 11 '11 at 12:22
- 
                    MPEG-4, is that what you were after? – benhowdle89 Jan 11 '11 at 12:29
- 
                    http://stackoverflow.com/questions/2245040/display-an-rtsp-video-stream-in-a-web-page/23392116#23392116 – Adorjan Princz Jan 27 '15 at 10:26
2 Answers
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
- 
                    
- 
                    What would the `%StreamURL%` be if I want to stream the server's webcam and not myself? – emotality Apr 06 '15 at 17:19
- 
                    
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
