Qualcuno può guidarmi su come trasmettere correttamente un RSTP nel web?Come riprodurre/trasmettere RTSP via web.
Quindi ho questo URL rtsp://192.168.1.55:554/vid/stream/channels/1
Quando riprodotto tramite VLC player Streaming sul desktop sembra eseguire/streaming bene.
La mia prossima sfida è, per visualizzare questo via WEB. Così ho creato un semplice sito HTML e ho incorporato il codice quicktime che ho trovato da qualche parte in StackOverflow.
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="400" HEIGHT="300" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab";>
<PARAM NAME="src" VALUE="rtsp://192.168.1.55:554/vid/stream/channels/1";>
<PARAM NAME="controller" VALUE="false">
<PARAM name="AUTOPLAY" VALUE="true">
<PARAM NAME="qtsrc" VALUE="rtsp://192.168.1.55:554/vid/stream/channels/1";>
<PARAM NAME="pluginspage" VALUE="http://www.apple.com/quicktime/download/indext.html";>
<PARAM name="type" VALUE="video/quicktime">
<EMBED WIDTH="400" HEIGHT="300" AUTOPLAY="true" CONTROLLER="false" SRC="rtsp://192.168.1.55:554/vid/stream/channels/1"; qtsrc="rtsp://192.168.1.55:554/vid/stream/channels/1"; BGCOLOR="FFFFFF" BORDER="0" PLUGINSPAGE="http://www.apple.com/quicktime/download/indext.html";></EMBED>
</OBJECT>
ho incluso anche questi sul mio <head>
tag
<script src="http://www.apple.com/library/quicktime/scripts/ac_quicktime.js" language="JavaScript" type="text/javascript"></script>
<script src="http://www.apple.com/library/quicktime/scripts/qtp_library.js" language="JavaScript" type="text/javascript"></script>
<link href="http://www.apple.com/library/quicktime/stylesheets/qtp_library.css" rel="StyleSheet" type="text/css" />
Ma quando carico della pagina, ottengo uno schermo in bianco.
Ho provato chrome/ie/firefox.
Possibilmente un duplicato di [questo] (http: // StackOverflow .com/domande/2245040/come-can-i-display-an-r cucchiaino-video-stream-in-a-web-page) – zabumba