mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
BroadcastCustomMessage: fix command and event spec
This commit is contained in:
@ -1508,8 +1508,8 @@ void WSEvents::OnStudioModeSwitched(bool checked) {
|
||||
/**
|
||||
* A custom broadcast message was received
|
||||
*
|
||||
* @param {String} `realm` Identifier provided by the sender
|
||||
* @param {Object} `data` User-defined data
|
||||
* @return {String} `realm` Identifier provided by the sender
|
||||
* @return {Object} `data` User-defined data
|
||||
*
|
||||
* @api events
|
||||
* @name BroadcastCustomMessage
|
||||
|
@ -234,10 +234,10 @@ HandlerResponse WSRequestHandler::HandleGetStats(WSRequestHandler* req) {
|
||||
/**
|
||||
* Broadcast custom message to all connected WebSocket clients
|
||||
*
|
||||
* @param {String} `realm` Identifier to be choosen by the client
|
||||
* @param {Object} `data` User-defined data
|
||||
* @return {String} `realm` Identifier to be choosen by the client
|
||||
* @return {Object} `data` User-defined data
|
||||
*
|
||||
* @api general
|
||||
* @api requests
|
||||
* @name BroadcastCustomMessage
|
||||
* @category general
|
||||
* @since 4.7.0
|
||||
|
Reference in New Issue
Block a user