{"id":17219146,"url":"https://github.com/mpromonet/video-ws","last_synced_at":"2025-04-13T23:41:07.959Z","repository":{"id":252538897,"uuid":"840733078","full_name":"mpromonet/video-ws","owner":"mpromonet","description":"websocket player","archived":false,"fork":false,"pushed_at":"2025-01-25T14:19:30.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T05:25:08.534Z","etag":null,"topics":["webcodecs","websocket"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpromonet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-10T14:17:54.000Z","updated_at":"2025-01-25T14:19:33.000Z","dependencies_parsed_at":"2024-08-10T15:46:51.922Z","dependency_job_id":"f3268fb0-4496-4bde-9ccd-c0d26a097464","html_url":"https://github.com/mpromonet/video-ws","commit_stats":null,"previous_names":["mpromonet/video-ws"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpromonet%2Fvideo-ws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpromonet%2Fvideo-ws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpromonet%2Fvideo-ws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpromonet%2Fvideo-ws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpromonet","download_url":"https://codeload.github.com/mpromonet/video-ws/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240445420,"owners_count":19802458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["webcodecs","websocket"],"created_at":"2024-10-15T03:49:17.088Z","updated_at":"2025-02-24T08:33:50.680Z","avatar_url":"https://github.com/mpromonet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"video-ws\n===\n\nIt connects to a websocket server serving encoded frames and render using webcodecs\n\nA simple page could be:\n```\n\u003chtml\u003e\n\u003chead\u003e\n    \u003ctitle\u003eVideo ws\u003c/title\u003e\n    \u003clink rel=\"icon\" href=\"data:,\"\u003e\n    \u003cscript type=\"module\" src=\"./video-ws.js\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003cvideo-ws url=\"/stream\"\u003e\u003c/video-ws\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\nWebsocket server should send :\n- binary annexb H264 \u0026 H265 frames, JPEG frames, audio frames\n- json for metadata\n```\n{\n  \"codec\": \"avc1.420029\",\n  \"media\": \"video\",\n  \"ts\": 1723304995845852\n}\n```\n\nIt was done to work with https://github.com/mpromonet/rtsp2web and https://github.com/mpromonet/rtsp2web-rs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpromonet%2Fvideo-ws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpromonet%2Fvideo-ws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpromonet%2Fvideo-ws/lists"}