Skip to main content

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

ParameterTypeDescription
windowIdstringThe id of the window for which to set the streaming mode.
obsStreamingModeObsStreamingModeThe 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