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

Function videojs.APIP2P.updateLeechers not work #2

Closed
phambanhan opened this issue May 22, 2015 · 3 comments
Closed

Function videojs.APIP2P.updateLeechers not work #2

phambanhan opened this issue May 22, 2015 · 3 comments

Comments

@phambanhan
Copy link

On demo page: http://pcdn.jairagne.ovh/ it's working fine. But when I setup on local, function videojs.APIP2P.updateLeechers not work.

Please help me.

Thanks

@Iragne
Copy link
Owner

Iragne commented May 22, 2015

I will check
Can you explain your error ?

@phambanhan
Copy link
Author

I see you have a web service:

var checkurl = "http://"+videojs.APIP2P.options.host+"/peerjs/url/"+window.btoa(url);

Maybe you miss this?

Thanks

@Iragne
Copy link
Owner

Iragne commented May 26, 2015

https://github.com/Iragne/PCDN/blob/master/server/peerjs-server/lib/server.js#L14-L19

Here the code are you sure to run correclty the server ?

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