summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-08-17 02:01:44 +0400
committerAnton <anton@picapica.im>2026-08-17 02:01:44 +0400
commit42e19508b62bed64bd427e1af4f631bd5b4ba58d (patch)
tree2dcfc231d3697c1cc102b00ac6c6d3f4bf602b88
parent1b7b9d46c84c38cbf2df293113a687481e205585 (diff)
downloadpica-pica-42e19508b62bed64bd427e1af4f631bd5b4ba58d.tar.gz
pica-pica-42e19508b62bed64bd427e1af4f631bd5b4ba58d.zip
pica-client: reset options sent status when call ends
-rw-r--r--PICA_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/PICA_client.c b/PICA_client.c
index 3336376..cc26b25 100644
--- a/PICA_client.c
+++ b/PICA_client.c
@@ -1836,6 +1836,8 @@ static unsigned int procmsg_CALLFIN(unsigned char* buf, unsigned int nb, void *p
chan->call_state = PICA_CALL_STATE_IDLE;
callbacks.call_hangup_cb(chan->peer_id);
+ chan->call_audio_params_are_set = 0;
+ chan->call_video_params_are_set = 0;
return 1;
}