8#ifndef META_OCEAN_MEDIA_USB_USB_LIVE_VIDEO_H
9#define META_OCEAN_MEDIA_USB_USB_LIVE_VIDEO_H
20#ifdef OCEAN_PLATFORM_BUILD_ANDROID
80 VideoDecoder(
const std::string& mime,
const unsigned int width,
const unsigned int height);
121#ifdef OCEAN_MEDIA_ANDROID_VIDEODECODER_AVAILABLE
129 unsigned int sampleCounter_ = 0u;
217 explicit USBLiveVideo(
const std::string& url,
const std::string& deviceName);
273 void onPermission(
const std::string& deviceName,
const bool permissionGranted);
356 std::atomic_int hasPermission_ = 0;
371 mutable double fixedExposureDuration_ = NumericD::minValue();
374 mutable double minExposureDuration_ = -1.0;
377 mutable double maxExposureDuration_ = -1.0;
380 uint8_t videoDeviceAutoExposureMode_ = uint8_t(-1);
386 mutable float fixedFocus_ = NumericF::minValue();
389 mutable float minFocus_ = -1.0f;
392 mutable float maxFocus_ = -1.0f;
394#ifdef OCEAN_PLATFORM_BUILD_ANDROID
400 std::atomic_bool delayedStart_ =
false;
403 std::atomic_bool delayedStop_ =
false;
This class implements Ocean's image class.
Definition Frame.h:1808
PixelFormat
Definition of all pixel formats available in the Ocean framework.
Definition Frame.h:183
DeviceStreamType
Definition of individual USB UVC device stream types.
Definition VideoDevice.h:59
This class implements a thread.
Definition Thread.h:115
This class implements a timestamp.
Definition Timestamp.h:36
std::shared_ptr< VideoDevice > SharedVideoDevice
Definition of a shared pointer holding a VideoDevice.
Definition VideoDevice.h:39
The namespace covering the entire Ocean framework.
Definition Accessor.h:15