{"id":16462970,"url":"https://github.com/johndavedecano/node-rtmp-hls","last_synced_at":"2026-04-04T04:32:03.352Z","repository":{"id":47422693,"uuid":"228293320","full_name":"johndavedecano/node-rtmp-hls","owner":"johndavedecano","description":"NodeJS live stream server with HLS ABR support","archived":false,"fork":false,"pushed_at":"2022-12-11T17:20:43.000Z","size":96,"stargazers_count":68,"open_issues_count":8,"forks_count":22,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-17T22:08:18.116Z","etag":null,"topics":["hls","live","nodejs","srt","streaming"],"latest_commit_sha":null,"homepage":"https://discord.gg/8vhwKyGK8X","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/johndavedecano.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":"2019-12-16T03:16:19.000Z","updated_at":"2025-01-31T12:58:51.000Z","dependencies_parsed_at":"2023-01-27T03:45:33.430Z","dependency_job_id":null,"html_url":"https://github.com/johndavedecano/node-rtmp-hls","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johndavedecano%2Fnode-rtmp-hls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johndavedecano%2Fnode-rtmp-hls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johndavedecano%2Fnode-rtmp-hls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johndavedecano%2Fnode-rtmp-hls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johndavedecano","download_url":"https://codeload.github.com/johndavedecano/node-rtmp-hls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244751091,"owners_count":20504215,"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":["hls","live","nodejs","srt","streaming"],"created_at":"2024-10-11T11:12:54.610Z","updated_at":"2026-04-04T04:32:03.300Z","avatar_url":"https://github.com/johndavedecano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJS RTMP HLS Server\n\nBased on node-media-server. A live streaming server that allow adaptive bitrate for HLS.\n\n## Making it work using docker-compose\n\n```\ndocker-compse build\ndocker-compose up\ndocker-compose down\n```\n\n## Making it work without using docker-compose\n\nYou have to make sure that you have ffmpeg installed on your machine\n\n```\ncp .env.example .env\nyarn install\nyarn start:dev # development\nyarn start # production\n```\n\n### Environment Variables\n\n```\nNODE_ENV=development\n\n# Where to store the playlist files\nMEDIA_ROOT=./media\n\n# Where is ffmpeg executable located. Run which ffmpeg\nFFMPEG_PATH=/usr/bin/ffmpeg\n\n# URL to notify when a stream starts.\n# Usually used for authentication.\nPUBLISH_START_NOTIFY_URL=\n\n# URL to notify when a stream stoppes\nPUBLISH_STOP_NOTIFY_URL=\n```\n\n### Installing FFMPEG on Centos\n\n```\nwget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz\ntar -xf ffmpeg-release-amd64-static.tar.xz\nsudo mkdir -p /usr/local/bin/ffmpeg\nsudo mv ./ffmpeg-4.2.2-amd64-static/* /usr/local/bin/ffmpeg\nsudo ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg\nsudo ln -s /usr/local/bin/ffmpeg/ffprobe /usr/bin/ffprobe\n# Verify installation\nwhich ffmpeg \u0026\u0026 ffmpeg -version\n```\n\n## From OBS\n\n```\nSettings -\u003e Stream\nStream Type : Custom Streaming Server\nURL : rtmp://localhost:1935/live\nStream key : STREAM_NAME\n```\n\n## Accessing the live stream\n\n```\nHLS - http://localhost:8000/live/STREAM_NAME/index.m3u8\nFLV - http://localhost:8000/live/STREAM_NAME.flv\nWSS - ws://localhost:8000/live/STREAM_NAME.flv\nRTMP - ws://localhost:8000/live/STREAM_NAME\n```\n\n## Cluster Mode\n\nAsk me how\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohndavedecano%2Fnode-rtmp-hls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohndavedecano%2Fnode-rtmp-hls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohndavedecano%2Fnode-rtmp-hls/lists"}