{"id":18747907,"url":"https://github.com/drosocode/docker-bstreamer","last_synced_at":"2025-07-28T12:14:46.208Z","repository":{"id":114486162,"uuid":"316773726","full_name":"drosoCode/docker-bstreamer","owner":"drosoCode","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-28T16:57:49.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T09:08:20.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/drosoCode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-28T16:20:57.000Z","updated_at":"2023-03-09T12:49:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8ddbaa4-78de-478e-918f-c5e9da1eef9c","html_url":"https://github.com/drosoCode/docker-bstreamer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drosoCode/docker-bstreamer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drosoCode%2Fdocker-bstreamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drosoCode%2Fdocker-bstreamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drosoCode%2Fdocker-bstreamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drosoCode%2Fdocker-bstreamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drosoCode","download_url":"https://codeload.github.com/drosoCode/docker-bstreamer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drosoCode%2Fdocker-bstreamer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267514750,"owners_count":24100004,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-07T16:31:55.901Z","updated_at":"2025-07-28T12:14:46.159Z","avatar_url":"https://github.com/drosoCode.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-bstreamer\n\nChrome embedded in a docker container with RTSP stream output (including audio and video) and remote debugging\n\n## Configuration\n### Environment Variables\n\n| VAR            | Description                                                                     | Default Value                |\n|----------------|---------------------------------------------------------------------------------|------------------------------|\n| DISPLAY_WIDTH  | The display width (for xvfb, x11vnc and chrome)                                 | 1920                         |\n| DISPLAY_HEIGHT | The display height                                                              | 1080                         |\n| DISPLAY        | The display id                                                                  | :99                          |\n| VNC            | Enable VNC server (needed if you want to use noVNC)                             | true                         |\n| NOVNC          | Enable noVNC (to use vnc in a browser)                                          | true                         |\n| REMOTE_DEBUG   | Enable chrome remote debugging (especially useful for puppeteer)                | true                         |\n| RTSP_SERVER    | Use the built-in RTSP server (rtsp-simple-server)                               | true                         |\n| ENABLE_VIDEO   | Enable video stream (if disabled, the rtsp stream only contains audio)          | true                         |\n| RTSP_URL       | RTSP url for ffmpeg (change this only if you decide to use another RTSP server) | rtsp://localhost:8554/stream |\n\n### Ports (inside the container)\n| Service             | Port |\n|---------------------|------|\n| VNC                 | 5900 |\n| noVNC               | 8080 |\n| RTSP                | 8554 |\n| CHROME_REMOTE_DEBUG | 9222 |\n\n## Usage\nSet your environment variables in the docker-compose file\nrun `docker-compose build` to build the container\nrun `docker-compose up -d` to run the container\n\nYou can open the RTSP stream on VLC with `rtsp://yourip:8554/stream`\nYou can interact with chrome with the noVNC server \nYou can remotely control chrome in Node.js with [puppeteer-core](https://github.com/puppeteer/puppeteer)\n\n## Softwares\nThis project uses the following softwares\n - [ffmpeg](https://github.com/FFmpeg/FFmpeg) to create the RTSP stream\n - [xserver (Xvfb)](https://gitlab.freedesktop.org/xorg/xserver) to create a xserver without display\n - [x11vnc](https://github.com/LibVNC/x11vnc) to allow remote interaction with the xserver\n - [noVNC](https://github.com/novnc/noVNC) and [websockify](https://github.com/novnc/websockify) to use vnc with a browser\n - [PulseAudio](https://www.freedesktop.org/wiki/Software/PulseAudio/) to create a virtual sound card\n - [rtsp-simple-server](https://github.com/aler9/rtsp-simple-server/) to serve the RTSP stream\n - [socat](http://www.dest-unreach.org/socat/) to allow to connect to chrome remote debugging from a remote pc\n \n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrosocode%2Fdocker-bstreamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrosocode%2Fdocker-bstreamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrosocode%2Fdocker-bstreamer/lists"}