{"action":"created","issue":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/225","labels_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/225/comments","events_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/225/events","html_url":"https://github.com/Bilibili/ijkplayer/issues/225","id":75559986,"number":225,"title":"Wait for stream closed or switch url on the fly on IOS","user":{"login":"linked67","id":6613871,"avatar_url":"https://avatars.githubusercontent.com/u/6613871?v=3","gravatar_id":"","url":"https://api.github.com/users/linked67","html_url":"https://github.com/linked67","followers_url":"https://api.github.com/users/linked67/followers","following_url":"https://api.github.com/users/linked67/following{/other_user}","gists_url":"https://api.github.com/users/linked67/gists{/gist_id}","starred_url":"https://api.github.com/users/linked67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linked67/subscriptions","organizations_url":"https://api.github.com/users/linked67/orgs","repos_url":"https://api.github.com/users/linked67/repos","events_url":"https://api.github.com/users/linked67/events{/privacy}","received_events_url":"https://api.github.com/users/linked67/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-12T10:50:37Z","updated_at":"2015-05-12T13:36:51Z","closed_at":null,"body":"Hi,\r\n\r\nI have a rtsp server that can stream only 1 stream on the same time.\r\n\r\nWhen i try to call stop or shutdown, i have to wait around 10 or 15 seconds before i can init a new player.\r\nIf i init the player before this time, the server say me that there is already a stream open.\r\n\r\nWhat can i do either to switch on the fly without needing to init a new player or have a message that it's ok ? I don't see MPMoviePlaybackStateStopped, only  MPMoviePlaybackStatePlaying or MPMoviePlaybackStatePaused.\r\n\r\nIt would be nice to not wait the 10 or 15s, with vlc i don't have this problem."},"comment":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/comments/101280943","html_url":"https://github.com/Bilibili/ijkplayer/issues/225#issuecomment-101280943","issue_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/225","id":101280943,"user":{"login":"linked67","id":6613871,"avatar_url":"https://avatars.githubusercontent.com/u/6613871?v=3","gravatar_id":"","url":"https://api.github.com/users/linked67","html_url":"https://github.com/linked67","followers_url":"https://api.github.com/users/linked67/followers","following_url":"https://api.github.com/users/linked67/following{/other_user}","gists_url":"https://api.github.com/users/linked67/gists{/gist_id}","starred_url":"https://api.github.com/users/linked67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linked67/subscriptions","organizations_url":"https://api.github.com/users/linked67/orgs","repos_url":"https://api.github.com/users/linked67/repos","events_url":"https://api.github.com/users/linked67/events{/privacy}","received_events_url":"https://api.github.com/users/linked67/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T13:36:51Z","updated_at":"2015-05-12T13:36:51Z","body":"I don't see more log like something that could happen after the delay where i can switch to another stream.\r\n\r\nIt would be great if you could test my stream but it's a media box under my TV and even if i setup everyting to give you access from outside, my upload bandwidth is too low.\r\n\r\nMaybe you can test with some rtsp stream that we can easy find on the web ? They won't say you that a stream is already open because you switch to another URL and the new link will open with a new player instance while in the background the other is slowly closed. Maybe you can just catch what is going slow when a rtsp stream is closed.\r\n\r\nHere is the first  lisk i have found:\r\nrtsp://46.249.213.87/broadcast/bollywoodgossip-tablet.3gp\r\n\r\nLet me know if you need more"}}