{"id":18096359,"url":"https://github.com/bredele/video","last_synced_at":"2025-07-04T21:41:02.655Z","repository":{"id":16464140,"uuid":"19216203","full_name":"bredele/video","owner":"bredele","description":"peer plugin to attach a video stream to a peer connection","archived":false,"fork":false,"pushed_at":"2014-05-04T00:14:06.000Z","size":192,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T10:07:16.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bredele.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-27T20:20:53.000Z","updated_at":"2014-12-21T22:55:34.000Z","dependencies_parsed_at":"2022-09-13T22:42:28.529Z","dependency_job_id":null,"html_url":"https://github.com/bredele/video","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bredele/video","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fvideo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fvideo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fvideo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fvideo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bredele","download_url":"https://codeload.github.com/bredele/video/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bredele%2Fvideo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263625609,"owners_count":23490588,"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":[],"created_at":"2024-10-31T19:13:58.083Z","updated_at":"2025-07-04T21:41:02.623Z","avatar_url":"https://github.com/bredele.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"video\n=====\n\n**[peer](http://github.com/bredele/peer)**  plugin to attach a video **[media](http://github.com/bredele/media)** stream to a peer connection\n\n\n## Installation\n\nwith [component](http://github.com/component/component):\n\n\t$ component install bredele/video\n\n\n## Usage\n\n  video is a one liner to attach a video stream to a peer connection. \n\n```js\nvar peer = require('peer');\nvar video = require('video');\n\nvar skype = peer();\n\n// attach video\nskype.use(video('#video'));\n```\n\n\u003e video is based on [media](http://github.com/bredele/media) and [attach](http://github.com/bredele/attach).\n\n  Use video with **[signal](http://github.com/bredele/signal)** and **[channel](http://github.com/bredele/channel)** to create a video application like skype (video + chat) in a couple of lines:\n\n```js\nvar skype = peer();\n\nskype.use(video('#video'));\nskype.use(channel('foo'));\nskype.use(signal('foo'));\n\n```\n\n  see [example](https://github.com/bredele/video/blob/master/test/remote).\n\n\u003c!-- ## Constraints\n\nvideo is based on [media](http://github.com/bredele/media) and [attach](http://github.com/bredele/attach) and use peer data to update the media constraints  --\u003e\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Olivier Wietrich\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbredele%2Fvideo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbredele%2Fvideo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbredele%2Fvideo/lists"}