{"id":13697531,"url":"https://github.com/mediafoundation/media-server","last_synced_at":"2026-01-16T16:42:15.816Z","repository":{"id":143165411,"uuid":"310377501","full_name":"mediafoundation/media-server","owner":"mediafoundation","description":"Transcode, Broadcast and Stream Live Video","archived":false,"fork":false,"pushed_at":"2024-01-03T22:23:32.000Z","size":1346,"stargazers_count":90,"open_issues_count":2,"forks_count":22,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-11-13T01:34:13.069Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/mediafoundation.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-05T17:54:58.000Z","updated_at":"2024-09-08T13:58:09.000Z","dependencies_parsed_at":"2024-01-04T01:10:27.421Z","dependency_job_id":null,"html_url":"https://github.com/mediafoundation/media-server","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/mediafoundation%2Fmedia-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafoundation%2Fmedia-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafoundation%2Fmedia-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediafoundation%2Fmedia-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mediafoundation","download_url":"https://codeload.github.com/mediafoundation/media-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252252491,"owners_count":21718749,"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":[],"created_at":"2024-08-02T18:00:59.820Z","updated_at":"2026-01-16T16:42:15.794Z","avatar_url":"https://github.com/mediafoundation.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# 🌐 Media Server Setup Guide\n\nWelcome to the Media Server setup guide! Media Server is a robust streaming platform designed for seamless content broadcasting. Ideal for content creators, businesses, or individuals keen on sharing content globally, this guide will assist you in establishing your Media Server. Let's begin!\n\n## 🖥️ Minimum Requirements \n- 🐧 OS: Debian 10 or higher\n- 🧠 RAM: Minimum of 512MB\n- 🚀 CPU: At least 1 Core\n\n## Easy Installation with Ansible\n\nFor a hassle-free installation of Media Server using Ansible, visit the [media-server-deploy](https://github.com/mediafoundation/media-server-deploy) repository.\n\n## 🛠️ Manual Installation\n\n### 1. System Tools \u0026 Node.js\nInstall necessary tools and Node.js:\n```bash\napt update \u0026\u0026 apt install -y git curl nano xz-utils\ncurl -sL https://deb.nodesource.com/setup_15.x | bash -\napt install -y nodejs\n```\n\n### 2. FFmpeg Setup\nSet up FFmpeg for media processing:\n```bash\ncd /tmp \u0026\u0026 rm -r ffmpeg*\nwget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz\ntar xvf ffmpeg-release-amd64-static.tar.xz\ncd ffmpeg-* \u0026\u0026 mv ffmpeg ffprobe /usr/bin/\n```\n\n### 3. Clone \u0026 Setup Media Server\nClone the repository and install dependencies:\n```bash\ncd ~ \u0026\u0026 git clone https://github.com/mediafoundation/mediaserver.git\ncd mediaserver \u0026\u0026 npm i\n```\n\n## Configuration\n\n- Rename `config.js.example` to `config.js`.\n- Customize `config.js` with your settings.\n\n## 🔒 Securing the Server\n\nUpdate the secret passphrase to secure your RTMP server:\n```bash\nnano config.js\n```\n```js\nconst config = {\n  passphrase: \"Your Secret Passphrase\",\n  //...\n}\n```\n\n### Configuring CDN Domain\n\nAfter CDN integration, update Media Server's config with your new subdomain:\n```bash\nnano config.js\n```\n```js\nconst config = {\n  //...\n  cdn_url: \"https://cdn.example.com\",\n  //...\n}\n```\n\n## 🚀 Running the App\n\nTo launch Media Server, navigate to its directory and run:\n```bash\nnode app.js\n```\n\n## 🌍 Testing the Server\n\nEnsure proper setup by visiting your server's IP in a browser. You should see the Media Server homepage:\n```\nhttp://YOUR.IP.ADDRESS/\n```\n[![Home Page](https://docs.media.network/img/mediaserverexp.png)](https://docs.media.network/img/mediaserverexp.png)\n\n\n\u003e 💡 Restart Media Server after configuration changes.\n\n### Removing a Stream\n\nDelete a stream using:\n```bash\ncurl -X \"DELETE\" http://admin:admin@localhost/api/streams/live/STREAM_NAME\n```\n\n## 🛡️ Admin Panel\n\nMonitor streams and network usage via the admin panel:\n```\nhttp://YOUR.IP.ADDRESS:8080/admin\n```\nSet admin credentials in `config.js`:\n```js\n// mediaserver/config.js\n//...\nauth: {\n  api : true,\n  api_user: 'admin',\n  api_pass: 'admin',\n},\n//...\n```\n\n---\n\n## 🙌 Credits\n\nMedia Server is based on illuspas' [Node-Media-Server](https://github.com/illuspas/Node-Media-Server), a Node.js implementation of a RTMP/HTTP-FLV/WS-FLV/HLS/DASH Media Server, utilizing Arut's [nginx RTMP Module](https://github.com/arut/nginx-rtmp-module).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediafoundation%2Fmedia-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediafoundation%2Fmedia-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediafoundation%2Fmedia-server/lists"}