MSE is only supported on iOS 17.1+. You'll need to update if available
or use jsmpeg / webRTC streams. See the docs for more info.
);
}
} else if (liveMode == "jsmpeg") {
player = (
{(showStillWithoutActivity == false || cameraActive) &&
player}
Motion
{cameraConfig.audio.enabled_in_config && (
Sound
)}
{recording == "ON" && (
)}
{cameraConfig.name.replaceAll("_", " ")}
);
}
type DebugSettingsProps = {
handleSetOption: (id: string, value: boolean) => void;
options: Options;
};
function DebugSettings({ handleSetOption, options }: DebugSettingsProps) {
return (
{
handleSetOption("bbox", isChecked);
}}
/>
{
handleSetOption("timestamp", isChecked);
}}
/>
{
handleSetOption("zones", isChecked);
}}
/>
{
handleSetOption("mask", isChecked);
}}
/>
{
handleSetOption("motion", isChecked);
}}
/>
{
handleSetOption("regions", isChecked);
}}
/>
);
}