summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/libstagefright/wifi-display/source/Converter.cpp4
-rw-r--r--media/libstagefright/wifi-display/source/PlaybackSession.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/media/libstagefright/wifi-display/source/Converter.cpp b/media/libstagefright/wifi-display/source/Converter.cpp
index 655fbae..ee05e45 100644
--- a/media/libstagefright/wifi-display/source/Converter.cpp
+++ b/media/libstagefright/wifi-display/source/Converter.cpp
@@ -86,8 +86,8 @@ status_t Converter::initEncoder() {
if (isAudio) {
mOutputFormat->setInt32("bitrate", 64000); // 64 kBit/sec
} else {
- mOutputFormat->setInt32("bitrate", 3000000); // 3Mbit/sec
- mOutputFormat->setInt32("frame-rate", 30);
+ mOutputFormat->setInt32("bitrate", 5000000); // 5Mbit/sec
+ mOutputFormat->setInt32("frame-rate", 60);
mOutputFormat->setInt32("i-frame-interval", 3); // Iframes every 3 secs
}
diff --git a/media/libstagefright/wifi-display/source/PlaybackSession.cpp b/media/libstagefright/wifi-display/source/PlaybackSession.cpp
index 6b42431..53d27c1 100644
--- a/media/libstagefright/wifi-display/source/PlaybackSession.cpp
+++ b/media/libstagefright/wifi-display/source/PlaybackSession.cpp
@@ -624,7 +624,7 @@ status_t WifiDisplaySource::PlaybackSession::setupPacketizer() {
ssize_t index = mSerializer->addSource(source);
#else
ssize_t index = mSerializer->addSource(
- new RepeaterSource(source, 30.0 /* rateHz */));
+ new RepeaterSource(source, 55.0 /* rateHz */));
#endif
CHECK_GE(index, 0);