1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 00:56:34 +01:00

Per-call pending status and state handling

* Proper handling of incoming video calls.
* Add command /vcall for initiating video calls
* Add command /res command to set video resolution
This commit is contained in:
zugz (tox)
2020-04-14 00:00:00 +00:00
parent 7dead5ec96
commit 142ce642f0
10 changed files with 547 additions and 502 deletions

View File

@@ -92,7 +92,9 @@ static struct cmd_func chat_commands[] = {
{ "/bitrate", cmd_bitrate },
#endif /* AUDIO */
#ifdef VIDEO
{ "/vcall", cmd_vcall },
{ "/video", cmd_video },
{ "/res", cmd_res },
#endif /* VIDEO */
{ NULL, NULL },
};
@@ -105,7 +107,7 @@ static struct cmd_func conference_commands[] = {
{ "/mute", cmd_conference_mute },
{ "/sense", cmd_conference_sense },
#endif /* AUDIO */
{ NULL, NULL },
{ NULL, NULL },
};