{"id":22101156,"url":"https://github.com/rmja/mjpegrelay","last_synced_at":"2025-07-14T01:11:06.067Z","repository":{"id":96149269,"uuid":"447771557","full_name":"rmja/MjpegRelay","owner":"rmja","description":"Mjpeg stream relay","archived":false,"fork":false,"pushed_at":"2023-08-03T14:31:19.000Z","size":23,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-01T05:26:06.895Z","etag":null,"topics":["mjpeg","relay","rtsp","streaming"],"latest_commit_sha":null,"homepage":"","language":"C#","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/rmja.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":"2022-01-13T22:30:10.000Z","updated_at":"2023-11-27T12:27:16.000Z","dependencies_parsed_at":"2023-04-18T04:47:31.888Z","dependency_job_id":null,"html_url":"https://github.com/rmja/MjpegRelay","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/rmja%2FMjpegRelay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmja%2FMjpegRelay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmja%2FMjpegRelay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmja%2FMjpegRelay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmja","download_url":"https://codeload.github.com/rmja/MjpegRelay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236150814,"owners_count":19103051,"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":["mjpeg","relay","rtsp","streaming"],"created_at":"2024-12-01T05:23:46.648Z","updated_at":"2025-01-29T08:25:03.762Z","avatar_url":"https://github.com/rmja.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Motion JPEG Relay\r\nThis is yet another implementation of a mjpeg relay/forwarder/proxy.\r\nThis time in C#. It should be reasonably fast and support many clients without any issues. It consumes approximately 60mb of ram and does not use any significant cpu resources.\r\n\r\nIt makes a single connection to a camera stream (either rtsp or mjpeg),\r\nand provides a stream endpoint which can be used for many clients without any burdon on the camera.\r\n\r\nIt has the following command line switches:\r\n\r\n* `--source` must be either `rtsp` or `mjpeg`.\r\n* `--rtsp:streamurl` the url of the rtsp source stream.\r\n* `--rtsp:transport` the rtsp transport method, default is `tcp`.\r\n* `--mjpeg:streamurl` the url of the mjpeg source stream.\r\n\r\nAn example is\r\n```\r\ndotnet run -- --source=rtsp --rtsp:streamurl=rtsp://camera/stream\r\n```\r\nThis will start a server on port `5000` and the relayed stream is available at http://localhost:5000/stream.\r\n\r\n## Docker\r\nThe program is readily available on [docker hub](https://hub.docker.com/r/rmjac/mjpeg-relay).\r\nThe same command line switches apply, for example:\r\n```\r\ndocker run --network=host rmjac/mjpeg-relay --urls=http://+:9000 --source=rtsp --rtsp:streamurl=rtsp://some/stream\r\n```\r\n\r\nThis will start a server on host running on port 9000 that connects to the rtsp stream and serves a relayed mjpeg stream on http://localhost:9000/stream.\r\n\r\n## Build Instructions\r\n\r\n```\r\ndocker build -t rmjac/mjpeg-relay -f src\\MjpegRelay\\Dockerfile .\r\ndocker push rmjac/mjpeg-relay\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmja%2Fmjpegrelay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmja%2Fmjpegrelay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmja%2Fmjpegrelay/lists"}