Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
- <title></title>
- <script> var player;
- function init(){
- player = stbPlayerManager.list[0];
- gSTB.SetTopWin(0);
- player.play({uri: 'rtp://239.1.1.1:1234', solution: 'auto'});
- }
- var stbEvent = {
- onEvent : function (event) {
- console.log(event);
- if (event == 7) {
- gSTB.Debug('frameRate '+player.videoInfo.frameRate);
- gSTB.Debug('bitRate '+player.videoInfo.bitRate);
- gSTB.Debug('width '+player.videoInfo.width);
- gSTB.Debug('height '+player.videoInfo.height);
- gSTB.Debug('hPAR '+player.videoInfo.hPAR);
- gSTB.Debug('hPAR '+player.videoInfo.vPAR);
- }
- },
- event : 0
- }
- </script>
- </head>
- <body onload="init();">
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement