NEWS
Test Adapter onvif camera v1.x.x
-
@wendy2702 Bei mir auch so. Ab 2. Kamera geht die Anzeige nicht mehr
-
@knallochse Danke für die Info.
Vielleicht hat ja noch wer eine Lösung dazu oder sind wir die einzigen die mehr als eine Kamera in VIS haben ?
-
@wendy2702 bitte für die zweite Kamera folgendes verwenden
<input type="hidden" name="webrtc2-url" id="webrtc2-url" value="http://192.168.0.2:8083/stream/ddbdb583-9f80-4b61-bafa-613aa7a5daa5/channel/0/webrtc" /> <video id="webrtc2-video" autoplay muted playsinline controls style="max-width: 100%; max-height: 100%;"></video>
setTimeout(function () { function startPlay(videoEl, url) { const webrtc = new RTCPeerConnection({ iceServers: [ { urls: ["stun:stun.l.google.com:19302"], }, ], sdpSemantics: "unified-plan", }); webrtc.ontrack = function (event) { console.log(event.streams.length + " track is delivered"); videoEl.srcObject = event.streams[0]; videoEl.play(); }; webrtc.addTransceiver("video", { direction: "sendrecv" }); webrtc.onnegotiationneeded = async function handleNegotiationNeeded() { const offer = await webrtc.createOffer(); await webrtc.setLocalDescription(offer); fetch(url, { method: "POST", body: new URLSearchParams({ data: btoa(webrtc.localDescription.sdp) }), }) .then((response) => response.text()) .then((data) => { try { webrtc.setRemoteDescription(new RTCSessionDescription({ type: "answer", sdp: atob(data) })); } catch (e) { console.warn(e); } }); }; const webrtcSendChannel = webrtc.createDataChannel("rtsptowebSendChannel"); webrtcSendChannel.onopen = (event) => { console.log(`${webrtcSendChannel.label} has opened`); webrtcSendChannel.send("ping"); }; webrtcSendChannel.onclose = (_event) => { console.log(`${webrtcSendChannel.label} has closed`); startPlay(videoEl, url); }; webrtcSendChannel.onmessage = (event) => console.log(event.data); } const videoEl = document.querySelector("#webrtc2-video"); const webrtcUrl = document.querySelector("#webrtc2-url").value; startPlay(videoEl, webrtcUrl); }, 1000);
-
@tombox So ähnlich habe ich das auch gerade hinbekommen.
Jetzt bisschen Off Topic aber kann man eigentlich jedem Widget einzeln unterschiedliche Skripte anhängen?
Ich habe das ja gerade für das erste Widget eingefügt und es ist dann ja auch direkt bei allen anderen sichtbar.
-
@wendy2702 Kenne mich da auch nicht so aus aber anscheinend.
Kannst du was zu der performance von rtsp2web sagen? -
@tombox Bin gerade dabei VIS von Motioneye auf RTSP2WEB zu stellen. Dann mal auf Bewegung warten oder morgen selber generieren.
Fakt ist das die Prozessor Last im Vergleich zu Motioneye nichts ist.
-
@marc_el_k Anscheinend ist da was falsch in der Kamera umgesetzt. Du hast den default port von 80 auf was anderes geändert und das wird in der snapshot url korrekt angezeigt.
-
Moin.
Wozu benötige ich das Script aus dem ersten Post?
Dachte es würde reichen das über die url http://127.0.0.1:8083/stream/{STREAM_ID}/channel/{CHANNEL_ID}/webrtc einzubinden.
Gruß -
@meerkat Damit der Stream auch gestartet wird.
-
@wendy2702 ok, danke
-
@wendy2702 Ich habe eine kurze Frage zum Player. Ich würde den gerne auf mehreren Views benutzen. Aber dazu muss der Player oder der Stream neu geladen werden. Wenn ich den View wechsel sieht es so aus:
Gibt es dazu eine Möglichkeit? Oder muss ich für jeden View ein seperates Widget und Script erstellen? -
@rookie50 Muss man nicht für jeden view immer neue widgets anlegen. Ich denke das jeder view ein eignes widgets mit eignen Ids braucht
-
@tombox said in Test Adapter onvif camera v1.0.0:
jeden view immer neue widgets anlegen.
Nein, man kann ein Widget auf mehreren Views nutzen. Ich benutzte diese Funktion für ein paar Stati, die ich in mehreren View sehen möchte. Die bekommen dann in den verschiedenen Views einen Namen mit angehangenem "_<VIEWNAME>"
Ok, genau betrachtet sind das dann eigene Widgets
Aber, dass Script funktioniert bei mir im VIS nur auf dem View, den ich beim ersten Start lade. In anderen Views, auch wenn es das einzige Widget im Projekt ist, wo die Kamera zu sehen sein soll, startet der Player das Video nicht.
Das verhält sich ähnlich wie das OpenStreetMap Widget.EDIT: Nachdem ich nun nochmal nach OpenStreetMap geschaut habe und "Immer rendern" ausgeschaltet habe, muss ich nicht immer erst den View mit den Karten laden. Schon mal wieder ein Fortschritt .
Und nun habe ich (eher per Zufall) herausgefunden, dass man ein Dialog Widget auch in anderen Views aufrufen kann. Somit funktioniert auch nun die Darstellung der Kamera im HTML Dialog bei PIR Bewegungserkennung.Danke übriges für den Tip mit rtsp2web, endlich ein Kamerastream im VIS ohne viel CPU Leistung. Bei der Synology 220+ ca. 4 % pro Kamera. Motioneye hat deutlich mehr benötigt. Und zudem auch kaum noch Latenz (ca. 0,5 -1 sek.).
-
@rookie50 Vielleicht kannst du ein paar screenshots posten wie du renderst oder den dialog öffnest
-
@tombox Im VIS Editor unter Menupunkt Tools ist die Option Immer rendern:
Das habe ich ausgeschaltet.
Im VIS benutzte ich HTML-Dialog. Als Icon ist deine ONVIF Snapshot Funktion und im Dialog die HTML Tags für die Kamera. Hier mein Export des Widgets:
[{"tpl":"tplJquiDialog","data":{"g_fixed":true,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":true,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html":"<img src=\"http://192.168.101.240:8095/192_168_102_20_80\" width=\"100%\" height=\"100%\">","html_dialog":"<input type=\"hidden\" name=\"webrtc-url\" id=\"webrtc-url\" value=\"http://192.168.101.4:8083/stream/d4548b06-a995-4f5c-a9d3-100a383843d3/channel/0/webrtc\" /> \n<video id=\"webrtc-video\" autoplay muted playsinline controls style=\"max-width: 100%; max-height: 100%;\"></video>","dialog_width":"1280","dialog_height":"800","autoclose":"10000","noHeader":true,"setId":"javascript.0.Cam-Motion.Eingang.Bewegung","setValue":"true","closeOnClick":false,"preload":true,"persistent":true,"title":"Eingang","modal":false,"overflowX":"","overflowY":"","dialog_top":"","dialog_left":"","views":["EG"]},"style":{"left":"1010px","top":"629px","width":"265px","height":"150px","border-width":"1px","border-style":"solid","border-color":"grey","border-radius":""},"widgetSet":"jqui"}]
Wenn nun der PIR der Kamera eine Bewegung meldet schaltet dieses Script den Dialog des Widgets:
on({id: [].concat(['onvif.0.192_168_102_20_80.events.Device/Trigger/DigitalInput']), val: true}, async function (obj) { let value = obj.state.val; let oldValue = obj.oldState.val; if ((obj.state ? obj.state.val : "") == true && getState("javascript.0.Schalter.Nachtruhe").val == false) { // Tablet aufwecken setState("mqtt.1.wallpanel.tab01.command"/*wallpanel/tab01/command*/, '{"wake": true}'); // Dialog öffnen setState("vis.0.control.command"/*Command for vis*/, '{"instance": "FFFFFFFF", "data": "w00349_OG", "command": "dialogOpen"}'); // CamView fuer 2 Minuten einschalten setStateDelayed("vis.0.control.command"/*Command for vis*/, '{"instance": "FFFFFFFF", "data": "w00349_OG", "command": "dialogClose"}', 120000, false); // command value löschen setStateDelayed("mqtt.1.wallpanel.tab01.command"/*wallpanel/tab01/command*/, '', 125000, false); setStateDelayed("javascript.0.Cam-Motion.Eingang.Bewegung"/*Cam-Motion.Eingang.Bewegung*/, false, 120000, false); } });
Kurze Erklärung:
"instance": "FFFFFFFF" -> alles verbundenen VIS Instanzen
"data": "w00349_OG" -> Das Dialog Widget heißt bei mir "w00349_OG"
"command": "dialogXXXXX" -> Open/Close Öffnet/Schließt das Dialog Fenster. -
@rookie50 sagte in Test Adapter onvif camera v1.0.0:
@wendy2702 Ich habe eine kurze Frage zum Player. Ich würde den gerne auf mehreren Views benutzen. Aber dazu muss der Player oder der Stream neu geladen werden. Wenn ich den View wechsel sieht es so aus:
Gibt es dazu eine Möglichkeit? Oder muss ich für jeden View ein seperates Widget und Script erstellen?Sorry,
wegen Server umbau war ich bisschen offline.
Ich musste das leider zurück zu Motioneye bauen da ich meine alten Tablets mit Ubuntu und Chrome nicht dazu bewegen konnte die Streams sicher zu starten.
Mal ging es, mal nicht. WAF im Keller.
Habe gesehen das du Erfolg hattest wenn du den haken bei "Immer rendern" entfernst, der ist bei mir eh deaktiviert.
Wenn ich mal Zeit und Lust habe gebe ich mich nochmal dran.
-
@wendy2702 Ohjee, WAF im Keller geht gar nicht... Verstehe und kenne ich
Zur Stabilität kann ich noch nichts sagen. Teste gerade und kann bestimmt in 1 - 2 Tagen etwas mehr dazu sagen.
BTW. läuft bei mir auf einem Samsung A7... -
In iQontrol kann RTSPtoWEB auf genutzt werden. Man muss einfach ein neues Geräte als Widget erstellen und unter Background_HTML folgenden Code einfügen:
<input type="hidden" name="webrtc-url" id="webrtc-url" value="http://192.168.2.2:8083/stream/a34525d7-6d13-421d-9127-2cd7bc4323dc/channel/0/webrtc" /> <video id="webrtc-video" autoplay muted playsinline controls style="max-width: 100%; max-height: 100%;" /> <script> setTimeout(function () { function startPlay(videoEl, url) { const webrtc = new RTCPeerConnection({ iceServers: [ { urls: ["stun:stun.l.google.com:19302"], }, ], sdpSemantics: "unified-plan", }); webrtc.ontrack = function (event) { console.log(event.streams.length + " track is delivered"); videoEl.srcObject = event.streams[0]; videoEl.play(); }; webrtc.addTransceiver("video", { direction: "sendrecv" }); webrtc.onnegotiationneeded = async function handleNegotiationNeeded() { const offer = await webrtc.createOffer(); await webrtc.setLocalDescription(offer); fetch(url, { method: "POST", body: new URLSearchParams({ data: btoa(webrtc.localDescription.sdp) }), }) .then((response) => response.text()) .then((data) => { try { webrtc.setRemoteDescription(new RTCSessionDescription({ type: "answer", sdp: atob(data) })); } catch (e) { console.warn(e); } }); }; const webrtcSendChannel = webrtc.createDataChannel("rtsptowebSendChannel"); webrtcSendChannel.onopen = (event) => { console.log(`${webrtcSendChannel.label} has opened`); webrtcSendChannel.send("ping"); }; webrtcSendChannel.onclose = (_event) => { console.log(`${webrtcSendChannel.label} has closed`); startPlay(videoEl, url); }; webrtcSendChannel.onmessage = (event) => console.log(event.data); } const videoEl = document.querySelector("#webrtc-video"); const webrtcUrl = document.querySelector("#webrtc-url").value; startPlay(videoEl, webrtcUrl); }, 1000); </script>
In der erste Zeile muss nur die IP addresse und die Kamera ID angepasst werden:
http://192.168.2.2:8083/stream/a34525d7-6d13-421d-9127-2cd7bc4323dc/channel/0/webrtcSobald die Ansicht geladen wird startet der Player mit Videobild.
-
Hi,
es wurde schon oft geschrieben, aber ich finde, man kann gute Ideen und Support nicht oft genug lobend erwähnen. Ich finde es super, dass du den Adapter entwickelt hast und hier im Forum versuchst, allen zu helfen.Nun habe ich den Adapter ebenfalls installiert und leider ein Problem mit einer von zwei Kameras.
Kurz: Der Snapshot-Datenpunkt wird nicht angelegt. Bei Betätigung des "Schalters" braucht der Server sehr lange um sich von dem Schock der Anfrage zu erholen und es kommt anschließend eine für mich unverständliche Fehlermeldung im Log:Error getting snapshot basic: {"data":{"type":"Buffer","data":[60,63,120,109,108,32,118,101,114,115,105,111,110,61,34,49,46,48,34,32,101,110,99,111,100,105,110,103,61,34,85,84,70,45,56,34,63,62,10,60,83,79,65,80,45,69,78,86,58,70,97,117,108,116,32,120,109,108,110,115,58,83,79,65,80,45,69,78,86,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,51,47,48,53,47,115,111,97,112,45,101,110,118,101,108,111,112,101,34,32,120,109,108,110,115,58,83,79,65,80,45,69,78,67,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,51,47,48,53,47,115,111,97,112,45,101,110,99,111,100,105,110,103,34,32,120,109,108,110,115,58,120,115,105,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,49,47,88,77,76,83,99,104,101,109,97,45,105,110,115,116,97,110,99,101,34,32,120,109,108,110,115,58,120,115,100,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,49,47,88,77,76,83,99,104,101,109,97,34,32,120,109,108,110,115,58,119,115,97,53,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,53,47,48,56,47,97,100,100,114,101,115,115,105,110,103,34,32,120,109,108,110,115,58,120,109,105,109,101,61,34,104,116,116,112,58,47,47,116,101,109,112,117,114,105,46,111,114,103,47,120,109,105,109,101,46,120,115,100,34,32,120,109,108,110,115,58,120,111,112,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,52,47,48,56,47,120,111,112,47,105,110,99,108,117,100,101,34,32,120,109,108,110,115,58,110,115,49,61,34,104,116,116,112,58,47,47,100,111,99,115,46,111,97,115,105,115,45,111,112,101,110,46,111,114,103,47,119,115,114,102,47,98,102,45,50,34,32,120,109,108,110,115,58,119,115,97,61,34,104,116,116,112,58,47,47,115,99,104,101,109,97,115,46,120,109,108,115,111,97,112,46,111,114,103,47,119,115,47,50,48,48,52,47,48,56,47,97,100,100,114,101,115,115,105,110,103,34,32,120,109,108,110,115,58,116,116,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,115,99,104,101,109,97,34,32,120,109,108,110,115,58,119,115,116,111,112,61,34,104,116,116,112,58,47,47,100,111,99,115,46,111,97,115,105,115,45,111,112,101,110,46,111,114,103,47,119,115,110,47,116,45,49,34,32,120,109,108,110,115,58,110,115,51,61,34,104,116,116,112,58,47,47,100,111,99,115,46,111,97,115,105,115,45,111,112,101,110,46,111,114,103,47,119,115,114,102,47,114,45,50,34,32,120,109,108,110,115,58,100,110,100,108,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,110,101,116,119,111,114,107,47,119,115,100,108,47,68,105,115,99,111,118,101,114,121,76,111,111,107,117,112,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,100,110,114,100,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,110,101,116,119,111,114,107,47,119,115,100,108,47,82,101,109,111,116,101,68,105,115,99,111,118,101,114,121,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,100,61,34,104,116,116,112,58,47,47,115,99,104,101,109,97,115,46,120,109,108,115,111,97,112,46,111,114,103,47,119,115,47,50,48,48,53,47,48,52,47,100,105,115,99,111,118,101,114,121,34,32,120,109,108,110,115,58,100,110,50,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,110,101,116,119,111,114,107,47,119,115,100,108,34,32,120,109,108,110,115,58,116,97,100,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,97,110,97,108,121,116,105,99,115,100,101,118,105,99,101,47,119,115,100,108,34,32,120,109,108,110,115,58,116,97,110,97,101,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,50,48,47,97,110,97,108,121,116,105,99,115,47,119,115,100,108,47,65,110,97,108,121,116,105,99,115,69,110,103,105,110,101,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,97,110,114,101,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,50,48,47,97,110,97,108,121,116,105,99,115,47,119,115,100,108,47,82,117,108,101,69,110,103,105,110,101,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,97,110,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,50,48,47,97,110,97,108,121,116,105,99,115,47,119,115,100,108,34,32,120,109,108,110,115,58,116,100,115,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,100,101,118,105,99,101,47,119,115,100,108,34,32,120,109,108,110,115,58,116,101,118,99,112,112,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,67,114,101,97,116,101,80,117,108,108,80,111,105,110,116,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,101,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,69,118,101,110,116,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,110,99,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,78,111,116,105,102,105,99,97,116,105,111,110,67,111,110,115,117,109,101,114,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,110,112,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,78,111,116,105,102,105,99,97,116,105,111,110,80,114,111,100,117,99,101,114,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,112,112,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,80,117,108,108,80,111,105,110,116,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,112,112,115,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,80,117,108,108,80,111,105,110,116,83,117,98,115,99,114,105,112,116,105,111,110,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,34,32,120,109,108,110,115,58,116,101,118,112,115,109,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,80,97,117,115,97,98,108,101,83,117,98,115,99,114,105,112,116,105,111,110,77,97,110,97,103,101,114,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,119,115,110,116,61,34,104,116,116,112,58,47,47,100,111,99,115,46,111,97,115,105,115,45,111,112,101,110,46,111,114,103,47,119,115,110,47,98,45,50,34,32,120,109,108,110,115,58,116,101,118,115,109,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,83,117,98,115,99,114,105,112,116,105,111,110,77,97,110,97,103,101,114,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,105,109,103,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,50,48,47,105,109,97,103,105,110,103,47,119,115,100,108,34,32,120,109,108,110,115,58,116,108,115,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,100,105,115,112,108,97,121,47,119,115,100,108,34,32,120,109,108,110,115,58,116,109,100,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,100,101,118,105,99,101,73,79,47,119,115,100,108,34,32,120,109,108,110,115,58,116,112,116,122,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,50,48,47,112,116,122,47,119,115,100,108,34,32,120,109,108,110,115,58,116,114,99,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,114,101,99,111,114,100,105,110,103,47,119,115,100,108,34,32,120,109,108,110,115,58,116,114,112,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,114,101,112,108,97,121,47,119,115,100,108,34,32,120,109,108,110,115,58,116,114,116,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,109,101,100,105,97,47,119,115,100,108,34,32,120,109,108,110,115,58,116,114,118,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,114,101,99,101,105,118,101,114,47,119,115,100,108,34,32,120,109,108,110,115,58,116,115,101,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,115,101,97,114,99,104,47,119,115,100,108,34,32,120,109,108,110,115,58,116,101,114,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,114,114,111,114,34,32,120,109,108,110,115,58,119,115,115,101,61,34,104,116,116,112,58,47,47,100,111,99,115,46,111,97,115,105,115,45,111,112,101,110,46,111,114,103,47,119,115,115,47,50,48,48,52,47,48,49,47,111,97,115,105,115,45,50,48,48,52,48,49,45,119,115,115,45,119,115,115,101,99,117,114,105,116,121,45,115,101,99,101,120,116,45,49,46,48,46,120,115,100,34,32,120,109,108,110,115,58,116,110,115,49,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,116,111,112,105,99,115,34,62,60,102,97,117,108,116,99,111,100,101,62,83,79,65,80,45,69,78,86,58,67,108,105,101,110,116,60,47,102,97,117,108,116,99,111,100,101,62,60,102,97,117,108,116,115,116,114,105,110,103,62,72,84,84,80,32,71,69,84,32,109,101,116,104,111,100,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,60,47,102,97,117,108,116,115,116,114,105,110,103,62,60,47,83,79,65,80,45,69,78,86,58,70,97,117,108,116,62]},"status":405,"headers":{"server":"gSOAP/2.8","content-type":"text/xml; charset=utf-8","content-length":"2744","connection":"close"},"res":{"status":405,"statusCode":405,"statusMessage":"Method Not Allowed","headers":{"server":"gSOAP/2.8","content-type":"text/xml; charset=utf-8","content-length":"2744","connection":"close"},"size":2744,"aborted":false,"rt":15,"keepAliveSocket":false,"data":{"type":"Buffer","data":[60,63,120,109,108,32,118,101,114,115,105,111,110,61,34,49,46,48,34,32,101,110,99,111,100,105,110,103,61,34,85,84,70,45,56,34,63,62,10,60,83,79,65,80,45,69,78,86,58,70,97,117,108,116,32,120,109,108,110,115,58,83,79,65,80,45,69,78,86,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,51,47,48,53,47,115,111,97,112,45,101,110,118,101,108,111,112,101,34,32,120,109,108,110,115,58,83,79,65,80,45,69,78,67,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,51,47,48,53,47,115,111,97,112,45,101,110,99,111,100,105,110,103,34,32,120,109,108,110,115,58,120,115,105,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,49,47,88,77,76,83,99,104,101,109,97,45,105,110,115,116,97,110,99,101,34,32,120,109,108,110,115,58,120,115,100,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,49,47,88,77,76,83,99,104,101,109,97,34,32,120,109,108,110,115,58,119,115,97,53,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,53,47,48,56,47,97,100,100,114,101,115,115,105,110,103,34,32,120,109,108,110,115,58,120,109,105,109,101,61,34,104,116,116,112,58,47,47,116,101,109,112,117,114,105,46,111,114,103,47,120,109,105,109,101,46,120,115,100,34,32,120,109,108,110,115,58,120,111,112,61,34,104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,52,47,48,56,47,120,111,112,47,105,110,99,108,117,100,101,34,32,120,109,108,110,115,58,110,115,49,61,34,104,116,116,112,58,47,47,100,111,99,115,46,111,97,115,105,115,45,111,112,101,110,46,111,114,103,47,119,115,114,102,47,98,102,45,50,34,32,120,109,108,110,115,58,119,115,97,61,34,104,116,116,112,58,47,47,115,99,104,101,109,97,115,46,120,109,108,115,111,97,112,46,111,114,103,47,119,115,47,50,48,48,52,47,48,56,47,97,100,100,114,101,115,115,105,110,103,34,32,120,109,108,110,115,58,116,116,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,115,99,104,101,109,97,34,32,120,109,108,110,115,58,119,115,116,111,112,61,34,104,116,116,112,58,47,47,100,111,99,115,46,111,97,115,105,115,45,111,112,101,110,46,111,114,103,47,119,115,110,47,116,45,49,34,32,120,109,108,110,115,58,110,115,51,61,34,104,116,116,112,58,47,47,100,111,99,115,46,111,97,115,105,115,45,111,112,101,110,46,111,114,103,47,119,115,114,102,47,114,45,50,34,32,120,109,108,110,115,58,100,110,100,108,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,110,101,116,119,111,114,107,47,119,115,100,108,47,68,105,115,99,111,118,101,114,121,76,111,111,107,117,112,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,100,110,114,100,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,110,101,116,119,111,114,107,47,119,115,100,108,47,82,101,109,111,116,101,68,105,115,99,111,118,101,114,121,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,100,61,34,104,116,116,112,58,47,47,115,99,104,101,109,97,115,46,120,109,108,115,111,97,112,46,111,114,103,47,119,115,47,50,48,48,53,47,48,52,47,100,105,115,99,111,118,101,114,121,34,32,120,109,108,110,115,58,100,110,50,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,110,101,116,119,111,114,107,47,119,115,100,108,34,32,120,109,108,110,115,58,116,97,100,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,97,110,97,108,121,116,105,99,115,100,101,118,105,99,101,47,119,115,100,108,34,32,120,109,108,110,115,58,116,97,110,97,101,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,50,48,47,97,110,97,108,121,116,105,99,115,47,119,115,100,108,47,65,110,97,108,121,116,105,99,115,69,110,103,105,110,101,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,97,110,114,101,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,50,48,47,97,110,97,108,121,116,105,99,115,47,119,115,100,108,47,82,117,108,101,69,110,103,105,110,101,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,97,110,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,50,48,47,97,110,97,108,121,116,105,99,115,47,119,115,100,108,34,32,120,109,108,110,115,58,116,100,115,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,100,101,118,105,99,101,47,119,115,100,108,34,32,120,109,108,110,115,58,116,101,118,99,112,112,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,67,114,101,97,116,101,80,117,108,108,80,111,105,110,116,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,101,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,69,118,101,110,116,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,110,99,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,78,111,116,105,102,105,99,97,116,105,111,110,67,111,110,115,117,109,101,114,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,110,112,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,78,111,116,105,102,105,99,97,116,105,111,110,80,114,111,100,117,99,101,114,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,112,112,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,80,117,108,108,80,111,105,110,116,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,112,112,115,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,80,117,108,108,80,111,105,110,116,83,117,98,115,99,114,105,112,116,105,111,110,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,101,118,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,34,32,120,109,108,110,115,58,116,101,118,112,115,109,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,80,97,117,115,97,98,108,101,83,117,98,115,99,114,105,112,116,105,111,110,77,97,110,97,103,101,114,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,119,115,110,116,61,34,104,116,116,112,58,47,47,100,111,99,115,46,111,97,115,105,115,45,111,112,101,110,46,111,114,103,47,119,115,110,47,98,45,50,34,32,120,109,108,110,115,58,116,101,118,115,109,98,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,118,101,110,116,115,47,119,115,100,108,47,83,117,98,115,99,114,105,112,116,105,111,110,77,97,110,97,103,101,114,66,105,110,100,105,110,103,34,32,120,109,108,110,115,58,116,105,109,103,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,50,48,47,105,109,97,103,105,110,103,47,119,115,100,108,34,32,120,109,108,110,115,58,116,108,115,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,100,105,115,112,108,97,121,47,119,115,100,108,34,32,120,109,108,110,115,58,116,109,100,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,100,101,118,105,99,101,73,79,47,119,115,100,108,34,32,120,109,108,110,115,58,116,112,116,122,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,50,48,47,112,116,122,47,119,115,100,108,34,32,120,109,108,110,115,58,116,114,99,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,114,101,99,111,114,100,105,110,103,47,119,115,100,108,34,32,120,109,108,110,115,58,116,114,112,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,114,101,112,108,97,121,47,119,115,100,108,34,32,120,109,108,110,115,58,116,114,116,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,109,101,100,105,97,47,119,115,100,108,34,32,120,109,108,110,115,58,116,114,118,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,114,101,99,101,105,118,101,114,47,119,115,100,108,34,32,120,109,108,110,115,58,116,115,101,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,115,101,97,114,99,104,47,119,115,100,108,34,32,120,109,108,110,115,58,116,101,114,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,101,114,114,111,114,34,32,120,109,108,110,115,58,119,115,115,101,61,34,104,116,116,112,58,47,47,100,111,99,115,46,111,97,115,105,115,45,111,112,101,110,46,111,114,103,47,119,115,115,47,50,48,48,52,47,48,49,47,111,97,115,105,115,45,50,48,48,52,48,49,45,119,115,115,45,119,115,115,101,99,117,114,105,116,121,45,115,101,99,101,120,116,45,49,46,48,46,120,115,100,34,32,120,109,108,110,115,58,116,110,115,49,61,34,104,116,116,112,58,47,47,119,119,119,46,111,110,118,105,102,46,111,114,103,47,118,101,114,49,48,47,116,111,112,105,99,115,34,62,60,102,97,117,108,116,99,111,100,101,62,83,79,65,80,45,69,78,86,58,67,108,105,101,110,116,60,47,102,97,117,108,116,99,111,100,101,62,60,102,97,117,108,116,115,116,114,105,110,103,62,72,84,84,80,32,71,69,84,32,109,101,116,104,111,100,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,60,47,102,97,117,108,116,115,116,114,105,110,103,62,60,47,83,79,65,80,45,69,78,86,58,70,97,117,108,116,62]},"requestUrls":["http://192.168.192.231:1018/web/cgi-bin/hi3510/snap.cgi?&-getstream&"],"timing":null,"remoteAddress":"192.168.xxx.xxx","remotePort":1018,"socketHandledRequests":1,"socketHandledResponses":1}}
Ich hatte weiter oben gelesen, dass jemand Probleme mit dem vorbelegten Port innerhalb der Kamera hatte. Bei meiner Kamera kann ich ebenfalls nur bestimmte Ports auswählen.
Screenshot:
Ich habe auch schon ungehorsam versucht, den Onvif-Port auf 80 zu setzen. Das lässt er aber nicht zu.
Der Pfad in der Fehlermeldung "http://192.168.xxx.xxx:1018/web/cgi-bin/hi3510/snap.cgi?&-getstream&" lässt sich im Browser nicht aufrufen. Allerdings mit Port 80 funktioniert es. Dann bekomme ich einen Stream angezeigt. Daher tippe ich auf das Port-Problem.
Gibt es dafür eine Abhilfe, die ich überlesen oder nicht verstanden habe?
-
@mr-glorilla probier mal die github version da kann man ein snapshot port spezifzieren "Überschreiben Snapshot url port mit kamera port" muss aktiv sein