Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22d00b70 authored by Andreas Huber's avatar Andreas Huber
Browse files

wfd sink update.

Change-Id: Ib4e41ec1524d045699543536acdddc9a243db741
parent 7e900282
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -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);
@@ -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.");
        }
        }


+4 −3
Original line number Original line Diff line number Diff line
@@ -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);