{"action":"created","issue":{"url":"https://api.github.com/repos/kyriesent/node-rtsp-stream/issues/12","repository_url":"https://api.github.com/repos/kyriesent/node-rtsp-stream","labels_url":"https://api.github.com/repos/kyriesent/node-rtsp-stream/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/kyriesent/node-rtsp-stream/issues/12/comments","events_url":"https://api.github.com/repos/kyriesent/node-rtsp-stream/issues/12/events","html_url":"https://github.com/kyriesent/node-rtsp-stream/issues/12","id":298216937,"node_id":"MDU6SXNzdWUyOTgyMTY5Mzc=","number":12,"title":"About ffmpeg auto-restarting ","user":{"login":"justkrevedko","id":175383,"node_id":"MDQ6VXNlcjE3NTM4Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/175383?v=4","gravatar_id":"","url":"https://api.github.com/users/justkrevedko","html_url":"https://github.com/justkrevedko","followers_url":"https://api.github.com/users/justkrevedko/followers","following_url":"https://api.github.com/users/justkrevedko/following{/other_user}","gists_url":"https://api.github.com/users/justkrevedko/gists{/gist_id}","starred_url":"https://api.github.com/users/justkrevedko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justkrevedko/subscriptions","organizations_url":"https://api.github.com/users/justkrevedko/orgs","repos_url":"https://api.github.com/users/justkrevedko/repos","events_url":"https://api.github.com/users/justkrevedko/events{/privacy}","received_events_url":"https://api.github.com/users/justkrevedko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-19T09:58:53Z","updated_at":"2018-07-11T09:05:52Z","closed_at":null,"author_association":"NONE","body":"Is there a simple way to restart the stream if the ffmpeg process terminates unexpectedly?"},"comment":{"url":"https://api.github.com/repos/kyriesent/node-rtsp-stream/issues/comments/404098911","html_url":"https://github.com/kyriesent/node-rtsp-stream/issues/12#issuecomment-404098911","issue_url":"https://api.github.com/repos/kyriesent/node-rtsp-stream/issues/12","id":404098911,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDA5ODkxMQ==","user":{"login":"parazitexe","id":4697837,"node_id":"MDQ6VXNlcjQ2OTc4Mzc=","avatar_url":"https://avatars1.githubusercontent.com/u/4697837?v=4","gravatar_id":"","url":"https://api.github.com/users/parazitexe","html_url":"https://github.com/parazitexe","followers_url":"https://api.github.com/users/parazitexe/followers","following_url":"https://api.github.com/users/parazitexe/following{/other_user}","gists_url":"https://api.github.com/users/parazitexe/gists{/gist_id}","starred_url":"https://api.github.com/users/parazitexe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parazitexe/subscriptions","organizations_url":"https://api.github.com/users/parazitexe/orgs","repos_url":"https://api.github.com/users/parazitexe/repos","events_url":"https://api.github.com/users/parazitexe/events{/privacy}","received_events_url":"https://api.github.com/users/parazitexe/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T09:05:52Z","updated_at":"2018-07-11T09:05:52Z","author_association":"NONE","body":"Hi. Do you have any solution for it?\r\nI have a same issue, need to restart stream.\r\nI think we can use something like this code \r\n```\r\nstream = new Stream({\r\n    name: 'myStream',\r\n    streamUrl: 'rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov',\r\n    wsPort: 9999,\r\n    //new\r\n    reconnect: true,\r\n    timeout: 1000\r\n});\r\n```\r\nand modify _videoStream.js_ and _mpeg1muxer.js_ files"}}
{"actor":{"display_login":"parazitexe"}}