{"action":"created","issue":{"url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/53","labels_url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/53/comments","events_url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/53/events","html_url":"https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/issues/53","id":118785147,"number":53,"title":"Fallback sources for pull ... static","user":{"login":"cowai","id":445843,"avatar_url":"https://avatars.githubusercontent.com/u/445843?v=3","gravatar_id":"","url":"https://api.github.com/users/cowai","html_url":"https://github.com/cowai","followers_url":"https://api.github.com/users/cowai/followers","following_url":"https://api.github.com/users/cowai/following{/other_user}","gists_url":"https://api.github.com/users/cowai/gists{/gist_id}","starred_url":"https://api.github.com/users/cowai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cowai/subscriptions","organizations_url":"https://api.github.com/users/cowai/orgs","repos_url":"https://api.github.com/users/cowai/repos","events_url":"https://api.github.com/users/cowai/events{/privacy}","received_events_url":"https://api.github.com/users/cowai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-25T08:29:43Z","updated_at":"2015-11-25T21:44:38Z","closed_at":null,"body":"Hi,\r\nFirst I would say that I am appreciate the effort to keep this project going. Thank you.\r\n\r\npull rtmp://remoteserver1 name=streamname live=1 static;\r\nCan I somehow make it try another server if remoteserver1 goes down?\r\n\r\nA syntax like this could be cool:\r\npull rtmp://remoteserver1|rtmp://remoteserver2 name=streamname live=1 static;\r\n\r\nIf not how can I make nginx exit when remoteserver1 is down so I can patch the nginx configuration to use remoteserver2?\r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/comments/159738009","html_url":"https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/issues/53#issuecomment-159738009","issue_url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/53","id":159738009,"user":{"login":"sergey-dryabzhinsky","id":717597,"avatar_url":"https://avatars.githubusercontent.com/u/717597?v=3","gravatar_id":"","url":"https://api.github.com/users/sergey-dryabzhinsky","html_url":"https://github.com/sergey-dryabzhinsky","followers_url":"https://api.github.com/users/sergey-dryabzhinsky/followers","following_url":"https://api.github.com/users/sergey-dryabzhinsky/following{/other_user}","gists_url":"https://api.github.com/users/sergey-dryabzhinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-dryabzhinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-dryabzhinsky/subscriptions","organizations_url":"https://api.github.com/users/sergey-dryabzhinsky/orgs","repos_url":"https://api.github.com/users/sergey-dryabzhinsky/repos","events_url":"https://api.github.com/users/sergey-dryabzhinsky/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-dryabzhinsky/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T21:44:38Z","updated_at":"2015-11-25T21:44:38Z","body":"Well it's round-robin by default.\r\nYou can try to link remote IP to remote server by ```hash $remote_addr;```.\r\nOr mark all servers except one with ```backup``` param.\r\n\r\nhttp://nginx.org/en/docs/stream/ngx_stream_upstream_module.html"}}