-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
132 lines (117 loc) · 4.37 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="./img/kurento.png" type="image/png" />
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="bower_components/ekko-lightbox/dist/ekko-lightbox.min.css">
<link rel="stylesheet" href="css/kurento.css">
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/ekko-lightbox/dist/ekko-lightbox.min.js"></script>
<script src="bower_components/adapter.js/adapter.js"></script>
<script src="bower_components/kurento-client/js/kurento-client.js"></script>
<script src="bower_components/kurento-utils/js/kurento-utils.js"></script>
<link href="http://vjs.zencdn.net/5.10.8/video-js.css" rel="stylesheet">
<!-- If you'd like to support IE8 -->
<script src="http://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>
<script src="./js/console.js"></script>
<script src="./js/index.js"></script>
<title>Kurento RTSP to WebRTC player</title>
</head>
<body>
<header>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"></button>
<a class="navbar-brand" href="./">Kurento Tutorial</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"></div>
</div>
</div>
</header>
<div class="container">
<div class="page-header">
<h1>Kurento RTSP to WebRTC player</h1>
</div>
<div id="video-controls" class="row">
<div class="col col-md-12">
<a id="start" href="#" class="btn btn-success"><span
class="glyphicon glyphicon-play"></span> Start</a>
<a id="stop" href="#" class="btn btn-danger">
<span class="glyphicon glyphicon-stop"></span> Stop</a>
<a id="snapshot" href="#" class="btn btn-info">
<span class="glyphicon glyphicon-info"></span> snapshot</a>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h3>Remote stream</h3>
<div id="video-container">
<!-- <video id="videoOutput" autoplay loop controls width="480px" height="360px"
poster="./img/webrtc.png"></video> -->
<video id="videoOutput" class="video-js" width="480px" height="360px" style="border:black solid 1px;" data-setup='{
"autoplay": true,
"controls": true,
"loop": true,
"controlBar": {
"BigPlayButton": false,
"CurrentTimeDisplay": true,
"TimeDivider": true,
"DurationDisplay": true,
"TextTrackDisplay": true
}
}' poster="./img/webrtc.png">
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a web browser that
<a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
</p>
</video>
</div>
</br>
Set source URL:
<input style="width:350px;" id="address" type="text">
</br>
</br>
</div>
<div class="col-md-6">
<h3>Screenshot</h3>
<div id="screenshot-container"></div>
</div>
<div class="row">
<div class="col-md-12">
<label class="control-label" for="console">Console</label>
<div id="console"></div>
</div>
</div>
</div>
<footer>
<div class="foot-fixed-bottom">
<div class="container text-center">
<hr />
<div class="row">© 2014 Kurento</div>
<div class="row">
<div class="col-md-4">
<a href="http://www.urjc.es"><img src="./img/urjc.gif" alt="Universidad Rey Juan Carlos" height="50px" /></a>
</div>
<div class="col-md-4">
<a href="http://www.kurento.org"><img src="./img/kurento.png" alt="Kurento" height="50px" /></a>
</div>
<div class="col-md-4">
<a href="http://www.naevatec.com"><img src="./img/naevatec.png" alt="Naevatec" height="50px" /></a>
</div>
</div>
</div>
</div>
</footer>
</div>
<script src="http://vjs.zencdn.net/5.10.8/video.js"></script>
<script src="./js/videocontrols.js"></script>
<script src="./js/screenshot.js"></script>
</body>
</html>