MarshalX / tgcalls

Voice chats, private incoming and outgoing calls in Telegram for Developers
https://t.me/tgcallslib
GNU Lesser General Public License v3.0
521 stars 91 forks source link

Add the ability to change the volume #43

Closed MarshalX closed 3 years ago

MarshalX commented 3 years ago

Change the volume both for yourself and for other participants according to their ssrcs.

Try to implement reduce volume without administrator rights in the group. Change the volume of your local track. If we have administrator rights, send a volume status for visual display to all participants.

This task does not include changing the volume of all participants and processing their values when connecting / reconnecting from a part of the MTProto.

MarshalX commented 3 years ago

At the moment, it was not possible to control its volume locally. To change the volume, the permission to mange the voice chat in the chat is required

MarshalX commented 3 years ago

To use .set_my_volume() u need to install Pyrogram from git.

pip3 install git+https://github.com/pyrogram/pyrogram