docs: add notes to proxy example

This commit is contained in:
and 2021-11-28 13:42:25 +05:45
parent 751df78607
commit c1d2aeded5
2 changed files with 8 additions and 1 deletions

View file

@ -37,6 +37,7 @@ $ npm install --save @discordjs/opus
- Lyrics 📃 - Lyrics 📃
- Multiple sources support ✌ - Multiple sources support ✌
- Play in multiple servers at the same time 🚗 - Play in multiple servers at the same time 🚗
- Does not inject anything to discord.js or your discord.js client
## [Documentation](https://discord-player.js.org) ## [Documentation](https://discord-player.js.org)
@ -193,6 +194,9 @@ const player = new Player(client, {
}); });
``` ```
> You may also create a simple proxy server and forward requests through it.
> See **[https://github.com/http-party/node-http-proxy](https://github.com/http-party/node-http-proxy)** for more info.
### Custom stream Engine ### Custom stream Engine
Discord Player by default uses **[node-ytdl-core](https://github.com/fent/node-ytdl-core)** for youtube and some other extractors for other sources. Discord Player by default uses **[node-ytdl-core](https://github.com/fent/node-ytdl-core)** for youtube and some other extractors for other sources.

View file

@ -14,3 +14,6 @@ const player = new Player(client, {
} }
}); });
``` ```
> You may also create a simple proxy server and forward requests through it.
> See **[https://github.com/http-party/node-http-proxy](https://github.com/http-party/node-http-proxy)** for more info.