video streaming using websocket. but,streaming is very slower than 0.1fps.
Dependencies: BaseUsbHost EthernetInterface WebSocketClient mbed-rtos mbed
Fork of BaseUsbHost_example by
Diff: LogitechC270/LogitechC270.h
- Revision:
- 6:420a86583681
- Parent:
- 5:495f7536897b
- Child:
- 7:5dc595bbff58
--- a/LogitechC270/LogitechC270.h Fri Jan 25 14:55:08 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -// LogitechC270.h 2013/1/6 -#pragma once - -#define C270_VID 0x046d -#define C270_PID 0x0825 - -#define C270_160x120 2 -#define C270_176x144 3 -#define C270_320x176 4 -#define C270_320x240 5 -#define C270_352x288 6 -#define C270_432x240 7 -#define C270_640x480 1 -#define C270_544x288 8 -#define C270_640x360 9 -#define C270_752x416 10 -#define C270_800x448 11 -#define C270_800x600 12 - -#define C270_MJPEG 2 -#define C270_YUV2 1 - -#define C270_EN 0x81 -#define C270_MPS 192 -#define C270_IF_ALT 1 - -class LogitechC270 : public BaseUvc { -public: - LogitechC270(int formatIndex = C270_MJPEG, int frameIndex = C270_160x120, uint32_t interval = _5FPS, ControlEp* ctlEp = NULL); - static bool check(ControlEp* ctlEp); -};