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

Commit de799a74 authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

wfd_presentation_url should not include the port number according to wfd specs

Change-Id: I9c0e0174f6ab4cb24c6eafcaae853e432b3dffb9
related-to-bug: 7247490
parent ecc8db5e
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -497,10 +497,9 @@ status_t WifiDisplaySource::sendM4(int32_t sessionID) {
        "wfd_video_formats: "
        "78 00 02 02 00008000 00000000 00000000 00 0000 0000 00 none none\r\n"
        "wfd_audio_codecs: AAC 00000001 00\r\n"  // 2 ch AAC 48kHz
        "wfd_presentation_URL: rtsp://%s:%d/wfd1.0/streamid=0 none\r\n"
        "wfd_presentation_URL: rtsp://%s/wfd1.0/streamid=0 none\r\n"
        "wfd_client_rtp_ports: RTP/AVP/%s;unicast 19000 0 mode=play\r\n",
        mClientInfo.mLocalIP.c_str(), mClientInfo.mLocalPort,
        transportString.c_str());
        mClientInfo.mLocalIP.c_str(), transportString.c_str());

    AString request = "SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0\r\n";
    AppendCommonResponse(&request, mNextCSeq);