{"id":17257232,"url":"https://github.com/gaukas/transportc","last_synced_at":"2025-02-24T20:30:51.080Z","repository":{"id":50446516,"uuid":"388221067","full_name":"gaukas/transportc","owner":"gaukas","description":"A pluggable transport implemented with WebRTC data channels, written in Go.","archived":false,"fork":false,"pushed_at":"2022-12-27T09:08:22.000Z","size":139,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-07-12T13:15:32.292Z","etag":null,"topics":["data-channels","webrtc"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gaukas.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":"2021-07-21T19:12:56.000Z","updated_at":"2023-06-15T16:59:54.000Z","dependencies_parsed_at":"2023-01-31T03:00:15.299Z","dependency_job_id":null,"html_url":"https://github.com/gaukas/transportc","commit_stats":null,"previous_names":[],"tags_count":15,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaukas%2Ftransportc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaukas%2Ftransportc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaukas%2Ftransportc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaukas%2Ftransportc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gaukas","download_url":"https://codeload.github.com/gaukas/transportc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219844913,"owners_count":16556477,"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":["data-channels","webrtc"],"created_at":"2024-10-15T07:16:43.625Z","updated_at":"2024-10-15T07:16:43.691Z","avatar_url":"https://github.com/gaukas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TranspoRTC\n\nA ready-to-go pluggable transport utilizing WebRTC datachannel written in Go. \n\n## Design\n\n### Config \n\nA `Config` defines the behavior of the transport. A `Config` could be used to configure: \n\n- Automatic signalling when establishing the PeerConnection\n- IP addresses to be used for ICE candidates\n- Port range for ICE candidates\n- UDP Mux for serving multiple connections over one UDP socket\n\n### Dialer \n\nA `Dialer` is created from a `Config` and is used to dial one or more `Conn` backed by WebRTC DataChannel.\n\nOn its first call to `Dial`, the `Dialer` will create a new PeerConnection and DataChannel. On subsequent calls, the `Dialer` will reuse the existing PeerConnection and DataChannel.\n\n### Listener \n\nA `Listener` is created from a `Config` and is used to listen for incoming `Conn` backed by WebRTC DataChannel. It looks for incoming SDP offers to establish new PeerConnections and also looks for incoming DataChannels on existing PeerConnections.\n\nOne `Listener` can maintain multiple `PeerConnection`s and on each `PeerConnection` multiple `DataChannel`s may co-exist.\n\nA `Listener` requires a valid `SignalMethod` to function. \n\n### Conn\n\nA `Conn` is created from a `Dialer` and is used to send and receive messages. Each `Conn` is backed by a single WebRTC DataChannel.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaukas%2Ftransportc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaukas%2Ftransportc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaukas%2Ftransportc/lists"}