You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+11-2
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,19 @@ This library is available on the [NuGet gallery](https://www.nuget.org/packages/
7
7
See the `TestClient` project for a working example.
8
8
9
9
# v5 Updates
10
-
Initial version supporting OBS Websocket v5 is now in master branch and an nuget version is in Beta (must select "Include Prerelease" in nuget). Please report issues/bugs via the [Issues Tracker](https://github.com/BarRaider/obs-websocket-dotnet/issues) or discuss in our [Discord](http://discord.barraider.com)
10
+
NOTE: As OBS Websocket v5.0 is not backward compatible with 4.9.x, neither is the .Net version.
11
+
**What's new in v5.0.0.3:**
12
+
* Fixed issue with integer overflow for OutputStatus objects
13
+
(Older updates):
14
+
* Each event now has a dedicated EventArgs class. This will break the previous event signature
15
+
* Finished adding all v5 methods
16
+
*`Connect()` function is now obsolete, use `ConnectAsync()` instead.
17
+
* Additional bugfixes and stability fixes
18
+
19
+
Please report issues/bugs via the [Issues Tracker](https://github.com/BarRaider/obs-websocket-dotnet/issues) or discuss in our [Discord](http://discord.barraider.com)
11
20
12
21
## Dev Discussions
13
22
**Discord:** Discuss in #developers-chat in [Bar Raiders](http://discord.barraider.com)
14
23
15
24
## EOL for v4.x branch
16
-
NOTE: We will no longer be updating the v4.x branch as we move towards v5.0 (which is NOT backwards compatible). Any PRs should be done on the `v5-dev` branch.
25
+
NOTE: We will no longer be updating the v4.x branch as we move towards v5.0 (which is NOT backwards compatible).
/// Connect this instance to the specified URL, and authenticate (if needed) with the specified password
71
+
/// Connect this instance to the specified URL, and authenticate (if needed) with the specified password.
72
+
/// NOTE: Please subscribe to the Connected/Disconnected events (or atleast check the IsConnected property) to determine when the connection is actually fully established
78
73
/// </summary>
79
74
/// <param name="url">Server URL in standard URL format.</param>
[Obsolete("Please use ConnectAsync, this function will be removed in the next version")]
81
77
publicvoidConnect(stringurl,stringpassword)
78
+
{
79
+
ConnectAsync(url,password);
80
+
}
81
+
82
+
/// <summary>
83
+
/// Connect this instance to the specified URL, and authenticate (if needed) with the specified password.
84
+
/// NOTE: Please subscribe to the Connected/Disconnected events (or atleast check the IsConnected property) to determine when the connection is actually fully established
85
+
/// </summary>
86
+
/// <param name="url">Server URL in standard URL format.</param>
@@ -2114,8 +2112,45 @@ public List<Monitor> GetMonitorList()
2114
2112
{
2115
2113
monitors.Add(newMonitor((JObject)monitor));
2116
2114
}
2117
-
2118
2115
returnmonitors;
2119
2116
}
2117
+
2118
+
/// <summary>
2119
+
/// Opens a projector for a source.
2120
+
/// Note: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release.
2121
+
/// </summary>
2122
+
/// <param name="sourceName">Name of the source to open a projector for</param>
2123
+
/// <param name="projectorGeometry">Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with monitorIndex</param>
2124
+
/// <param name="monitorIndex">Monitor index, use GetMonitorList to obtain index. -1 to open in windowed mode</param>
/// <param name="projectorGeometry">Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with monitorIndex</param>
2143
+
/// <param name="monitorIndex">Monitor index, use GetMonitorList to obtain index. -1 to open in windowed mode</param>
0 commit comments