1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-09-16 07:26:53 +02: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

@@ -101,11 +101,18 @@ static const char *chat_cmd_list[] = {
"/sdev",
"/mute",
"/sense",
"/video",
"/bitrate",
#endif /* AUDIO */
#ifdef VIDEO
"/res",
"/vcall",
"/video",
#endif /* VIDEO */
#ifdef PYTHON
"/run",
@@ -131,9 +138,6 @@ void kill_chat_window(ToxWindow *self, Tox *m)
StatusBar *statusbar = self->stb;
#ifdef AUDIO
#ifdef VIDEO
stop_video_stream(self);
#endif /* VIDEO */
stop_current_call(self);
#endif /* AUDIO */