diff options
| author | Anton <anton@picapica.im> | 2026-08-17 02:01:44 +0400 |
|---|---|---|
| committer | Anton <anton@picapica.im> | 2026-08-17 02:01:44 +0400 |
| commit | 42e19508b62bed64bd427e1af4f631bd5b4ba58d (patch) | |
| tree | 2dcfc231d3697c1cc102b00ac6c6d3f4bf602b88 | |
| parent | 1b7b9d46c84c38cbf2df293113a687481e205585 (diff) | |
| download | pica-pica-42e19508b62bed64bd427e1af4f631bd5b4ba58d.tar.gz pica-pica-42e19508b62bed64bd427e1af4f631bd5b4ba58d.zip | |
pica-client: reset options sent status when call ends
| -rw-r--r-- | PICA_client.c | 2 |
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; } |
