add audio quality in audio calls also
This commit is contained in:
parent
c0b93680c6
commit
ff2d251bea
@ -49,6 +49,7 @@ async def skip_current_song(chat_id):
|
|||||||
chat_id,
|
chat_id,
|
||||||
AudioPiped(
|
AudioPiped(
|
||||||
url,
|
url,
|
||||||
|
HighQualityAudio(),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
elif type == "Video":
|
elif type == "Video":
|
||||||
@ -59,7 +60,12 @@ async def skip_current_song(chat_id):
|
|||||||
elif Q == 360:
|
elif Q == 360:
|
||||||
hm = LowQualityVideo()
|
hm = LowQualityVideo()
|
||||||
await call_py.change_stream(
|
await call_py.change_stream(
|
||||||
chat_id, AudioVideoPiped(url, HighQualityAudio(), hm)
|
chat_id,
|
||||||
|
AudioVideoPiped(
|
||||||
|
url,
|
||||||
|
HighQualityAudio(),
|
||||||
|
hm,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
pop_an_item(chat_id)
|
pop_an_item(chat_id)
|
||||||
return [songname, link, type]
|
return [songname, link, type]
|
||||||
|
Loading…
Reference in New Issue
Block a user