Notice: Firmware Links Under Maintenance We are currently undergoing maintenance on all firmware links. If any links are inaccessible, please email or contact Tech Support for the firmware. We appreciate your patience during the maintenance, thank you for your understanding.

Difference between revisions of "Live Demo Test"

(Testbed)
(Testbed)
Line 6: Line 6:
 
http://65.23.154.147:8080/uVMS/ViewHTML5WebRTC.aspx?IP=65.23.154.147&Alias=uVMS_79ae8666665aa4c3af58&Name=Dahua-HDBW4231F-E2-M
 
http://65.23.154.147:8080/uVMS/ViewHTML5WebRTC.aspx?IP=65.23.154.147&Alias=uVMS_79ae8666665aa4c3af58&Name=Dahua-HDBW4231F-E2-M
  
{{#iDisplay:http://65.23.154.147:8080/uVMS/ViewHTML5WebRTC.aspx?IP=65.23.154.147&Alias=uVMS_79ae8666665aa4c3af58&Name=Dahua-HDBW4231F-E2-M|100%|600|SAFE}}
+
<html>
 +
<!DOCTYPE html>
 +
 
 +
<html xmlns="http://www.w3.org/1999/xhtml">
 +
<head><title>
 +
HTML5 WebRTC Player
 +
</title><meta http-equiv="Content-Type" content="text/html;charset=utf-8">
 +
    <script type="text/javascript" src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
 +
    <script type="text/javascript" src="HTML5Player/unrealwebrtcplayer.js"></script>
 +
 
 +
    <script type="text/javascript">
 +
        var webrtcPlayer = null;
 +
 
 +
        function OnMetadata()
 +
        {
 +
            var remoteVideo = document.getElementById("remoteVideo");
 +
            remoteVideo.width = Math.max(remoteVideo.videoWidth, 500);
 +
            remoteVideo.height = Math.max(remoteVideo.videoHeight, 300);
 +
 
 +
            window.resizeTo(remoteVideo.width + 50, remoteVideo.height + 200);
 +
        }
 +
    </script>
 +
</head>
 +
 
 +
<body>
 +
 
 +
  <div align="center"><span id="LabelCam">Dahua-HDBW4231F-E2-M</span></div><br>
 +
 
 +
  <div id="container">
 +
 
 +
    <video style="background-color:black" id="remoteVideo" width="800" height="600" autoplay playsinline controls onloadedmetadata="OnMetadata()"></video>
 +
 
 +
    <script type="text/javascript">
 +
 
 +
        webrtcPlayer = new UnrealWebRTCPlayer("remoteVideo", "uVMS_79ae8666665aa4c3af58", "", "65.23.154.147", "80", 0, true, "tcp");
 +
        webrtcPlayer.Play();
 +
 
 +
    </script>
 +
 
 +
  </div>
 +
 
 +
</body>
 +
</html>

Revision as of 17:02, 27 September 2018

Live Demo Test

URL

http://70.168.153.130/cgi-bin/mjpg/video.cgi?[channel=1]&subtype=1

Testbed

http://65.23.154.147:8080/uVMS/ViewHTML5WebRTC.aspx?IP=65.23.154.147&Alias=uVMS_79ae8666665aa4c3af58&Name=Dahua-HDBW4231F-E2-M

HTML5 WebRTC Player

Dahua-HDBW4231F-E2-M