diff --git a/PROTOCOL.md b/PROTOCOL.md index 81169e5a..3257b5af 100644 --- a/PROTOCOL.md +++ b/PROTOCOL.md @@ -339,7 +339,6 @@ Returns the latest version of the plugin and the API. __Request fields__ : none __Response__ : always OK, with these additional fields : -- **"version"** (double) : OBSRemote API version. Fixed to 1.1 for retrocompatibility. - **"obs-websocket-version"** (string) : obs-websocket version string - **"obs-studio-version"** (string) : OBS Studio version string - **"available-requests"** (string) : comma-separated list of available request types diff --git a/WSRequestHandler.cpp b/WSRequestHandler.cpp index f31c1fd1..6d8f3efc 100644 --- a/WSRequestHandler.cpp +++ b/WSRequestHandler.cpp @@ -205,7 +205,6 @@ void WSRequestHandler::HandleGetVersion(WSRequestHandler* req) { } obs_data_t* data = obs_data_create(); - obs_data_set_double(data, "version", API_VERSION); obs_data_set_string(data, "obs-websocket-version", OBS_WEBSOCKET_VERSION); obs_data_set_string(data, "obs-studio-version", obs_version); obs_data_set_string(data, "available-requests", requests.toUtf8().constData()); diff --git a/obs-websocket.h b/obs-websocket.h index 85307f68..16cfde53 100644 --- a/obs-websocket.h +++ b/obs-websocket.h @@ -21,7 +21,6 @@ with this program. If not, see #define PROP_AUTHENTICATED "wsclient_authenticated" #define OBS_WEBSOCKET_VERSION "4.2.0" -#define API_VERSION 1.4 #define blog(level, msg, ...) blog(level, "[obs-websocket] " msg, ##__VA_ARGS__)