Removing mjpeg bitrate setter from UI and Python as it wasn't implemented fully and isn't a setting that should need changing

This commit is contained in:
Julian Stirling 2025-06-23 12:39:41 +01:00
parent 72faba0272
commit dd63d74651
2 changed files with 0 additions and 56 deletions

View file

@ -177,12 +177,6 @@ class StreamingPiCamera2(BaseCamera):
description="Bitrate for MJPEG stream (None for default)",
)
@mjpeg_bitrate.setter
def mjpeg_bitrate(self, value: Optional[int]):
"""Restart the stream when we set the bitrate"""
with self.picamera(pause_stream=True):
pass # just pausing and restarting the stream is enough.
stream_active = PropertyDescriptor(
bool,
initial_value=False,