errornosignal
New Member
Trying to work out some validations on OBS chapter marker creation in Streamer.bot
It seems like OBS kicks out strictly numeric string for being not of string type.
I believe that, even though Streamer.bot sends the WebSocket request parameter for the request as a string,
OBS does some sort of auto-typing on the parameters of the incoming request.
Does anyone know if this is actually the case or not?
note: any other alphanumeric values passed in to 'chapterName' in the CreateRecordChapter WS request works without issue.
Here's the sub-actions chain:
Initial declaration for the variable:
C# code getting the variable, casting to a string, and testing if its type is string, then setting it to be used again in subsequent sub-actions.
OBS Raw request with the variable from the above C# block as the parameter for the chapter marker name.
Action History variable table showing the outputResult from the C# block and the ‘isString’ validation.
And finally, the OBS log message indicating that the WebSocket request parameter for the chapter marker name was not read as a string.
It seems like OBS kicks out strictly numeric string for being not of string type.
I believe that, even though Streamer.bot sends the WebSocket request parameter for the request as a string,
OBS does some sort of auto-typing on the parameters of the incoming request.
Does anyone know if this is actually the case or not?
note: any other alphanumeric values passed in to 'chapterName' in the CreateRecordChapter WS request works without issue.
Here's the sub-actions chain:
Initial declaration for the variable:
C# code getting the variable, casting to a string, and testing if its type is string, then setting it to be used again in subsequent sub-actions.
OBS Raw request with the variable from the above C# block as the parameter for the chapter marker name.
Action History variable table showing the outputResult from the C# block and the ‘isString’ validation.
And finally, the OBS log message indicating that the WebSocket request parameter for the chapter marker name was not read as a string.