-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Detail guide how to config file config.json #10
Comments
We will do it but currently working on other P2P functionality. Everything is very simple. Check the example: Most of the stuff is self-explanatory. |
Mind if I ask what other features potentially? |
Working on:
|
C++ implementation sounds great, best of luck I have a suggestion / request for P2P media loader, functionality for having a stream completely powered by P2P, somewhat like Acestream? One "server" has a source, which it to "clients" only via P2P, i.e. a WebRTC based connection to the server, for both the manifest as well as fragments. A partial way to do it is change the HTTP fragment probability to 0, but it still relies on the HTTP for the manifest ( I am trying to understand the library to see if I can do it myself, but seems a bit tricky. |
As far as I know, Ace Stream is not completely powered by P2P. In Ace Stream you have to stream video to their server. Initial video data is loaded from their server. You can see it when streaming stops - they loop the same few seconds of video each time you try to play the stream. P2P Media Loader has no vendor lock. You can stream through any server\CDN. I don't know production-ready completely serverless live P2P video streaming solutions. Bittorrent is working on it many years already. |
Yeah, that is true. Ace stream "contentIDs" need to be validated on their server with their black-box code. Thanks for the feedback, I shall continue to explore this field. Cheers |
I have clone your project to my centos 7 server (you can check via my httpd http://103.216.120.135:85/p2p/wt-tracker/). Then i install nodejs 12 then run 2 commands:
Then i try to start wt-tracker:
If i run wt-tracker without param: (you can check my demo p2p-media-loader from this link http://103.216.120.135:85/p2p/custom.html ) |
Try forcing a |
Thanks!. It work when i run wt-tracker without config.json But with config.json wt-tracker still failed to start |
Try removing the SSL configuration in your
I'll try and spin up a VPS with |
Ok thanks, it worked when i do as your guide |
I have no good error messages from the underlying uWebSockets.js library about problems with SSL keys and other stuff. That is why just report "failed to start the web server: App construction failed" |
I have tried to config ssl. then using it in my demo http://103.216.120.135:85/p2p/custom.html Could you guide me to fix this problem? |
That means your SSL certificate is not validated by global CA authorities. Browsers do not allow secure connections to certificates that have not been verified by a root CA. If you need a free SSL certificate for your domain you can check out Lets Encrypt |
Could you guide me create ssl cert with Lets Encrypt. I have been configured nginx with certbot and Lets Encrypt. It work well. But with wt-tracker i do not know how to config. |
By default, the certificates are placed in You can try pointing here as the path in your |
I do as your guide and new error issue: |
You certificate is signed to your domain. So, when you connect using a secure connection, you must specify your domain, such as |
I used a bunch of cloudflare flexible ssl for the domain of the tracker. For the tracker itself, I used a self-signed server certificate. everything works fine.
To create a self-signed server certificate you need to run the command (linux)
|
openssl rsa -in privkey.pem -out key.pem @Alexdrr how to generate privkey.pem |
My config for wss://tracker.novage.com.ua
How to use letsencrypt to get free certificates for your domain on your server you should read the guides. Google it. Many articles, many approaches. |
Where should I put this config.json? |
When I run |
You should run as |
|
It says that config.json file is missing in the working/current directory |
Detail guide how to config file config.json.
I can not config it
The text was updated successfully, but these errors were encountered: