summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/wifi-display
Commit message (Collapse)AuthorAgeFilesLines
* frameworks/av: fix errors inside ALOGVColin Cross2014-02-061-1/+1
| | | | | | Fix errors exposed by adding compile-time checking to disabled ALOGVs. Change-Id: I9602a4a485dffa3caad732c2a19ec0e41a0ac65b
* Remove now unused wfd commandline tool. (also unbreaks the build)Andreas Huber2013-10-032-384/+0
| | | | | Change-Id: I03320342976e4e355cc6aeb3d2c485985613b3b5 related-to-bug: 11047222
* Remove obsolete miracast sink code and friends.Andreas Huber2013-10-0220-5839/+1
| | | | | Change-Id: I8bbb22fb0cfe2d73881d9f05bf8112ae86d8040b related-to-bug: 11047222
* Use changed MediaCodec.PARAMETER_KEY_VIDEO_BITRATE valueLajos Molnar2013-09-171-1/+1
| | | | | | Change-Id: I157bcafbf705865e66c81517b1eab10c3daa039e Signed-off-by: Lajos Molnar <lajos@google.com> Bug: 10461617
* wifi-display: do not use HDCP's encryptNative method if its unsupportedChong Zhang2013-09-031-1/+2
| | | | | Bug: 10609422 Change-Id: I005f1d04a4191b1503b5f3e895a98b8d6560c402
* wifi-display: pass session info to wifi display settingsChong Zhang2013-08-212-6/+10
| | | | | | Bug: 9371882 Change-Id: I9e4b8c2154b03ce8ff3e14c465a5224bb6e8db9a
* Remove call to enable/disable remote submix from test program.Jeff Brown2013-08-161-26/+0
| | | | | | | | The submix will be controlled automatically from now on based on whether there is an active audio recorder. Bug: 10265163 Change-Id: Iea8164182daa037066f60974b54597d20db4903b
* Minor tweaks to DirectRenderer and ConverterAndreas Huber2013-07-195-60/+209
| | | | | | | | Converter now supports automatic prepending of SPS/PPS to IDR frames (h264) as well as using the encoder in "surface-input" mode. The new features are all opt-in and should not affect existing clients. Change-Id: I543cf1d31ba068c1a01ab4e6814ac8d817b63faa
* ANetworkSession and ParsedMessage are now part of stagefright foundation.Andreas Huber2013-07-1819-1750/+17
| | | | | | | | Also fixes some bugs in ParseMessage and adds "WebSocket" mode to ANetworkSession, something that's opt-in and should not affect existing clients of the API. Change-Id: I86d5748e0d818231d85d3590d86c2b41d4f8b1f1
* Include what is neededGlenn Kasten2013-07-021-2/+0
| | | | | | | Remove old includes. Header files only include other header files that they directly need themselves. Change-Id: Ic471386808d9f42ea19ccbd59cb50a5f83a89dd0
* Converter now takes the desired _output_ format instead of theAndreas Huber2013-06-123-37/+30
| | | | | | input format, allowing control over the type of encoding. Change-Id: Iaaa1a825f447ea130e373bbd8e5dc96f2762db18
* Remove "LOCAL_MODULE_TAGS := debug" for stagefright testsMike Lockwood2013-06-061-8/+0
| | | | Change-Id: I53815d2f6d7dfe7eebb26c3802eb3d195244aab1
* wifi-display: fix resolution list and keepalive intervalChong Zhang2013-05-303-3/+30
| | | | | | | | | | - add all resolutions lower than 1280x720p30 - schedule next keepalive when sending M16 bug 9116665 Change-Id: I7b3fea2101d3d882c0af5c153af5c502b8ce98f6
* wifi-display: fixes for PAUSE/PLAY stateChong Zhang2013-05-301-3/+5
| | | | | | | | | | PAUSE could be initiated by either source (via trigger method) or sink, in latter case we have to allow PAUSE from PLAYING state. Similarly PLAY should be allowed from PAUSED state. Bug: 8922515 Change-Id: I475534aa4ffa6dc6844f59c5868d8f88291019ae
* wifi-display: add support for metadata mode on encoder outputChong Zhang2013-05-1710-39/+295
| | | | | | | | pass buffer_handle_t from encoder output to HDCP encryptor input Bug: 8968123 Change-Id: Iea8007ce568641e213fd2e3cf6947a6f7a95746c
* am b5b2d03f: am 99f27cdf: wifi-display: retry UDP read/write to improve ↵Chong Zhang2013-05-161-4/+25
|\ | | | | | | | | | | | | connection robustness * commit 'b5b2d03fc2c154a613ba68b599cd474b3e6ccec3': wifi-display: retry UDP read/write to improve connection robustness
| * wifi-display: retry UDP read/write to improve connection robustnessChong Zhang2013-05-161-4/+25
| | | | | | | | | | Bug: 8922753 Change-Id: Ie6d18f03afcb23d11e6f0e63403e8f0d59b70be8
| * wifi-display: misc fixes for M3 response parsingChong Zhang2013-05-114-125/+186
| | | | | | | | | | | | | | | | | | | | | | - fix wfd_video_format parsing w/ multiple H264-Codec - fix handling of CRLF at end of M3 response - fix missing wfd_client_rtp_ports Bug: 8871667 Bug: 8875749 Change-Id: Idb0b5605313bba6ff067bcd765512bbed42e5202
| * Merge "Don't even try to verify the native resolution validity a" into ↵Andreas Huber2013-05-021-2/+11
| |\ | | | | | | | | | jb-mr2-dev
| | * Don't even try to verify the native resolution validity aAndreas Huber2013-05-011-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | miracast sink advertises, even if it were valid we couldn't use it since it's not consistently implemented by sinks. Change-Id: Ibee6b3e23b5a55270fc3c419a581e2626530e3af related-to-bug: 8772006
| * | Fix miracast source code to ignore the encoder output format changeAndreas Huber2013-05-011-0/+7
| |/ | | | | | | | | | | | | it doesn't care about. Change-Id: Iec1594775a98b0c1aba662cc9f08652d2f8d4805 related-to-bug: 8616651
| * Remove all traces of wifi display sink implementation and supporting code.Andreas Huber2013-04-239-328/+4
| | | | | | | | | | Change-Id: I64b681b7e3df1ef0dd80c0d261cacae293d5e684 related-to-bug: 8698812
| * Add liblogYing Wang2013-04-091-0/+5
| | | | | | | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
| * Fix previous changes.Andreas Huber2013-04-041-1/+1
| | | | | | | | Change-Id: I1cd3803b6507156174591c3252f1d89ef2e6140a
| * Support "raw" packetization in RTPSender.Andreas Huber2013-04-043-0/+46
| | | | | | | | Change-Id: I14d59573ee0f57eccc104fea0fb46377476d213d
| * New nettest, a simple TCP connection test to measureAndreas Huber2013-04-041-0/+22
| | | | | | | | | | | | latency between two devices exchanging low-bitrate data. Change-Id: Iac138fa70d2a69bbc86c517c953011c80bed071f
| * Removed rtp timestamp patching hack in ANetworkSession, advertiseAndreas Huber2013-04-041-18/+8
| | | | | | | | | | | | differentiated service tags to help prioritize our traffic. Change-Id: Ibe42df64da272f4bb6b978e46a4ea2efdadfcbc7
| * Fix adaptive frame rate handling to be non-adaptive unless specified throughAndreas Huber2013-04-041-2/+5
| | | | | | | | | | | | adb shell setprop media.wfd.video-framerate adaptive Change-Id: I452576b62ad465680232b40464977e126616df18
| * Fix SHUTDOWN after SETUP and before PLAY in wifi display.Andreas Huber2013-03-281-3/+17
| | | | | | | | | | Change-Id: Ieb8ce1ac3130254839975a3677162b64156735bc related-to-bug: 8499893
| * Adapt frame rate instead of keeping that constant and tweaking bitrateAndreas Huber2013-03-265-29/+88
| | | | | | | | Change-Id: I889abbbe1237e1a8fdd7135cdc91a2e9728ff39b
| * Identify network servers and clients with a OS version related stringAndreas Huber2013-03-262-1/+7
| | | | | | | | | | | | and put the logic to create that string in one location instead of many... Change-Id: I1f729f2e7376cd3b45eea0e48f7bd10084b41b39
| * In "special" mode we now establish a UDP RTCP channel in addition to theAndreas Huber2013-03-2510-26/+135
| | | | | | | | | | | | | | | | TCP RTP channel and provide feedback on the latency of arriving packets from the sink back to the source. This information is then used to throttle video bitrate. Change-Id: Ic589a3cb65e4893a3ff67de947da6063d32a1c6e
| * Get rid of TunnelRendererAndreas Huber2013-03-253-369/+0
| | | | | | | | Change-Id: I40dc00e2e689d7a6b8717ce524016c2948229807
| * Misc debugging support and handling of latency changes.Andreas Huber2013-03-252-34/+12
| | | | | | | | Change-Id: I682944f793690842219cf1adbae5e61e061b6b62
| * Merge "Separate the mode of the RTP and RTCP channels." into jb-mr2-devAndreas Huber2013-03-254-25/+48
| |\
| | * Separate the mode of the RTP and RTCP channels.Andreas Huber2013-03-254-25/+48
| | | | | | | | | | | | | | | | | | I now can use a TCP reliable data channel with a UDP back channel. Change-Id: Ieb0f0970e3a6da4cff250e9547e181c0c961b9fb
| * | Ensure that the payload in each TS packet is an even multiple of 16 bytes longAndreas Huber2013-03-211-43/+158
| |/ | | | | | | | | | | | | (except for the final TS packet) as specified by HDCP. Change-Id: I45d49d347c06f5daae310f196d9a8484be0f3ca0 related-to-bug: 7549145
| * Change ANetworkSession implementation to optionally attach timestampsAndreas Huber2013-03-186-49/+135
| | | | | | | | | | | | | | to fragments of data to be transferred and to log statistics when data is finally submitted to the POSIX layer. Change-Id: Icbfcac203cdc5c9eac1634e84d34bb380b316a01
| * Allow for streaming of media files (without recompression)Andreas Huber2013-03-187-35/+318
| | | | | | | | Change-Id: I1de356cc37506ba986822d12a1a59e7b64069e02
| * Attempt to recover from network stalls by dropping frames on the source side.Andreas Huber2013-03-1310-4/+100
| | | | | | | | Change-Id: I5f9eb4f5acb624a9e5bc0087801fb5a4a9ade35c
| * Squashed commit of the following:Andreas Huber2013-03-128-10/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f4edf442741886cdbe071e2d15f6e6247269f7c5 Author: Andreas Huber <andih@google.com> Date: Tue Mar 12 09:09:18 2013 -0700 Pass additional flags to the sink, use TCP by default in wolfiecast mode. Change-Id: I41e11a2375d4199656e45c4f149d8441d0016092 commit 6302602ed280a38287f507159abfb40a1da38c5a Author: Andreas Huber <andih@google.com> Date: Tue Mar 12 08:51:58 2013 -0700 tweaks Change-Id: Ie29e422d7258be522f4bb1f6c5afcf74c937e547 commit a38a860e4979ba563cadbaafa21b084439449d26 Author: Andreas Huber <andih@google.com> Date: Mon Mar 11 16:57:43 2013 -0700 Report average lateness all the way from NuPlayerRenderer... Change-Id: I2e7700703ae656515e44b9c25610d26c75778111 commit a7d49b11675ea88be4029dd8451d1649db94571d Author: Andreas Huber <andih@google.com> Date: Mon Mar 11 14:54:19 2013 -0700 Make TimeSyncer smarter, enable TunnelRenderer Change-Id: I27377a60cd8feb01589da456967fddd34532c20e commit 0f214c8ef68179f7b61512c37040939554013151 Author: Andreas Huber <andih@google.com> Date: Thu Mar 7 15:57:56 2013 -0800 convert source timestamps to sink timestamps, report lateness. Change-Id: I051a60fbbceca2f7b508ae3dac6e01e402bae39e commit 04a4f8e16bad09157b5615a5fa45310438955832 Author: Andreas Huber <andih@google.com> Date: Thu Mar 7 09:00:28 2013 -0800 Sync time between sink and source. Change-Id: Ie8b4d75c957aa48310e7c81d1279761b9f821efe commit aebe20e6184e3636a99082f8ece08e708015cb8d Author: Andreas Huber <andih@google.com> Date: Wed Mar 6 09:03:12 2013 -0800 play with back pressure Change-Id: I51eb69257e6a79e76f5f9c75ff99d8adbd083947 Change-Id: Ifdf57228667fed7fc71c5090a2c3f7cea1037c5c
| * Merge "Disable our fancy logic to respect both sink and source's native ↵Andreas Huber2013-03-073-13/+10
| |\ | | | | | | | | | formats" into jb-mr2-dev
| | * Disable our fancy logic to respect both sink and source's native formatsAndreas Huber2013-03-073-13/+10
| | | | | | | | | | | | | | | | | | since it isn't actually supported by anything in the field. Change-Id: I9cd038d7631105de26303312ca87c472d67034d4
| * | The transport stream HDCP descriptor belongs in the program_info sectionAndreas Huber2013-03-074-30/+70
| |/ | | | | | | | | | | instead of being included in the per-stream descriptors Change-Id: If5251c0c02456646e2fdbb5e62acf66c356cf13e
| * Squashed commit of the following:Andreas Huber2013-03-0522-2859/+1579
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit e5919b1f57ea61fa1d380dfdb4e3e832ce73d79d Author: Andreas Huber <andih@google.com> Date: Wed Feb 27 16:38:48 2013 -0800 Configure TCP datagram sockets to be TCP_NODELAY. Change-Id: Ia724a81e6e27dccd00ac84603e712d69ca77a0cd commit 1b52b393183db8a6dc000a7c31baac544ccfc50c Author: Andreas Huber <andih@google.com> Date: Wed Feb 27 14:26:01 2013 -0800 Send IDR frame requests on packet loss. Change-Id: I53b7fb85cbd6923491113b93ec3e2175726d654a commit 68d76b4b3a0181b30abc57cd2915273210530a6d Author: Andreas Huber <andih@google.com> Date: Tue Feb 26 15:12:34 2013 -0800 Revive TunnelRenderer Change-Id: I8c5a9d982793b1c5b841c828227b354f1dab618c commit 3df28a8e9d8bcdc1430016bb088d097eca653b56 Author: Andreas Huber <andih@google.com> Date: Tue Feb 26 13:53:14 2013 -0800 Disable suspension of video updates. Change-Id: I7e3a16b8d7dd7a55d9f962a2236388931f664106 commit 2ec7a79de019a26ec415016c1478afd762f069cd Author: Andreas Huber <andih@google.com> Date: Tue Feb 26 08:54:40 2013 -0800 Adds an SNTP client to wfd. Change-Id: Icd7d6104e951e1443e4c1b81ccf6b3731d79d3ec commit c81c3bb5725bb4079a4d7fb02151ad0bb540632f Author: Andreas Huber <andih@google.com> Date: Mon Feb 25 10:00:58 2013 -0800 Squashed commit of the following: commit b83a4ec96659ef6f6b7c2090fdd866abe3ab78ba Author: Andreas Huber <andih@google.com> Date: Mon Feb 25 09:28:11 2013 -0800 Some reorganization of the rtp code, renamed StreamHub -> MediaSender Change-Id: I8cf67444960e60426bf74880af1acce41e8b2fef commit 7769cbd739f2a67c58e0c6a7b1a21a12210c7c4d Author: Andreas Huber <andih@google.com> Date: Fri Feb 22 16:12:18 2013 -0800 Choose a smaller MTU to avoid fragmented IPv4 packets, fix AVC assembler. Change-Id: I274b3cc1483c4e9f4d146dbf9f3d9f7557ef7ef9 commit 1f687ee80a88b56d614c2cf408ff729114ff86a0 Author: Andreas Huber <andih@google.com> Date: Fri Feb 22 11:38:31 2013 -0800 better reporting. Change-Id: I67f0bb51f106ea77f5cc75938b053c8e8e8f688e commit 7950c1cd59213eb5f281fcde44a772ecffae473d Author: Andreas Huber <andih@google.com> Date: Fri Feb 22 09:07:41 2013 -0800 stuff Change-Id: Ib99416366d3eec6e6ad69b4d791a8a9408410f3b commit 33c09045b0f86fcaa4619cbd679b47a074f71231 Author: Andreas Huber <andih@google.com> Date: Thu Feb 21 15:54:01 2013 -0800 Render frames according to their timestamps. Change-Id: I8143a95cffe775799d6a4bb093558bd7abb1f063 commit d8b6daae2160bf1c016d7c6251256b46bb89db42 Author: Andreas Huber <andih@google.com> Date: Thu Feb 21 15:01:27 2013 -0800 Better packet-lost logic. Change-Id: I611eee5a42bd089638cf45b0e16f628ff2a955ab commit 782c6b15717e2d062d96665a089d06c0577733d0 Author: Andreas Huber <andih@google.com> Date: Wed Feb 20 15:06:47 2013 -0800 Add a dedicated looper for the MediaReceiver Change-Id: I3b79cad367fb69c9a160a8d009af8c5f5142b98e commit 4c7b8b10861674b773270103bcabd1a99486a691 Author: Andreas Huber <andih@google.com> Date: Wed Feb 20 14:30:28 2013 -0800 Tweaks to RTPSender and RTPReceiver Change-Id: Ib535552f289a26cfead6df8c63e4c63d3987d4e9 commit 39226b28177a816cda5c67b321745d396b18277d Author: Andreas Huber <andih@google.com> Date: Tue Feb 19 08:48:25 2013 -0800 Playing around with non muxed delivery Change-Id: I845375f6938d04bc30502840c2ceb7688dc9b237 commit c16d21de75d8ecdbcd9abce14934afe484970061 Author: Andreas Huber <andih@google.com> Date: Wed Feb 13 14:43:35 2013 -0800 A more solid base for RTP communication. Change-Id: I52033eeb0feba0ff029d61553a821c82f2fa1c3f Change-Id: I57e3bcfc1c59a012b15aaaa42ed81f09c34c26bb Change-Id: I4b09db4a44d0eeded7a1658f6dc6c97d4b8be720
| * Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-153-3/+3
| | | | | | | | Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
| * Merge "Allow for dynamic reconfiguration of the video bitrate used"Andreas Huber2013-02-072-0/+16
| |\
| | * Allow for dynamic reconfiguration of the video bitrate usedAndreas Huber2013-02-072-0/+16
| | | | | | | | | | | | | | | | | | to encode video while running as a wfd source. Change-Id: I44f7b2350c88fc5807047c61bfe594ef8fa79275
| * | A few more patches to fix wfd tcp unicast transport.Andreas Huber2013-02-072-1/+16
| |/ | | | | | | Change-Id: Ie2f1b1e56c487ac4c3ef19d9e79022a35084e042
| * Merge "Revive the code to support TCP interleaved transport"Andreas Huber2013-02-056-29/+88
| |\