diff --git a/docs/Configuration/Channel-Drivers/WebSocket.md b/docs/Configuration/Channel-Drivers/WebSocket.md index 3d8e41af900..ca8403b0fd1 100644 --- a/docs/Configuration/Channel-Drivers/WebSocket.md +++ b/docs/Configuration/Channel-Drivers/WebSocket.md @@ -1,8 +1,4 @@ -# WebSocket **DRAFT** - -/// warning -This document is in DRAFT status and may change before final publication. -/// +# WebSocket ## Background @@ -125,6 +121,12 @@ Some of the control TEXT messages you can send the driver have already been ment /// define +`MEDIA_START` + +- The channel driver will send this notification when it connects to the app or the app connects to it.
+Example: `MEDIA_START connection_id:e226e283-c90a-4ea9-9e37-389000b9ef47 channel:WebSocket/connectionid format:ulaw optimal_frame_size:160`
+Not only does this notification contain the optimal frame size and format, it also contains the channel name and connection id which you can use to correlate incoming connections from the driver to channels you've created. + `MEDIA_XOFF` - The channel driver will send this notification to the app when the frame queue length reaches the high water (XOFF) level. The app should then pause sending media. Any media sent after this has a high probability of being dropped.