{"id":13701595,"url":"https://github.com/saghul/CallRoulette","last_synced_at":"2025-05-04T21:31:10.283Z","repository":{"id":26659032,"uuid":"30115354","full_name":"saghul/CallRoulette","owner":"saghul","description":"A WebRTC demo using Python (asyncio + aiohttp) as the backend","archived":true,"fork":false,"pushed_at":"2017-04-19T15:55:17.000Z","size":3373,"stargazers_count":104,"open_issues_count":0,"forks_count":23,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-11-13T07:36:15.221Z","etag":null,"topics":["asyncio","python","webrtc"],"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/saghul.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":"2015-01-31T14:58:59.000Z","updated_at":"2024-11-08T04:52:07.000Z","dependencies_parsed_at":"2022-07-25T15:48:18.870Z","dependency_job_id":null,"html_url":"https://github.com/saghul/CallRoulette","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2FCallRoulette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2FCallRoulette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2FCallRoulette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2FCallRoulette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saghul","download_url":"https://codeload.github.com/saghul/CallRoulette/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252403918,"owners_count":21742463,"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":["asyncio","python","webrtc"],"created_at":"2024-08-02T20:01:51.068Z","updated_at":"2025-05-04T21:31:07.245Z","avatar_url":"https://github.com/saghul.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\n# CallRoulette\n\n## Overview and motivation\n\nCallRoulette is a simple web application for experimenting with WebRTC technologies using Python\non the backend. It was initially coded for the [Python FOSDEM devroom](http://python-fosdem.org/)\nbut it has since been further enhanced.\n\nThe backend uses [asyncio](https://docs.python.org/3/library/asyncio.html) and\n[aiohttp](http://aiohttp.readthedocs.org). The frontend uses pretty much vanilla JavaScript with\n[rtcninja](https://github.com/eface2face/rtcninja.js) as the WebRTC adapter.\n\n\n## Protocol\n\n### V1 - (not really) SIP\n\nThe protocol for communicating clients is dead simple: a WebSocket connection is used with 3 types\nof messages: 'offer_request', 'offer' and 'answer'. There is no message to end the communication,\nthis is intentional, in order to keep it as simple as possible.\n\n(not really) SIP: Saghul's Imbecile Protocol\n\n![SIP](https://raw.githubusercontent.com/saghul/CallRoulette/master/sip.jpg)\n\n### V2 - yo\n\nThe yo protocol is an improvement over (not really) SIP used in version 1. It maintains the original\nspirit of simplicity (only 4 message types), but it uses [Trickle ICE](https://webrtchacks.com/trickle-ice/).\n\nThe yo protocol\n\n![yo](https://raw.githubusercontent.com/saghul/CallRoulette/master/yo.jpg)\n\n\n## Author\n\nSaúl Ibarra Corretgé \u003csaghul@gmail.com\u003e\n\n\n## License\n\nMIT (check the LICENSE file)\n\n\n## Thanks\n\n- [Iñaki Baz Castillo](https://github.com/ibc) for [rtcninja](https://github.com/eface2face/rtcninja.js)\n  and helping me with JavaScript.\n- The [aiohttp](http://aiohttp.readthedocs.io/en/stable/) [authors](https://github.com/KeepSafe/aiohttp/graphs/contributors): for making it really easy to mix HTTP servers with WebSockets in\n  asyncio.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaghul%2FCallRoulette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaghul%2FCallRoulette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaghul%2FCallRoulette/lists"}