summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/wifi-display/source/WifiDisplaySource.h
Commit message (Collapse)AuthorAgeFilesLines
* Respect the record audio app op - mediaSvet Ganov2015-04-291-0/+5
| | | | Change-Id: I3a97977b6e9a09355e2008f780d22d480fb7308b
* libmediaplayerservice: fix warnings, make warnings errors, use clangLajos Molnar2015-04-171-1/+1
| | | | Change-Id: I1b2f6b65c5abbc366068a60b8909104f31b94228
* stagefright: don't use ALooperRoster mutex for reply handlingLajos Molnar2015-03-101-1/+2
| | | | | | | | Change replyID-s from uint32_t to an object Move reply handling into the loopers (to reuse a common mutex) Bug: 19607784 Change-Id: Iaa035b846c424c5687ed17ce1079b325e86c54be
* Remove obsolete miracast sink code and friends.Andreas Huber2013-10-021-3/+0
| | | | | Change-Id: I8bbb22fb0cfe2d73881d9f05bf8112ae86d8040b related-to-bug: 11047222
* ANetworkSession and ParsedMessage are now part of stagefright foundation.Andreas Huber2013-07-181-1/+1
| | | | | | | | 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
* wifi-display: add support for metadata mode on encoder outputChong Zhang2013-05-171-0/+2
| | | | | | | | pass buffer_handle_t from encoder output to HDCP encryptor input Bug: 8968123 Change-Id: Iea8007ce568641e213fd2e3cf6947a6f7a95746c
* Revert "Remove all traces of wifi display sink implementation and supporting ↵Andreas Huber2013-04-261-0/+3
| | | | | | code." This reverts commit 3a9682a86ead84d6f60d3f3aa01b2b4d34af983d.
* Remove all traces of wifi display sink implementation and supporting code.Andreas Huber2013-04-231-3/+0
| | | | | Change-Id: I64b681b7e3df1ef0dd80c0d261cacae293d5e684 related-to-bug: 8698812
* Identify network servers and clients with a OS version related stringAndreas Huber2013-03-261-0/+2
| | | | | | and put the logic to create that string in one location instead of many... Change-Id: I1f729f2e7376cd3b45eea0e48f7bd10084b41b39
* Allow for streaming of media files (without recompression)Andreas Huber2013-03-181-1/+7
| | | | Change-Id: I1de356cc37506ba986822d12a1a59e7b64069e02
* Squashed commit of the following:Andreas Huber2013-03-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Revive the code to support TCP interleaved transportAndreas Huber2013-02-011-0/+1
| | | | | | | Also support non-interleaved transport now, but the sink gets to decide what mode it wants to run in, _not_ the source. Change-Id: I3b6057f86871084e4decf930bb4a7a2d7517b0f2
* Squashed commit of the following:Andreas Huber2013-01-291-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f2c38e5cf8cee3b597c744c9d6a9c0969ac8599a Author: Andreas Huber <andih@google.com> Date: Mon Jan 28 16:33:07 2013 -0800 Proper support for video format selection/negotiation. Change-Id: I7db86cef939d63b8064be1c74de9ad78e85d45d9 commit 488023b7bad086692ffe942114fa3cc0e59a16c0 Author: Andreas Huber <andih@google.com> Date: Mon Jan 28 11:21:23 2013 -0800 Sink now notifies clients once it is disconnected. Change-Id: I2f0a458ef1ec30dda1272ad5a013fee4ee70edc9 commit 783932e40dd904aa531c263ad51280d9ca814dcb Author: Andreas Huber <andih@google.com> Date: Tue Dec 18 15:03:40 2012 -0800 Alternative DirectRenderer implementation. Change-Id: I307beb913d7a61cb938bcb02696cc2e82d2b8b07 commit 1935cc9a87824aea71fc8ebe2162f62ec634ce5a Author: Andreas Huber <andih@google.com> Date: Tue Dec 18 10:24:27 2012 -0800 Experimenting with wifi sink timing. Change-Id: I059bae9762cf11777666988a8b4ab2012b5807be commit a859ee1eadd6a1d6a080667917e8b102c3770d61 Author: Andreas Huber <andih@google.com> Date: Thu Nov 15 11:16:30 2012 -0800 wfd sink update. Change-Id: I026dfc580be92aa40dbbe7c1bc061fadf3b08be8 Change-Id: I191d3d7015869ca99254d813d074328fb5b2f479
* [wfd] Support a low(er) power state by triggering PAUSE/RESUME.Andreas Huber2012-11-291-1/+19
| | | | | Change-Id: Ibe42bfa73816bbfeb7e652d435254d0171b89727 related-to-bug: 7638150
* Various improvements of wifi display codeAndreas Huber2012-11-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - manually prepend SPS/PPS if encoder doesn't support it - latency improvements - support for "our" method of optional RTP retransmission - improvements to the wfd commandline tool for testing - make it easier to turn on/off suspension of the video pipeline on idle - fixes an issue where an error during encryption would cause a SEGV - add HDCP descriptor if necessary Squashed commit of the following: commit 1115be0ebb3b885b4f1b7dba56761ca013d0ec4a Author: Andreas Huber <andih@google.com> Date: Fri Nov 9 11:32:23 2012 -0800 Better shutdown of wfd -l sessions. Change-Id: Id898a14ae21efd3b065b00a729830063d39195a7 commit 0e7d106dfe4eb6e2640b0b66c65deaba265f7ff0 Author: Andreas Huber <andih@google.com> Date: Thu Nov 8 16:38:55 2012 -0800 No more sending delay, create rtp packets upfront. Change-Id: I809a225f664fdb485c7d9a49a27886601a6a26b2 commit d399e8571b77353d59afb57508dfd2a82c1ef93a Author: Andreas Huber <andih@google.com> Date: Thu Nov 8 14:19:43 2012 -0800 Restore AudioSource buffer size, factor out TimeSeries, make suspending video optional. Change-Id: Ifdfe4d447b901e714abf52856b4641d1d55a5d41 commit f8b649f0b8f917d59f4b8a2e8e6d7db61a684a78 Author: Andreas Huber <andih@google.com> Date: Thu Nov 8 09:34:06 2012 -0800 Pull 480 frames at a time from AudioSource/AudioRecord Change-Id: I1e215abd329faec3da026631122c0f4c800c0ac4 commit 1bc13452eb35eebbba00f5da93fa86535be5db59 Author: Andreas Huber <andih@google.com> Date: Thu Nov 8 08:50:30 2012 -0800 fixed bitrate traffic simulation Change-Id: Ic5efb7cbb0b5d3b4917bc77b8ba73d447249e695 commit 016cdff18e74bdc631a5679e97192645ed095aa2 Author: Andreas Huber <andih@google.com> Date: Wed Nov 7 14:00:03 2012 -0800 resurrected "our" style of retransmission. Change-Id: I34d757aba67428437cb39b8293a9651750ad20d9 commit 384cf1a3c8fb4ec410bdf8fa5722c298e6028f3e Author: Andreas Huber <andih@google.com> Date: Tue Nov 6 09:38:55 2012 -0800 Changes to make wfd work on manta. Change-Id: I7a4e00cf16581fe2146edd1b359af195774090e4 commit 9628f24b22b35f28630d99dda3614babf51bc07e Author: Andreas Huber <andih@google.com> Date: Wed Nov 7 09:15:44 2012 -0800 Patch up rtp timestamps to more accurately measure network jitter. Change-Id: I9502a4615575f97f98a215a13131a89a6ae93c6d commit 7c891a1a24f08bbd50f55be13f7d05f43e807eb8 Author: Andreas Huber <andih@google.com> Date: Tue Nov 6 09:37:24 2012 -0800 Additions to the "wfd" tool to create a local wfd source. Change-Id: I99558653a70fdc703f9d13990b3ce1c4d3ae227a Change-Id: Ia94c63fc390f597014531073485f0cfc53b3418a
* WFD use of HDCP is now optional.Andreas Huber2012-10-221-7/+3
| | | | | | | | | if the sink supports it we'll use HDCP (and fail if necessary), if it doesn't we won't. If an HDCP session is established we'll tell our observer that the connection is secure, otherwise we don't. Change-Id: I7cbef384f2cf0a6ac65801c581eea227b9ef4c46 related-to-bug: 7368436
* Switch audio mode based on dongle's capabilitiesAndreas Huber2012-10-091-0/+2
| | | | | | | properly parse rtp port and use it to setup session. Change-Id: Ic7521cb867143278196c3ce4b19a74ecc2703d8e related-to-bug: 7318719
* Optionally emit LPCM audio instead of using AAC in wifi display codeAndreas Huber2012-10-041-1/+2
| | | | | | | | | | | | related-to-bug: 7248248 May decrease power usage at the cost of significantly increasing audio bitrate. Use "adb shell setprop media.wfd.use-pcm-audio true" to turn it on (must be done before connecting). Change-Id: I7ebeadf3209e01522a2644948287b23d7c383c7e
* Enable hdcp for WiFi displayJames Dong2012-10-031-1/+1
| | | | | | o related-to-bug: 7055369 Change-Id: Ie1ddd1e961f9ff60fe32b57cf7f8de4f4ecf5aa0
* Perform an orderly shutdown if possible, force disconnect if necessaryAndreas Huber2012-10-011-0/+20
| | | | | | | | wait for up to 2 secs for the dongle to send us a "TEARDOWN", after that forcibly shutdown the connection. Change-Id: Ie049857cd468b7af6986d6305f725c54571b2276 related-to-bug: 7258622
* Various improvements to a cleaner shutdown of the wifi display connection.Andreas Huber2012-09-281-4/+3
| | | | | Change-Id: Id029a89939e53c2bd1d20e572d3975ec2795c239 related-to-bug: 7247918
* Cleaner Wifi Display shutdown process, avoid crashing HDCP on exit.Andreas Huber2012-09-271-4/+3
| | | | | Change-Id: Ie54ee3edd672ec629360b4ecc5df2f85ecbaa45f related-to-bug: 7247584
* Make sure we only release the HDCP module once shutdown has completed.Andreas Huber2012-09-261-1/+2
| | | | | Change-Id: I4b614afe2b55ac53b4aa63311e5bea8fd6c4462e related-to-bug: 7223555
* Attempt an orderly shutdown of the wifi display connection if possible.Andreas Huber2012-09-241-1/+5
| | | | | | | | Shutdown the session if the encoder signals an error. related-to-bug:7207481 Change-Id: Id78000a336f8bb8904e7d2102f8f81a4139cdd61
* Instantiate HDCP module, add PES_private_data for encrypted streams.Andreas Huber2012-09-191-13/+28
| | | | Change-Id: I970f561a56a1d489a392c3480dec13f4ed7b43bd
* Now we only support a single client connectionAndreas Huber2012-09-171-4/+10
| | | | | | | | | | | and it cannot be initiated from the local interface address for security reasons. Also, there's at most one playback session active at any time, and when it dies we shutdown the client connection altogether and signal an error to the listener. related-to-bug: 7139784 Change-Id: Ia8d02bc994ce9986936947ddda1f2a3dddbf5714
* Support for RTP/RTCP traffic over TCP sockets in wifi display code.Andreas Huber2012-09-171-0/+3
| | | | | | | | This is opt-in through adb shell setprop media.wfd.enable-tcp true Change-Id: I49ab22a8c8d62690065631e781a7f0057e5ce557
* Expose an IRemoteDisplay to trigger wifi display connections setup and feedback.Andreas Huber2012-09-051-1/+5
| | | | Change-Id: I7602cda0e38073c9f0e63fa4de238ca0d4b4ce8e
* Implement the source->sink(!) keep alive the wfd specs mandate...Andreas Huber2012-08-301-1/+9
| | | | Change-Id: I388d9911ebd243aa9c13a13ec3683e76898470a6
* Only run the wifi display RTSP server on demand, and only on the wifi directAndreas Huber2012-08-301-1/+1
| | | | | | interface. Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7
* Initial checkin of support for acting as a wifi display sourceAndreas Huber2012-08-291-0/+175
Change-Id: I08f17efa0c7d007e17408feb7d4fbef0a19f531a