Files
asterisk/channels
Ben Ford a79e5ab2e6 chan_websocket: Add media direction.
Currently, WebSockets both accept and send media without the option to
disable one or the other. This commit adds the ability to set the media
direction for a WebSocket, making it unidirectional or bidirectional
(the default). Direction is done from the point of view of the
application, NOT Asterisk. The allowed values are 'both', 'in', and
'out'. If media direction is 'both' (the default), Asterisk accepts and
sends media to the application. If it is 'in', Asterisk will drop any
media received from the application. If it is 'out', Asterisk will not
write any media frames to the application.

UserNote: WebSocket now supports media direction, allowing for
unidirectional media. This is done from the perspective of the
application and can be set via channel origination, external media, or
commands sent from the application. Check out
https://docs.asterisk.org/Configuration/Channel-Drivers/WebSocket/ for
more.
2026-02-26 15:55:56 +00:00
..
2021-11-19 09:02:06 -06:00
2025-02-20 21:46:40 +00:00
2025-02-20 21:46:40 +00:00
2025-02-20 21:46:40 +00:00
2025-02-20 21:46:40 +00:00