overwolf.streaming.setWindowObsStreamingMode
Overwolf APIs / overwolf / overwolf / streaming / setWindowObsStreamingMode
function setWindowObsStreamingMode(
windowId: string,
obsStreamingMode: ObsStreamingMode,
callback?: CallbackFunction<Result>,
): void;
Sets the streaming mode for the window when using OBS.
Parameters
| Parameter | Type | Description |
|---|---|---|
windowId | string | The id of the window for which to set the streaming mode. |
obsStreamingMode | ObsStreamingMode | The desired OBS streaming mode |
callback? | CallbackFunction<Result> | A function called after streaming mode was set indicating success, or error in case of an error. |
Returns
void