Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"en-US,en;q\u003d0.5", "gen_ut":1634825130, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets", "f":3, "items": [ { "schema":"libjg2-1", "oid":{ "oid": "0a2922ced86b919f600601833b2e1d074bf46c58", "alias": [ "refs/heads/_v4l2"]},"tree": [ { "name": "mount-origin","mode": "16384", "size":0}, { "name": "CMakeLists.txt","mode": "33188", "size":2416}, { "name": "README.md","mode": "33188", "size":1935}, { "name": "annex-b.c","mode": "33188", "size":4184}, { "name": "boxes.c","mode": "33188", "size":16691}, { "name": "localhost-100y.cert","mode": "33188", "size":2106}, { "name": "localhost-100y.key","mode": "33188", "size":3272}, { "name": "minimal-ws-server.c","mode": "33188", "size":14354}, { "name": "private.h","mode": "33188", "size":3375}, { "name": "transcode.c","mode": "33188", "size":3999}, { "name": "v4l2.c","mode": "33188", "size":12855}],"s":{"c":1634825130,"u": 1142}} ,{"schema":"libjg2-1", "cid":"12bb0c4c6fbdaa3958fdb363075d171d", "oid":{ "oid": "0a2922ced86b919f600601833b2e1d074bf46c58", "alias": [ "refs/heads/_v4l2"]},"blobname": "minimal-examples/ws-server/minimal-ws-server-v4l2/README.md", "blob": "# lws minimal ws server v4l2\n\n## build\n\n```\n $ cmake . \u0026\u0026 make\n```\n\n## Commandline Options\n\nOption|Meaning\n---|---\n-d|Set logging verbosity\n-s|Serve using TLS selfsigned cert (ie, connect to it with https://...)\n-h|Strict Host: header checking against vhost name (localhost) and port\n-v|Video device, default `/dev/video0`\n\n## usage\n\n```\n[2021/04/05 15:00:59:4781] U: LWS minimal ws server V4L2 | visit http://localhost:7681\n[2021/04/05 15:00:59:4782] N: LWS: 4.1.99-v4.2-rc1-66-gb85730c8, loglevel 1031\n[2021/04/05 15:00:59:4782] N: NET CLI SRV H1 H2 WS SS-JSON-POL ConMon IPv6-absent\n[2021/04/05 15:00:59:4782] N: ++ [wsi|0|pipe] (1)\n[2021/04/05 15:00:59:4782] N: ++ [vh|0|netlink] (1)\n[2021/04/05 15:00:59:4783] N: ++ [vh|1|localhost||7681] (2)\n[2021/04/05 15:00:59:4783] N: lws_socket_bind: nowsi: source ads 0.0.0.0\n[2021/04/05 15:00:59:4783] N: ++ [wsi|1|listen|localhost||7681] (2)\n[2021/04/05 15:00:59:4783] N: ++ [wsisrv|0|adopted] (1)\n[2021/04/05 15:00:59:4784] N: lws_role_call_adoption_bind: falling back to raw file role bind\n[2021/04/05 15:00:59:4784] N: LWS_CALLBACK_RAW_ADOPT_FILE\n[2021/04/05 15:00:59:4784] N: cap 0x84a00001, bus_info usb-0000:46:00.1-4.2, driver uvcvideo, card USB Video: USB Video\n[2021/04/05 15:00:59:4784] N: 0 Camera 1 2\n[2021/04/05 15:00:59:4801] N: 1 1280 720 1 1843200\nBrightness\nContrast\nSaturation\nHue\n[2021/04/05 15:00:59:4811] N: callback_v4l2: adopt completed ok\n[2021/04/05 15:00:59:4811] N: lws_role_call_adoption_bind: falling back to raw file role bind\n[2021/04/05 15:00:59:4812] N: callback_v4l2: leaving PROTOCOL_INIT OK\n[2021/04/05 15:01:02:0718] N: ++ [wsisrv|1|adopted] (2)\n[2021/04/05 15:01:02:1676] N: ++ [wsisrv|2|adopted] (3)\n[2021/04/05 15:01:02:1678] N: start_capturing: stream on\n\n```\n\nVisit http://localhost:7681 (or https with -s) on one or more browser windows\n\nFrames from the video device are sent to all the connected browsers, as fast as\neach can take them.\n","s":{"c":1634825130,"u": 174}} ],"g": 2153,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 1, "si": 0, "db":0, "di":1, "sat":0, "lfc": "0000"}