Live Stream Latency issues fixed

This commit is contained in:
killer069
2021-08-22 14:34:38 +05:30
parent a05ea18589
commit 6a380a7f54
4 changed files with 17 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ client.on('messageCreate', async message => {
/*
OR if you want to stream Live Video have less delay
let stream = await youtube.stream(yt_info[0].url, { actual_live : true })
let stream = await youtube.stream(yt_info[0].url, { low_latency : true })
OR if you want higher quality audio Live Stream
@@ -31,7 +31,7 @@ client.on('messageCreate', async message => {
OR both
let stream = await youtube.stream(yt_info[0].url, { actual_live : true ,preferred_quality : "480p"})
let stream = await youtube.stream(yt_info[0].url, { low_latency : true ,preferred_quality : "480p"})
*/
let resource = createAudioResource(stream.stream, {

View File

@@ -20,7 +20,7 @@ client.on('messageCreate', async message => {
/*
OR if you want to stream Live Video have less delay
let stream = await youtube.stream(args, { actual_live : true })
let stream = await youtube.stream(args, { low_latency : true })
OR if you want higher quality audio Live Stream
@@ -30,7 +30,7 @@ client.on('messageCreate', async message => {
OR both
let stream = await youtube.stream(args, { actual_live : true ,preferred_quality : "480p"})
let stream = await youtube.stream(args, { low_latency : true ,preferred_quality : "480p"})
*/
let resource = createAudioResource(stream.stream, {