video streaming using websocket. but,streaming is very slower than 0.1fps.

Dependencies:   BaseUsbHost EthernetInterface WebSocketClient mbed-rtos mbed

Fork of BaseUsbHost_example by Norimasa Okamoto

viewer

Revision:
3:6ae9a03a6145
Parent:
1:80205a2de336
--- a/LogitechC270/LogitechC270.h	Tue Dec 11 15:28:00 2012 +0000
+++ b/LogitechC270/LogitechC270.h	Sun Jan 06 11:47:51 2013 +0000
@@ -1,6 +1,5 @@
-// LogitechC270.h 2012/12/5
-#ifndef LOGITECH_C270_H
-#define LOGITECH_C270_H
+// LogitechC270.h 2013/1/6
+#pragma once
 
 #define C270_VID 0x046d
 #define C270_PID 0x0825
@@ -27,7 +26,6 @@
 
 class LogitechC270 : public BaseUvc {
 public:
-    LogitechC270(int frameIndex = C270_160x120, uint32_t interval = _5FPS, ControlEp* ctlEp = NULL);
+    LogitechC270(int formatIndex = C270_MJPEG, int frameIndex = C270_160x120, uint32_t interval = _5FPS, ControlEp* ctlEp = NULL);
     static bool check(ControlEp* ctlEp);
 };
-#endif //LOGITECH_C270_H