mirror of https://github.com/asterisk/asterisk
In the WebSocket channel driver, the FLUSH_MEDIA command clears all frames from
the queue but does not reset the frame_queue_length counter.
As a result, the driver incorrectly thinks the queue is full after flushing,
which prevents new multimedia frames from being sent, especially after multiple
flush commands.
This fix sets frame_queue_length to 0 after flushing, ensuring the queue state
is consistent with its actual content.
Fixes: #1304
(cherry picked from commit f03421b03b
)
releases/22
parent
2a661446c4
commit
05128488ab
Loading…
Reference in new issue