RTSP: Don't post AUTimeout check during pause when EOS is nearing
RTSPSource will not issue pause to MyHandler when streaming is about to finish even when streaming is paused. Thus, in this case, the accessunit timeout check will continue to see if any packets are received or not from the server. As there will not be any more access units coming from server after EOS, the session gets terminated. In this scenario if resume is issued, the player crashes. Set the AuTimeoutcheck flag to false in case if pause is not issued to MyHandler when nearing EOS. Based on the value of the flag, the access unit timeout check will be performed. Change-Id: I9bdbc6bb21e441e22ed431a9e433b232df56a69e CRs-Fixed: 676054
Loading
Please register or sign in to comment