{"id":21098501,"url":"https://github.com/godka/node-rtsp-live555","last_synced_at":"2025-05-16T16:32:25.173Z","repository":{"id":98186499,"uuid":"99568435","full_name":"godka/node-rtsp-live555","owner":"godka","description":"get RTSP stream from IPC and export in FLV stream","archived":false,"fork":false,"pushed_at":"2017-08-21T13:25:26.000Z","size":15572,"stargazers_count":30,"open_issues_count":2,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-02T14:21:34.216Z","etag":null,"topics":["flv","live555","nodejs","npm","rtsp"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/rtsp-live555","language":"C++","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/godka.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":"2017-08-07T10:55:24.000Z","updated_at":"2025-01-22T01:36:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"f56c9aca-f3fb-40f1-8715-34bb8f47addc","html_url":"https://github.com/godka/node-rtsp-live555","commit_stats":{"total_commits":48,"total_committers":2,"mean_commits":24.0,"dds":0.08333333333333337,"last_synced_commit":"6e84a1c310f60a95010377d0482fd97d0139d247"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godka%2Fnode-rtsp-live555","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godka%2Fnode-rtsp-live555/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godka%2Fnode-rtsp-live555/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godka%2Fnode-rtsp-live555/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godka","download_url":"https://codeload.github.com/godka/node-rtsp-live555/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254567529,"owners_count":22092782,"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":["flv","live555","nodejs","npm","rtsp"],"created_at":"2024-11-19T22:55:28.370Z","updated_at":"2025-05-16T16:32:25.168Z","avatar_url":"https://github.com/godka.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rtsp-live555\n\n[![Build Status](https://travis-ci.org/godka/node-rtsp-live555.svg?branch=master)](https://travis-ci.org/godka/node-rtsp-live555)\n\n[![NPM](https://nodei.co/npm/rtsp-live555.png)](https://nodei.co/npm/rtsp-live555/)\n\n## introduction\n\nThis is a wrapper which allows you to get RTSP stream from IPC and export in FLV stream.\n\n## Installation\n\n### NPM\n\n`npm install rtsp-live555` - install lastest stable version\n\n`npm install godka/node-rtsp-live555` -install lastest version from github\n\n### Clone the last version from Github\n`git clone https://github.com/godka/node-rtsp-live555`\n\n### Sample\nThe sample creates a web server at port 8080 and scans RTSP address from IPC with onvif.A stream will be shown on the video element via GrindPlayer(flash) and flv.js when pressing 'play' button.\n\n```javascript\nvar rtsp = null;\ntry {\n    rtsp = require('rtsp-live555');\n} catch (e) {\n    rtsp = require('./lib/rtsp-live555.js');\n}\nvar _url = 'rtsp://1029.mythkast.net/test.264';//test address\nvar stream = new rtsp.Live555Client({ input: _url });\nstream.on('start', () =\u003e {\n    console.log(_url + ' started');\n});\n\nstream.on('stop', () =\u003e {\n    console.log(_url + ' stopped');\n});\nvar _hasrecv = false;\nstream.on('data', (data) =\u003e {\n    //you can write your method here\n    //data is flv stream\n    if (!_hasrecv) {\n        console.log('recv stream:', data.length);\n        stream.stop();\n        console.log('close stream:', _url);\n        _hasrecv = true;\n    }\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodka%2Fnode-rtsp-live555","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgodka%2Fnode-rtsp-live555","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodka%2Fnode-rtsp-live555/lists"}