def make_pipeline(self, fmt, profile, inline_headers, bitrate, intra_period): if fmt == 'h264': print(self._layout) return pipelines.cv2_streaming_pipeline(self._fmt, profile, bitrate, self._layout) else: return pipelines.camera_streaming_pipeline(self._fmt, profile, bitrate, self._layout)
def make_pipeline(self, fmt, profile, inline_headers, bitrate, intra_period): return pipelines.camera_streaming_pipeline(self._fmt, profile, bitrate, self._layout)