{"id":38004698,"url":"https://github.com/erdnaxe/galene-stream","last_synced_at":"2026-01-16T19:15:51.871Z","repository":{"id":37583461,"uuid":"352331330","full_name":"erdnaxe/galene-stream","owner":"erdnaxe","description":"Gateway to send UDP, RTMP, SRT or RIST streams to Galène videoconference server.","archived":false,"fork":false,"pushed_at":"2024-12-06T07:15:23.000Z","size":527,"stargazers_count":30,"open_issues_count":6,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-09-22T15:52:37.393Z","etag":null,"topics":["galene","rist","rtmp","srt","streaming"],"latest_commit_sha":null,"homepage":"","language":"Python","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/erdnaxe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-28T13:04:43.000Z","updated_at":"2025-06-13T08:46:05.000Z","dependencies_parsed_at":"2023-02-09T19:16:04.040Z","dependency_job_id":null,"html_url":"https://github.com/erdnaxe/galene-stream","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/erdnaxe/galene-stream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdnaxe%2Fgalene-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdnaxe%2Fgalene-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdnaxe%2Fgalene-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdnaxe%2Fgalene-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erdnaxe","download_url":"https://codeload.github.com/erdnaxe/galene-stream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdnaxe%2Fgalene-stream/sbom","scorecard":{"id":379733,"data":{"date":"2025-08-11","repo":{"name":"github.com/erdnaxe/galene-stream","commit":"c3433f84a6c9e88dc88d2453ccd6c5dd863c324a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 3/15 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/erdnaxe/galene-stream/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/erdnaxe/galene-stream/python-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/erdnaxe/galene-stream/python-test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-test.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/erdnaxe/galene-stream/python-test.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/python-test.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/python-test.yml:27","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/python-test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSES/CC0-1.0.txt:0","Info: FSF or OSI recognized license: Creative Commons Zero v1.0 Universal: LICENSES/CC0-1.0.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T15:07:17.730Z","repository_id":37583461,"created_at":"2025-08-18T15:07:17.731Z","updated_at":"2025-08-18T15:07:17.731Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["galene","rist","rtmp","srt","streaming"],"created_at":"2026-01-16T19:15:51.754Z","updated_at":"2026-01-16T19:15:51.859Z","avatar_url":"https://github.com/erdnaxe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Galène streaming gateway\n\n\u003c!--\nCopyright (C) 2024 A. Iooss\nSPDX-License-Identifier: CC0-1.0\n--\u003e\n\nGateway to send streams such as RTMP or SRT to\n[Galène videoconference server](https://galene.org/).\nIt is based on Gstreamer and implements the Galène protocol.\n**This project is not production ready, and you might experience frame drops and crashes.**\n\n\u003e **Note**\n\u003e To stream from OBS Studio to Galène, you should rather prefer [WebRTC-HTTP ingestion protocol (WHIP)](https://datatracker.ietf.org/doc/draft-ietf-wish-whip/).\n\u003e OBS Studio introduced WHIP output in [version 30.0](https://github.com/obsproject/obs-studio/releases/tag/30.0.0-beta1).\n\u003e Galène supports WHIP on its master branch since July 2023, it will be part of Galène 0.8.\n\n![Streaming from OBS to Galène, video background from KaMy Video Stock](./docs/demo.png)\n\n## Installation\n\nReal-time video conversion requires resources. If many users are going to use\nthis gateway simultaneously, you should scale your machine resources\naccordingly.\n\nInstallation works on Ubuntu 20.10 and Debian Bullseye or any later version.\n\nFor Windows users, we recommend to use\n[Windows Subsystem for Linux](https://learn.microsoft.com/en-us/windows/wsl/install).\n\n### Dependencies\n\n```bash\n# On Debian/Ubuntu-based distributions\nsudo apt install python3-gi python3-gi-cairo python3-websockets gir1.2-gst-plugins-bad-1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-nice\n\n# On ArchLinux-based distributions\nsudo pacman -S python-setuptools python-pip python-websockets python-gobject gobject-introspection gst-python gst-plugins-base gst-plugins-bad gst-plugins-ugly gst-libav\n\n# On NixOS\nnix-shell -p gobject-introspection -p gst_all_1.gst-libav -p gst_all_1.gst-plugins-bad -p gst_all_1.gst-plugins-base -p gst_all_1.gst-plugins-good -p gst_all_1.gst-plugins-ugly -p libnice -p python3 -p python3Packages.gst-python -p python3Packages.pygobject3 -p python3Packages.websockets\n```\n\nThen you should be able to either run `./galene-stream.py` in this repository,\nor install it using pip.\n\n### Configuration for UDP streaming\n\nLaunch the gateway using:\n\n```\ngalene-stream --input \"udp://127.0.0.1:8888\" --output \"https://galene.example.org/group/public/\" --username bot\n```\n\nThen you can stream to `udp://127.0.0.1:8888` with no stream key.\n\n### Configuration for RTMP streaming\n\n```\n+--------------------+      +----------+      +-------------+        +------+\n|Streaming software  | RTMP |NGINX RTMP| RTMP |Galène Stream| WebRTC |Galène|\n|(such as OBS-Studio)+------\u003e  Server  \u003c------+   Gateway   +--------\u003e      |\n+--------------------+      +----------+      +-------------+        +------+\n```\n\nYou need a NGINX RTMP server, you may remix the provided\n[nginx.conf](./docs/nginx.conf). You can launch NGINX as user using:\n\n```\nnginx -c nginx.conf -p $PWD\n```\n\nYou may launch the gateway after the NGINX server using:\n\n```\ngalene-stream --input \"rtmp://127.0.0.1:1935/live/test\" --output \"https://galene.example.org/group/public/\" --username bot\n```\n\nThen you can stream to `rtmp://127.0.0.1:1935/live` with stream key `test`.\n\n### Configuration for SRT streaming\n\nSRT support is still experimental in some Linux distributions.\nIt has been reported to work on ArchLinux (on 2021/03/30).\n\nWhen using OBS, you need to have FFMpeg compiled with SRT support.\nTo check if SRT is available, run `ffmpeg -protocols | grep srt`.\nOn Windows and MacOS, OBS comes with his own FFMpeg that will work.\n\nLaunch the gateway using:\n\n```\ngalene-stream --input \"srt://127.0.0.1:9710?mode=listener\" --output \"https://galene.example.org/group/public/\" --username bot\n```\n\nThen you can stream to `srt://127.0.0.1:9710` with no stream key.\n\nMore information on [OBS Wiki, Streaming With SRT Or RIST Protocols](https://obsproject.com/wiki/Streaming-With-SRT-Or-RIST-Protocols).\n\n### Configuration for file streaming\n\nFor debugging purposes you can directly stream a file,\n\n```\ngalene-stream --input \"file://source.webm\" --output \"https://galene.example.org/group/public/\" --username bot\n```\n\n## Contributing\n\nWe welcome contributions that stays in the scope of this project.\nPlease format your code using `black` and test it using `pytest`.\n\n### Collecting statistics about GStreamer WebRTC element\n\nDuring a stream, you can send `!webrtc` in the chat to get some statistics\nabout the connectivity between the gateway and Galène.\n\n### Debugging GStreamer pipeline\n\n#### Logging pipeline statistics\n\nYou may use these environment variables,\n\n```\nGST_DEBUG=\"GST_TRACER:7\" GST_TRACERS=\"latency;stats;rusage\" GST_DEBUG_FILE=trace.log\n```\n\nThen you may inspect logs using `gst-stats-1.0 trace.log`.\n\n#### Plotting pipeline graph\n\nIt is possible to plot pipeline status just before exiting the script by setting\n`GST_DEBUG_DUMP_DOT_DIR` environnement variable to a directory.\n\nFor example, `export GST_DEBUG_DUMP_DOT_DIR=.`.\n\nThen you can use GraphViz to generate an image from the dot file:\n`dot -Tpng pipeline.dot \u003e pipeline.png`.\n\n## License\n\nThis project is compliant with version 3.2 of the REUSE Specification.\n\nThis gateway is developed by former members of [Crans](https://www.crans.org/)\nand [Aurore](https://auro.re/) network organizations to build a self-hosted\nfree and open-source streaming server based on [Galène](https://galene.org/).\nWe believe in open source software.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdnaxe%2Fgalene-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferdnaxe%2Fgalene-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdnaxe%2Fgalene-stream/lists"}