{"id":18879598,"url":"https://github.com/statickidz/react-native-rtmp-stream-example","last_synced_at":"2025-04-14T19:23:34.422Z","repository":{"id":38806409,"uuid":"127164915","full_name":"statickidz/react-native-rtmp-stream-example","owner":"statickidz","description":"Example application with React Native for RTMP live streaming to server","archived":false,"fork":false,"pushed_at":"2023-01-23T19:47:38.000Z","size":65573,"stargazers_count":38,"open_issues_count":27,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T07:51:10.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/statickidz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["statickidz"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-03-28T15:58:55.000Z","updated_at":"2024-12-15T03:15:34.000Z","dependencies_parsed_at":"2023-02-13T02:31:38.276Z","dependency_job_id":null,"html_url":"https://github.com/statickidz/react-native-rtmp-stream-example","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/statickidz%2Freact-native-rtmp-stream-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statickidz%2Freact-native-rtmp-stream-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statickidz%2Freact-native-rtmp-stream-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statickidz%2Freact-native-rtmp-stream-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statickidz","download_url":"https://codeload.github.com/statickidz/react-native-rtmp-stream-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248943527,"owners_count":21186980,"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-11-08T06:37:57.998Z","updated_at":"2025-04-14T19:23:34.366Z","avatar_url":"https://github.com/statickidz.png","language":"JavaScript","funding_links":["https://github.com/sponsors/statickidz"],"categories":[],"sub_categories":[],"readme":"# React Native RTMP Stream Example\n\n#### Example application with React Native for RTMP live streaming to server\n\n---\n\n## 📖 Libraries\n\n- [React Native Starter Kit](https://github.com/mcnamee/react-native-starter-kit/)\n- [React Native Node Media Client](https://github.com/NodeMedia/react-native-nodemediaclient)\n- [Node Media Server](https://github.com/illuspas/Node-Media-Server)\n\n---\n\n## 🚀 Getting Started\n\n#### Clone and Install\n\n```bash\n# Clone the repo\ngit clone https://github.com/statickidz/react-native-rtmp-stream-example.git\n\n# Install dependencies\ncd rtmp-client \u0026\u0026 yarn \u0026\u0026 cd ../rtmp-server \u0026\u0026 yarn \u0026\u0026 cd ..\n```\n\n#### Run the _RTMP_ Server\n\n```bash\n# Start the RTMP Server\ncd rtmp-server \u0026\u0026 yarn start\n```\nGo [http://localhost:3000/api/streams](http://localhost:3000/api/streams) to view RTMP publishers and subscribers.\n\n#### Run the _React Native_ App\n\nChange in [src/native/components/Stream.js](/src/native/components/Stream.js) your server ip address in your local network.\n\n```bash\n# Start the React Native packager\ncd rtmp-client\nyarn start\n```\n\n```bash\n# Run Android\nyarn android-bundle\nyarn android\n```\n\n```bash\n# Run iOS\nyarn ios-bundle\nyarn ios\n```\n\n#### Change your server IP\nI'm using Genymotion default PC IP, customize yours\nrtmp-client\\src\\native\\components\\Stream.js\n```\n...\noutputUrl = {\"rtmp://10.0.3.2/live/TESTING\"}\n...\n```\n\n#### Open stream in _VLC_ or similar\n\nrtmp://127.0.0.1/live/TESTING\n\n![running](https://i.gyazo.com/14ed0f771e966d6163b3ffe8b8628deb.png)\n![vlc](https://i.gyazo.com/23fff81b65894c5485dc94b0ec505ad4.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatickidz%2Freact-native-rtmp-stream-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatickidz%2Freact-native-rtmp-stream-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatickidz%2Freact-native-rtmp-stream-example/lists"}