platypush/plugins/camera/__init__.py
def start_streaming(self, duration: Optional[float] = None, stream_format: str = 'mkv', **camera) -> dict:
        """
        Expose the video stream of a camera over a TCP connection.

        :param duration: Streaming thread duration (default: until :meth:`.stop_streaming` is called).
        :param stream_format: Format of the output stream - e.g. ``h264``, ``mjpeg``, ``mkv`` etc. (default: ``mkv``).
        :param camera: Camera object properties - see constructor parameters.
        :return: The status of the device.
        """
        camera = self.open_device(stream=True, stream_format=stream_format, **camera)
        return self._start_streaming(camera, duration, stream_format)

        Expose the video stream of a camera over a TCP connection.

        :param duration: Streaming thread duration (default: until :meth:`.stop_streaming` is called).
        :param stream_format: Format of the output stream - e.g. ``h264``, ``mjpeg``, ``mkv`` etc. (default: ``mkv``).
        :param camera: Camera object properties - see constructor parameters.
        :return: The status of the device.
        
Expose the video stream of a camera over a TCP connection.
Expose the video stream of a camera over a TCP connection .
def start_streaming(self, duration: Optional[float] = None, stream_format: str = 'mkv', **camera) -> dict:
        camera = self.open_device(stream=True, stream_format=stream_format, **camera)
        return self._start_streaming(camera, duration, stream_format)
def start_streaming ( self , duration : Optional [ float ] = None , stream_format : str = 'mkv' , ** camera ) -> dict : camera = self . open_device ( stream = True , stream_format = stream_format , ** camera ) return self . _start_streaming ( camera , duration , stream_format )
Expose the video stream of a camera over a TCP connection.
Expose the video stream of a camera over a TCP connection .
"""
        Expose the video stream of a camera over a TCP connection.

        :param duration: Streaming thread duration (default: until :meth:`.stop_streaming` is called).
        :param stream_format: Format of the output stream - e.g. ``h264``, ``mjpeg``, ``mkv`` etc. (default: ``mkv``).
        :param camera: Camera object properties - see constructor parameters.
        :return: The status of the device.
        """
The status of the device.
The status of the device .
self
duration
Optional[float]
Streaming thread duration (default: until :meth:`.stop_streaming` is called).
Streaming thread duration ( default : until : meth : ` . stop_streaming ` is called ) .
stream_format
str
Format of the output stream - e.g.
Format of the output stream - e . g .
camera
Camera object properties - see constructor parameters.
Camera object properties - see constructor parameters .