Loading media/libstagefright/wifi-display/sink/TunnelRenderer.cpp +4 −1 Original line number Original line Diff line number Diff line Loading @@ -271,6 +271,7 @@ sp<ABuffer> TunnelRenderer::dequeueBuffer() { if (mFirstFailedAttemptUs + 50000ll > ALooper::GetNowUs()) { if (mFirstFailedAttemptUs + 50000ll > ALooper::GetNowUs()) { // We're willing to wait a little while to get the right packet. // We're willing to wait a little while to get the right packet. #if 0 if (!mRequestedRetransmission) { if (!mRequestedRetransmission) { ALOGI("requesting retransmission of seqNo %d", ALOGI("requesting retransmission of seqNo %d", (mLastDequeuedExtSeqNo + 1) & 0xffff); (mLastDequeuedExtSeqNo + 1) & 0xffff); Loading @@ -280,7 +281,9 @@ sp<ABuffer> TunnelRenderer::dequeueBuffer() { notify->post(); notify->post(); mRequestedRetransmission = true; mRequestedRetransmission = true; } else { } else #endif { ALOGI("still waiting for the correct packet to arrive."); ALOGI("still waiting for the correct packet to arrive."); } } Loading media/libstagefright/wifi-display/sink/WifiDisplaySink.cpp +4 −3 Original line number Original line Diff line number Diff line Loading @@ -475,9 +475,10 @@ void WifiDisplaySink::onGetParameterRequest( int32_t cseq, int32_t cseq, const sp<ParsedMessage> &data) { const sp<ParsedMessage> &data) { AString body = AString body = "wfd_video_formats: xxx\r\n" "wfd_video_formats: " "wfd_audio_codecs: xxx\r\n" "28 00 02 02 FFFFFFFF 0000000 00000000 00 0000 0000 00 none none\r\n" "wfd_client_rtp_ports: RTP/AVP/UDP;unicast xxx 0 mode=play\r\n"; "wfd_audio_codecs: AAC 0000000F 00\r\n" "wfd_client_rtp_ports: RTP/AVP/UDP;unicast 19000 0 mode=play\r\n"; AString response = "RTSP/1.0 200 OK\r\n"; AString response = "RTSP/1.0 200 OK\r\n"; AppendCommonResponse(&response, cseq); AppendCommonResponse(&response, cseq); Loading Loading
media/libstagefright/wifi-display/sink/TunnelRenderer.cpp +4 −1 Original line number Original line Diff line number Diff line Loading @@ -271,6 +271,7 @@ sp<ABuffer> TunnelRenderer::dequeueBuffer() { if (mFirstFailedAttemptUs + 50000ll > ALooper::GetNowUs()) { if (mFirstFailedAttemptUs + 50000ll > ALooper::GetNowUs()) { // We're willing to wait a little while to get the right packet. // We're willing to wait a little while to get the right packet. #if 0 if (!mRequestedRetransmission) { if (!mRequestedRetransmission) { ALOGI("requesting retransmission of seqNo %d", ALOGI("requesting retransmission of seqNo %d", (mLastDequeuedExtSeqNo + 1) & 0xffff); (mLastDequeuedExtSeqNo + 1) & 0xffff); Loading @@ -280,7 +281,9 @@ sp<ABuffer> TunnelRenderer::dequeueBuffer() { notify->post(); notify->post(); mRequestedRetransmission = true; mRequestedRetransmission = true; } else { } else #endif { ALOGI("still waiting for the correct packet to arrive."); ALOGI("still waiting for the correct packet to arrive."); } } Loading
media/libstagefright/wifi-display/sink/WifiDisplaySink.cpp +4 −3 Original line number Original line Diff line number Diff line Loading @@ -475,9 +475,10 @@ void WifiDisplaySink::onGetParameterRequest( int32_t cseq, int32_t cseq, const sp<ParsedMessage> &data) { const sp<ParsedMessage> &data) { AString body = AString body = "wfd_video_formats: xxx\r\n" "wfd_video_formats: " "wfd_audio_codecs: xxx\r\n" "28 00 02 02 FFFFFFFF 0000000 00000000 00 0000 0000 00 none none\r\n" "wfd_client_rtp_ports: RTP/AVP/UDP;unicast xxx 0 mode=play\r\n"; "wfd_audio_codecs: AAC 0000000F 00\r\n" "wfd_client_rtp_ports: RTP/AVP/UDP;unicast 19000 0 mode=play\r\n"; AString response = "RTSP/1.0 200 OK\r\n"; AString response = "RTSP/1.0 200 OK\r\n"; AppendCommonResponse(&response, cseq); AppendCommonResponse(&response, cseq); Loading