Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug information? #11

Open
mattsfrey opened this issue Apr 5, 2016 · 4 comments
Open

Debug information? #11

mattsfrey opened this issue Apr 5, 2016 · 4 comments

Comments

@mattsfrey
Copy link

Hi,

Is there anyway to get debug information for what's happening with the player behind the scenes?. I am using the renderer with wcjs-prebuilt and pointing it at a HLS playlist but it just fails to play. There's no information available and requests don't even show up in chrome dev tools for some reason.

Is there anyway to gain some insight into what the player is failing on with this playlist?

@RSATom
Copy link
Contributor

RSATom commented Apr 5, 2016

if you are on Windows you could use https://technet.microsoft.com/en-us/sysinternals/debugview.aspx to see libvlc log

@RSATom
Copy link
Contributor

RSATom commented Apr 5, 2016

another way is to use onLogMessage added by RSATom/WebChimera.js@76cfed4 (unfortunately we forgot add it to wiki)

@mattsfrey
Copy link
Author

Thanks for the replies. I have tried passing in the ["-vvv"] for vlc options to the renderer and this provides some logging from VLC, loading modules, etc, but I will try hooking onLogMessage and see if anything additional shows up.

@mattsfrey
Copy link
Author

Throwing in a

player.onLogMessage = function(level, message, format) { console.log(level, message); }

Did wonders, got a lot of info now to work with. Thanks for the speedy replies!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants