diff options
author | Andreas Huber <andih@google.com> | 2012-09-25 14:20:08 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-09-25 16:05:09 -0700 |
commit | 28e17ed7e2fbb254fb99481b74db85e427c905ee (patch) | |
tree | 8d4af5c5b495452f048a58eccb07736f3c03a30a /media/libstagefright/wifi-display/source/WifiDisplaySource.cpp | |
parent | 92f655fe351a5f2eb7d36123d2b687d6e7e3e913 (diff) | |
download | frameworks_av-28e17ed7e2fbb254fb99481b74db85e427c905ee.zip frameworks_av-28e17ed7e2fbb254fb99481b74db85e427c905ee.tar.gz frameworks_av-28e17ed7e2fbb254fb99481b74db85e427c905ee.tar.bz2 |
Better transport stream timestamp handling.
Properly emit PCR and PMT/PAT updates every 0.1 secs.
Don't stream RTCP unless requested by the dongle.
related-to-bug: 7232540
Change-Id: Ie9a6949a074d86ab022adfab5d2811294ba746aa
Diffstat (limited to 'media/libstagefright/wifi-display/source/WifiDisplaySource.cpp')
-rw-r--r-- | media/libstagefright/wifi-display/source/WifiDisplaySource.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/media/libstagefright/wifi-display/source/WifiDisplaySource.cpp b/media/libstagefright/wifi-display/source/WifiDisplaySource.cpp index 787ccc0..7f7aeac 100644 --- a/media/libstagefright/wifi-display/source/WifiDisplaySource.cpp +++ b/media/libstagefright/wifi-display/source/WifiDisplaySource.cpp @@ -876,7 +876,6 @@ status_t WifiDisplaySource::onSetupRequest( } else if (sscanf(clientPort.c_str(), "%d", &clientRtp) == 1) { // No RTCP. clientRtcp = -1; - clientRtcp = clientRtp + 1; // XXX } else { badRequest = true; } @@ -889,7 +888,7 @@ status_t WifiDisplaySource::onSetupRequest( // The older LG dongles doesn't specify client_port=xxx apparently. } else if (transport == "RTP/AVP/UDP;unicast") { clientRtp = 19000; - clientRtcp = clientRtp + 1; + clientRtcp = -1; #endif } else { sendErrorResponse(sessionID, "461 Unsupported Transport", cseq); |