123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <!DOCTYPE html>
- <html><head>
- <meta http-equiv="content-type" content="text/html; charset=gbk">
- <title>Video Test 10: RTSP Streaming</title>
- <script>
- function rotateMe() {
- i = 0;
- int = setInterval(
- function () {
- video.style.WebkitTransform = 'rotate(' + (i++ %360) + 'deg)';
- video.style.MozTransform = 'rotate(' + (i++ %360) + 'deg)';
- video.style.OTransform = 'rotate(' + (i++ %360) + 'deg)';
- }, 50);
- }
- function resetRotation() {
- video.style.WebkitTransform = 'rotate(0)';
- video.style.MozTransform = 'rotate(0)';
- video.style.OTransform = 'rotate(0)';
- }
- </script>
- </head>
- <body>
- </body>
- <script>
- var ws = new WebSocket('ws://60.232.192.24:559/openUrl/RDygh56');
- ws.onopen = function () {
- console.log('Á´½Ó³É¹¦');
- }
- ws.onmessage = function (evt) {
- console.log(evt);
- }
- </script>
- </html>
|