简体   繁体   中英

streaming rtsp video in vlc plugin

Hey I am tried to run rtsp video in the web, apparently it is not an easy task, I have followed the documentation https://wiki.videolan.org/Documentation:WebPlugin and add an embed script to my html with a valid target: rtsp://122.248.252.56/live/nokia40mtv150.sdp .

But apparently nothing happen, I don't see any controlers of the video player and don't see any video. Any one has a clue why I can't run an rtsp video using vlc plugin?

I get a message in the chrome which tells that plugin isn't supported. If this plugin isn't supported so how can I run rtsp video on the web.

UPDATE: in IE, it is supported but it doesn't play the video

 <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" width="100" height="100" target="rtsp://122.248.252.56/live/nokia40mtv150.sdp " /> 

In Chrome VLC Web Plugin doesn't work, in Firefox and IE it works ok.

Try next code, I verified it with another rtsp source, with yours rtsp://122.248.252.56/live/nokia40mtv150.sdp it doesn't work for me.

<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" 
    codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab"
    style= "width: 200px; height: 200px;"
>
    <param name="src" value="rtsp://122.248.252.56/live/nokia40mtv150.sdp" />

    <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
        width="200px"
        height="200px"
        src="rtsp://122.248.252.56/live/nokia40mtv150.sdp"
    />        
</object>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM