VideoExpertsGroup / Chrome.RTSP.Player

Chrome RTSP player
https://www.videoexpertsgroup.com/
144 stars 54 forks source link

VXG Media Player Proxy is not started! #21

Open jsarunas opened 6 years ago

jsarunas commented 6 years ago

Hi guys,

Very interesting bug came on my colleague's Tom chrome browser. The interesting thing is that on my chrome browser RTSP stream is playing just fine and on my other colleague's machine it is also playing just fine.

We all have chrome with the same version: Version 62.0.3202.94 (Official Build) (64-bit) VXG Media Player extension is installed on all browsers with the same version: 1.8.41

Tom was playing that Big Bunny test stream on VLC Media player without problems but not VXG player on the page.

He was getting continuous error in the console: Player videoPlayer handleMessage: Player source error=-2 WSS status=0 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! Player videoPlayer handleMessage: waiting for VXG Media Player Proxy is starting WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net: :ERR_CONNECTION_REFUSED websocket issue And this is looped forever. It looks like JS is waiting for proxy which is not loaded for some reason on that browser.

I guess that something is wrong with pexe file or chrome permissions but not sure which of the controlling a load of pexe file into the browser.

Maybe someone already jumped on this stone and have a solution? I would be more thank helpful for any ideas as I ran out of my own.

Cheers

Kind Regards, Jonas

bleikher commented 6 years ago

Hi Jonas,

Most likely, VXG Media Player Proxy crashed. You can check by launching chrome task manager (SHIFT+ESC). In case VXG Media Player app got crashed, it could be restored by restart all chrome.exe processes. If the issue quickly reproduced, could you please start chrome in debug mode by launching the script ( https://www.dropbox.com/s/y906qp445i94zlm/start_chrome.zip?dl=0 ): (for Windows)

  1. stop all chrome processes
  2. create c:\log\nacl\ folder
  3. launch the chrome in debug mode, i.e run start_chrome_debug.bat
  4. reproduce the issue
  5. send the log files from c:\log\nacl* to me.

Thanks, Alexey Bleikher Solution Architect | VXG www.videoexpertsgroup.com

jsarunas commented 6 years ago

Thanks Alexey for your light speed support ;) We will try to investigate and send you logs.

Cheers

Have a nice weekend

Kind Regards, Jonas

-- Jonas Sarunas Developer, VoiceHIT (m) +370.614.06180 www.BetterDayHealth.com http://www.betterdayhealth.com/

On Fri, Nov 24, 2017 at 11:25 AM, Alexey Bleikher notifications@github.com wrote:

Hi Jonas,

Most likely, VXG Media Player Proxy crashed. You can check by launching chrome task manager (SHIFT+ESC). In case VXG Media Player app got crashed, it could be restored by restart all chrome.exe processes. If the issue quickly reproduced, could you please start chrome in debug mode by launching the script ( https://www.dropbox.com/s/ y906qp445i94zlm/start_chrome.zip?dl=0 ): (for Windows)

  1. stop all chrome processes
  2. create c:\log\nacl\ folder
  3. launch the chrome in debug mode, i.e run start_chrome_debug.bat
  4. reproduce the issue
  5. send the log files from c:\log\nacl* to me.

Thanks, Alexey Bleikher Solution Architect | VXG www.videoexpertsgroup.com

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/VideoExpertsGroup/VXG.Chrome-RTSP-Player/issues/21#issuecomment-346781919, or mute the thread https://github.com/notifications/unsubscribe-auth/AXGOyDnxmyJ_HdUDOzIygf5xMUIssMkTks5s5oufgaJpZM4QphkV .

jsarunas commented 6 years ago

Hi Alexey,

I tried to run that batch file.

vxgplayer isFrame: true vxgplayer-1.8.40.js:1383 vxgplayer browserSupportsPluginPnacl: true vxgplayer-1.8.40.js:184 Player videoPlayer - init new player QSystemDisplay:1 GET http://localhost/Scripts/Html5Video/VGXMediaPlayer/Extension/media_player_unstripped.bc 404 (Not Found) Display:1 NativeClient: PnaclCoordinator: pexe load failed (pp_error=-2).

It looks like I am missing a file media_player_unstripped.bc

Maybe you know where I can get it from?

Thanks a lot again

Kind Regards, Jonas

-- Jonas Sarunas Developer, VoiceHIT (m) +370.614.06180 www.BetterDayHealth.com http://www.betterdayhealth.com/

On Fri, Nov 24, 2017 at 11:33 AM, Jonas Sarunas jonas.sarunas@voicehit.com wrote:

Thanks Alexey for your light speed support ;) We will try to investigate and send you logs.

Cheers

Have a nice weekend

Kind Regards, Jonas

-- Jonas Sarunas Developer, VoiceHIT (m) +370.614.06180 www.BetterDayHealth.com http://www.betterdayhealth.com/

On Fri, Nov 24, 2017 at 11:25 AM, Alexey Bleikher < notifications@github.com> wrote:

Hi Jonas,

Most likely, VXG Media Player Proxy crashed. You can check by launching chrome task manager (SHIFT+ESC). In case VXG Media Player app got crashed, it could be restored by restart all chrome.exe processes. If the issue quickly reproduced, could you please start chrome in debug mode by launching the script ( https://www.dropbox.com/s/y906 qp445i94zlm/start_chrome.zip?dl=0 ): (for Windows)

  1. stop all chrome processes
  2. create c:\log\nacl\ folder
  3. launch the chrome in debug mode, i.e run start_chrome_debug.bat
  4. reproduce the issue
  5. send the log files from c:\log\nacl* to me.

Thanks, Alexey Bleikher Solution Architect | VXG www.videoexpertsgroup.com

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/VideoExpertsGroup/VXG.Chrome-RTSP-Player/issues/21#issuecomment-346781919, or mute the thread https://github.com/notifications/unsubscribe-auth/AXGOyDnxmyJ_HdUDOzIygf5xMUIssMkTks5s5oufgaJpZM4QphkV .

bleikher commented 6 years ago

Hi,

It means, that pnacl folder from vxgplayer-1.8.40.zip was not copied to webserver. These 2 files (media_player.nmf media_player.pexe) have to be located at webserver exactly as they are in archive.

Thanks, Alexey

jsarunas commented 6 years ago

Hi Alexey,

Those two files: media_player.nmf AND media_player.pexe are in the folder but third file media_player_unstripped.bc is not as it doesn't exist in that zip archive. I downloaded zip from your site: https://www.videoexpertsgroup.com/nacl_player_api/ https://www.videoexpertsgroup.com/nacl_player_api/vxgplayer-1.8.40.zip

The only change I made is renaming folder FROM .../pnacl/Release/ TO .../Extension/ as folder Release has some conflicts with our solution(Visual Studio 2015) when compiling projects. Could it have some influence because of folder renaming?

Cheers Jonas

-- Jonas Sarunas Developer, VoiceHIT (m) +370.614.06180 www.BetterDayHealth.com http://www.betterdayhealth.com/

On Fri, Nov 24, 2017 at 1:38 PM, Alexey Bleikher notifications@github.com wrote:

Hi,

It means, that pnacl folder from vxgplayer-1.8.40.zip was not copied to webserver. These 2 files (media_player.nmf media_player.pexe) have to be located at webserver exactly as they are in archive.

Thanks, Alexey

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/VideoExpertsGroup/VXG.Chrome-RTSP-Player/issues/21#issuecomment-346809480, or mute the thread https://github.com/notifications/unsubscribe-auth/AXGOyA7TxNc4TLTKq4zG9PDc1trxp5rAks5s5qqagaJpZM4QphkV .

bleikher commented 6 years ago

Hi Jonas,

So, in your case the paths to these files should be changed in index.html, please look at vxgplayer(playerId, { url: '', nmf_path: 'media_player.nmf', nmf_src: 'pnacl/Release/media_player.nmf', latency: 300000, aspect_ratio_mode: 1, autohide: 3, controls: true, avsync: true, autoreconnect: 1 }).ready(function(){ console.log(' =>ready player '+playerId); vxgplayer(playerId).src(document.getElementById('url_input').value); vxgplayer(playerId).play(); console.log(' <=ready player '+playerId); });

Pay attention to these part; nmf_path: 'media_player.nmf', nmf_src: 'pnacl/Release/media_player.nmf',

Nevertheless you'd better no change this in final 'dist', because maybe there are other dependencies in vxgplayer.js .

Thanks, Alexey

jsarunas commented 6 years ago

Hi Alexey,

Yes, that nmf_src parameter represents correctly path to the nmf file but player plays RTSP on one machine but not on other. Problem is that to run your script provided it looks for file *media_player_unstripped.*bc which doesn't exist in that folder. File media_player_unstripped.bc is not present in archive https://www.videoexpertsgroup.com/nacl_player_api/vxgplayer-1.8.40.zip which I downloaded from your site https://www.videoexpertsgroup. com/nacl_player_api/

Can I get a file media_player_unstripped.bc from somewhere else please?

Kind Regards, Jonas

-- Jonas Sarunas Developer, VoiceHIT (m) +370.614.06180 www.BetterDayHealth.com http://www.betterdayhealth.com/

On Sat, Nov 25, 2017 at 4:59 AM, Alexey Bleikher notifications@github.com wrote:

Hi Jonas,

So, in your case the paths to these files should be changed in index.html, please look at vxgplayer(playerId, { url: '', nmf_path: 'media_player.nmf', nmf_src: 'pnacl/Release/media_player.nmf', latency: 300000, aspect_ratio_mode: 1, autohide: 3, controls: true, avsync: true, autoreconnect: 1 }).ready(function(){ console.log(' =>ready player '+playerId); vxgplayer(playerId).src(document.getElementById('url_input').value); vxgplayer(playerId).play(); console.log(' <=ready player '+playerId); });

Pay attention to these part; nmf_path: 'media_player.nmf', nmf_src: 'pnacl/Release/media_player.nmf',

Nevertheless you'd better no change this in final 'dist', because maybe there are other dependencies in vxgplayer.js .

Thanks, Alexey

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/VideoExpertsGroup/VXG.Chrome-RTSP-Player/issues/21#issuecomment-346914935, or mute the thread https://github.com/notifications/unsubscribe-auth/AXGOyNivAq6y66hXzAHIQbY8BsHeAnqTks5s54KPgaJpZM4QphkV .

bleikher commented 6 years ago

Hi,

There aren't necessary to playback. Nevertheless here it https://www.dropbox.com/s/w9lhbrqihveaay0/unstripped.zip?dl=0

Thanks, Alexey

jsarunas commented 6 years ago

Hi Alexey,

I attached log files to this email. log-nacl.zip logs were made while executing start_chrome_debug.bat chrome-console.txt - logs from chrome console

Scenario executed: Loaded page with VXG player and started to get errors on console: WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting After some time i get page with instructions to install player or visit webstore. When I click install link chrome opens new tab( https://www.videoexpertsgroup.com/player_start/) and installs player afterwards my page with video player reloads and starts play video.

Cheers

Kind Regards, Jonas

-- Jonas Sarunas Developer, VoiceHIT (m) +370.614.06180 www.BetterDayHealth.com http://www.betterdayhealth.com/

On Mon, Nov 27, 2017 at 12:16 PM, Alexey Bleikher notifications@github.com wrote:

Hi,

There aren't necessary to playback. Nevertheless here it https://www.dropbox.com/s/w9lhbrqihveaay0/unstripped.zip?dl=0

Thanks, Alexey

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/VideoExpertsGroup/VXG.Chrome-RTSP-Player/issues/21#issuecomment-347137504, or mute the thread https://github.com/notifications/unsubscribe-auth/AXGOyCBCNGo-K8So6kQKuiX5y0a42fYkks5s6owQgaJpZM4QphkV .

Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting Display:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source error=-2 WSS status=0 VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VXG Media Player Proxy is not started! VM2786 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: wait for VXG Media Player Proxy is starting VM2786 vxgplayer-1.8.40.js:1240 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED (anonymous) @ VM2786 vxgplayer-1.8.40.js:1240 VM2786 vxgplayer-1.8.40.js:1171 start player VM2695 jquery-1.12.4.js:10208 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. send @ VM2695 jquery-1.12.4.js:10208 ajax @ VM2695 jquery-1.12.4.js:9738 ajax @ VM2776 jquery.signalR-2.2.1.js:1163 ajaxAbort @ VM2776 jquery.signalR-2.2.1.js:1419 abort @ VM2776 jquery.signalR-2.2.1.js:2011 stop @ VM2776 jquery.signalR-2.2.1.js:922 (anonymous) @ VM2776 jquery.signalR-2.2.1.js:628 dispatch @ VM2695 jquery-1.12.4.js:5226 elemData.handle @ VM2695 jquery-1.12.4.js:4878 vxgplayer-1.8.40.js:1382 vxgplayer isFrame: true vxgplayer-1.8.40.js:1383 vxgplayer browserSupportsPluginPnacl: true vxgplayer-1.8.40.js:184 Player videoPlayer - init new player vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player Module is ready. vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: PLAYER_INITED vxgplayer-1.8.40.js:292 Player videoPlayer - moduleDidLoad vxgplayer-1.8.40.js:237 Player videoPlayer - loadSettings vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[setversion] 1.8.40 vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[setconnection_timeout] 5000 vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[setconnection_udp] 1 vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[setaspectratio] 1 vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[setavsync] 0 vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[setlatency] 300000 vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[startwebsclient] 8778 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setversion:1.8.40 result=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setconnection_timeout:5000 setconnection_timeout=5000 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setconnection_timeout:5000 result=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setconnection_udp:1 setconnection_udp=1 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setconnection_udp:1 result=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setaspectratio:1 aspectratio_mode=1 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setaspectratio:1 result=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setavsync:0 is_avsync=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setavsync:0 result=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setlatency:300000 result=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand startwebsclient:8778 result=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: VERSION_APP 1.8.41 vxgplayer-1.8.40.js:436 =VERSION_APP 1.8.41 vxgplayer-1.8.40.js:308 Player videoPlayer - playerDidLoad VGXController.js:98 =>ready player videoPlayer VGXController.js:47 0 VGXController.js:49 1.8.40 VGXController.js:51 1.8.41 vxgplayer-1.8.40.js:816 Player videoPlayer src=rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov autostart=false is_opened=false vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[stop] 0 vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[setvolume] 0.8 vxgplayer-1.8.40.js:644 self.play self.m.url=rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov self.m.is_opened=false vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[open] rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[play] 0 vxgplayer-1.8.40.js:151 Player: videoPlayer cmd=[setvolume] 0.8 VGXController.js:113 <=ready player videoPlayer vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand stop:0 result=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setvolume:0.8 result=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: PLAYER_CONNECTING VGXController.js:62 NEW READY STATE: 1 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player is openning url(rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov) ... vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: PLAYER_STOPPING vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: PLAYER_STOPPED VGXController.js:62 NEW READY STATE: 0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: PLAYER_CONNECTING VGXController.js:62 NEW READY STATE: 1 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: playerCommand setvolume:0.8 result=0 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Player source opened. result=0 WSS status=7 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: PLAYER_PLAYING VGXController.js:62 NEW READY STATE: 2 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: DecodeDone OK vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 30, fps: 24.1086, avsync: off, buf: 17, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 60, fps: 23.8042, avsync: off, buf: 17, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 90, fps: 23.6529, avsync: off, buf: 19, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered audio 5000 ms (stat period 5000 ms): Max Latency: 300000, Actual Latency: 1014, Dropped: 0, Silence: 0, Packets: 10, Packet dur: 100 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 120, fps: 23.6167, avsync: off, buf: 19, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 150, fps: 23.6104, avsync: off, buf: 18, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 180, fps: 23.5878, avsync: off, buf: 19, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 210, fps: 23.5453, avsync: off, buf: 20, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered audio 10000 ms (stat period 5000 ms): Max Latency: 300000, Actual Latency: 1072, Dropped: 0, Silence: 0, Packets: 11, Packet dur: 100 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 240, fps: 23.5659, avsync: off, buf: 20, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 270, fps: 23.5267, avsync: off, buf: 23, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 300, fps: 23.5168, avsync: off, buf: 22, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 330, fps: 23.4921, avsync: off, buf: 25, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered audio 15000 ms (stat period 5000 ms): Max Latency: 300000, Actual Latency: 1072, Dropped: 0, Silence: 0, Packets: 11, Packet dur: 100 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 360, fps: 23.5051, avsync: off, buf: 24, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 390, fps: 23.5092, avsync: off, buf: 25, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 420, fps: 23.4887, avsync: off, buf: 27, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 450, fps: 23.5059, avsync: off, buf: 25, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered audio 20000 ms (stat period 5000 ms): Max Latency: 300000, Actual Latency: 1080, Dropped: 0, Silence: 0, Packets: 11, Packet dur: 100 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 480, fps: 23.5041, avsync: off, buf: 26, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 510, fps: 23.5048, avsync: off, buf: 27, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 540, fps: 23.5075, avsync: off, buf: 27, pending: 5 vxgplayer-1.8.40.js:401 Player videoPlayer handleMessage: Rendered video frames: 570, fps: 23.5036, avsync: off, buf: 28, pending: 5

harutk7 commented 5 years ago

There is line of code in VXG js commented as // magic run app

Uncomment those line of codes and it should work!

ccsnake commented 5 years ago

Is there any progress? I have same problem.thx

harutk7 commented 5 years ago

@ccsnake search for (magic run app) in js, there is a such a comment and uncomment the code below it. it should help.

harutk7 commented 5 years ago

@ccsnake what kinda task do you have? maybe i can help you there?

ccsnake commented 5 years ago

@harutk7 thanks for your help :)

Part of my js code as follow:

function someInit(){
           function createPlayer(dom, playerId, opt) {
                var div = document.createElement('div');
                div.setAttribute("id", playerId);
                div.setAttribute("width", "480");
                div.setAttribute("height", "320");

                div.setAttribute("class", "vxgplayer");
                var runtimePlayers = document.getElementById(dom);
                runtimePlayers.appendChild(div);

              vxgplayer(playerId, {
                    url: '',
                    nmf_path: 'media_player.nmf',
                    nmf_src: 'pnacl/Release/media_player.nmf',
                    latency: 300000,
                    aspect_ratio_mode: 1,
                    autohide: 3,
                    controls: true,
                    avsync: true,
                    autoreconnect: 1,
                    debug: true,
                }).ready(function () {
                    console.log(' =>ready player ' + playerId);
                    vxgplayer(playerId).src(opt.url);
                    vxgplayer(playerId).play();
                    console.log(' <=ready player ' + playerId);
                });
            }

            let prevDiv = document.getElementById("preview");
            if (prevDiv) {
                vxgplayer("preview").dispose();
                prevDiv.remove();
                console.log("dispose preview");
            }
            createPlayer("runtimePlayers", "preview", { url: "rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov"});
}

console log:

vxgplayer-1.8.54.js:427 Player preview handleMessage: Player source error=-2 WSS status=0 msg MessageEvent {isTrusted: true, data: "Player source error=-2 WSS status=0", origin: "", lastEventId: "", source: null, …} vxgplayer-1.8.54.js:427 Player preview handleMessage: VXG Media Player Proxy is not started! msg MessageEvent {isTrusted: true, data: "VXG Media Player Proxy is not started!", origin: "", lastEventId: "", source: null, …} vxgplayer-1.8.54.js:427 Player preview handleMessage: wait for VXG Media Player Proxy is starting msg MessageEvent {isTrusted: true, data: "wait for VXG Media Player Proxy is starting", origin: "", lastEventId: "", source: null, …} ssyj.html?m=1:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Connection closed before receiving a handshake response vxgplayer-1.8.54.js:427 Player preview handleMessage: Player source error=-2 WSS status=0 msg MessageEvent {isTrusted: true, data: "Player source error=-2 WSS status=0", origin: "", lastEventId: "", source: null, …} vxgplayer-1.8.54.js:427 Player preview handleMessage: VXG Media Player Proxy is not started! msg MessageEvent {isTrusted: true, data: "VXG Media Player Proxy is not started!", origin: "", lastEventId: "", source: null, …} vxgplayer-1.8.54.js:427 Player preview handleMessage: wait for VXG Media Player Proxy is starting msg MessageEvent {isTrusted: true, data: "wait for VXG Media Player Proxy is starting", origin: "", lastEventId: "", source: null, …} ssyj.html?m=1:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Connection closed before receiving a handshake response vxgplayer-1.8.54.js:427 Player preview handleMessage: Player source error=-2 WSS status=0 msg MessageEvent {isTrusted: true, data: "Player source error=-2 WSS status=0", origin: "", lastEventId: "", source: null, …} vxgplayer-1.8.54.js:427 Player preview handleMessage: VXG Media Player Proxy is not started! msg MessageEvent {isTrusted: true, data: "VXG Media Player Proxy is not started!", origin: "", lastEventId: "", source: null, …} vxgplayer-1.8.54.js:427 Player preview handleMessage: wait for VXG Media Player Proxy is starting msg MessageEvent {isTrusted: true, data: "wait for VXG Media Player Proxy is starting", origin: "", lastEventId: "", source: null, …} ssyj.html?m=1:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Connection closed before receiving a handshake response vxgplayer-1.8.54.js:427 Player preview handleMessage: Player source error=-2 WSS status=0 msg MessageEvent {isTrusted: true, data: "Player source error=-2 WSS status=0", origin: "", lastEventId: "", source: null, …} vxgplayer-1.8.54.js:427 Player preview handleMessage: VXG Media Player Proxy is not started! msg MessageEvent {isTrusted: true, data: "VXG Media Player Proxy is not started!", origin: "", lastEventId: "", source: null, …} vxgplayer-1.8.54.js:427 Player preview handleMessage: wait for VXG Media Player Proxy is starting msg MessageEvent {isTrusted: true, data: "wait for VXG Media Player Proxy is starting", origin: "", lastEventId: "", source: null, …} ssyj.html?m=1:1 WebSocket connection to 'ws://127.0.0.1:8778/' failed: Connection closed before receiving a handshake response vxgplayer-1.8.54.js:427 Player preview handleMessage: Player source error=-2 WSS status=0 msg MessageEvent {isTrusted: true, data: "Player source error=-2 WSS status=0", origin: "", lastEventId: "", source: null, …} vxgplayer-1.8.54.js:427 Player preview handleMessage: VXG Media Player Proxy is not started! msg MessageEvent {isTrusted: true, data: "VXG Media Player Proxy is not started!", origin: "", lastEventId: "", source: null, …}

this is my naci log:

nacl.log nacl_stdout.log nacl_stderr.log

WillingtonH commented 5 years ago

hola buenas noches, disculpen la pregunta si es tonta, quería preguntar porque? si instalo vxg player en xampp, httdocs, si me abre mi archivo rtsp en mi pagina web, perooo si lo quiero abrir en otra pc que esta en red ya no me abre da vueltas y luego sale error "Problem with network" por favor si alguien puede ayudarme les agradecería

fangxian commented 5 years ago

I have the same problem. WebSocket connection to 'ws://127.0.0.1:8778/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED vxgplayer-1.8.31.js:403 Player vxg_media_player1 handleMessage: Player source error=-2 WSS status=0 vxgplayer-1.8.31.js:403 Player vxg_media_player1 handleMessage: VXG Media Player Proxy is not started! vxgplayer-1.8.31.js:403 Player vxg_media_player1 handleMessage: wait for VXG Media Player Proxy is starting