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
Additional context [Fix required]
This is caused by MediaInputStatus.cs
line 27: public int Cursor { get; set; }
This should be int? so that it can accept a null cursor position.
I recreated this function in my app, and it failed in the same way as the library. With the above fix, it works correctly.
The text was updated successfully, but these errors were encountered:
Issue Type
Describe the bug
GetMediaInputStatus() fails if the input is not streaming at the time.
To Reproduce
Create an audio capture, don't start the stream it needs, call GetMediaInputStatus()
Expected behavior
Returning null. Instead is throws an exception.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions
OBS Version: 29
OBS WebSocket Version:
OBS WebSocket Dotnet (this library) Version: 5.0.0.3
OS: Windows 10
Additional context [Fix required]
This is caused by MediaInputStatus.cs
line 27: public int Cursor { get; set; }
This should be int? so that it can accept a null cursor position.
I recreated this function in my app, and it failed in the same way as the library. With the above fix, it works correctly.
The text was updated successfully, but these errors were encountered: