This commit is contained in:
Hunter XDD 2021-11-01 19:34:49 +05:30 committed by GitHub
parent b962c478ff
commit 1ec42e52c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,11 @@ async def vplay(client, m: Message):
amaze = LowQualityVideo() amaze = LowQualityVideo()
await call_py.join_group_call( await call_py.join_group_call(
chat_id, chat_id,
AudioVideoPiped(dl, HighQualityAudio(), amaze), AudioVideoPiped(
dl,
HighQualityAudio(),
amaze,
),
stream_type=StreamType().pulse_stream, stream_type=StreamType().pulse_stream,
) )
add_to_queue(chat_id, songname, dl, link, "Video", Q) add_to_queue(chat_id, songname, dl, link, "Video", Q)
@ -158,7 +162,11 @@ async def vplay(client, m: Message):
try: try:
await call_py.join_group_call( await call_py.join_group_call(
chat_id, chat_id,
AudioVideoPiped(ytlink, HighQualityAudio(), amaze), AudioVideoPiped(
ytlink,
HighQualityAudio(),
amaze,
),
stream_type=StreamType().pulse_stream, stream_type=StreamType().pulse_stream,
) )
add_to_queue(chat_id, songname, ytlink, url, "Video", Q) add_to_queue(chat_id, songname, ytlink, url, "Video", Q)
@ -203,7 +211,11 @@ async def vplay(client, m: Message):
try: try:
await call_py.join_group_call( await call_py.join_group_call(
chat_id, chat_id,
AudioVideoPiped(ytlink, HighQualityAudio(), amaze), AudioVideoPiped(
ytlink,
HighQualityAudio(),
amaze
),
stream_type=StreamType().pulse_stream, stream_type=StreamType().pulse_stream,
) )
add_to_queue(chat_id, songname, ytlink, url, "Video", Q) add_to_queue(chat_id, songname, ytlink, url, "Video", Q)
@ -285,7 +297,11 @@ async def vstream(client, m: Message):
try: try:
await call_py.join_group_call( await call_py.join_group_call(
chat_id, chat_id,
AudioVideoPiped(livelink, HighQualityAudio(), amaze), AudioVideoPiped(
livelink,
HighQualityAudio(),
amaze
),
stream_type=StreamType().pulse_stream, stream_type=StreamType().pulse_stream,
) )
add_to_queue(chat_id, "Live Stream", livelink, link, "Video", Q) add_to_queue(chat_id, "Live Stream", livelink, link, "Video", Q)