add audio quality in audio calls also

This commit is contained in:
Hunter Opp 2022-01-31 01:39:11 +05:30 committed by GitHub
parent c0b93680c6
commit ff2d251bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,7 @@ async def skip_current_song(chat_id):
chat_id,
AudioPiped(
url,
HighQualityAudio(),
),
)
elif type == "Video":
@ -59,7 +60,12 @@ async def skip_current_song(chat_id):
elif Q == 360:
hm = LowQualityVideo()
await call_py.change_stream(
chat_id, AudioVideoPiped(url, HighQualityAudio(), hm)
chat_id,
AudioVideoPiped(
url,
HighQualityAudio(),
hm,
),
)
pop_an_item(chat_id)
return [songname, link, type]