summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTSPConnection.cpp
Commit message (Collapse)AuthorAgeFilesLines
* stagefright: log uri protocols, and opt-in to log full uriLajos Molnar2014-04-041-1/+1
| | | | | | | | | | | Added property media.stagefright.log-uri. Set it to true or 1 to log uris by AwesomePlayer. Added utility function to get uri debug string based on incognito and log opt-in status. Change-Id: I5ccc23079ddfb120dd9703a3ed651a162ed5acec Related-Bug: 6994761
* am f4431278: am 19afb386: Merge "Remove streaming URI from default logs"Marco Nelissen2014-03-121-1/+1
|\ | | | | | | | | * commit 'f4431278a9613f55ecd944ab2e3eb615b372f269': Remove streaming URI from default logs
| * Remove streaming URI from default logsDavid Williams2014-03-101-1/+1
| | | | | | | | | | | | Streaming URI should not be visible in default logcat logs Change-Id: I104cc56b5335f8c5621013e4c5be8028f0379833
* | FINAL ATTEMPT: HTTP services are now provided from JAVA and made available ↵Andreas Huber2014-02-041-1/+1
|/ | | | | | to media code Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d
* am af66fae1: am fb949d5d: Merge "Fix crash in MyHandler when sockets are not ↵Andreas Huber2013-08-281-1/+0
|\ | | | | | | | | | | | | set." * commit 'af66fae15f8c386ad884e5fa83db4eaef4c4f2ee': Fix crash in MyHandler when sockets are not set.
| * Merge "Fix crash in MyHandler when sockets are not set."Andreas Huber2013-08-281-1/+0
| |\
| | * Fix crash in MyHandler when sockets are not set.Henrik Backlund2012-12-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -When going quickly in and out of the video view during an rtsp streaming session, a race condition occurs and MyHandler tries to connect to a socket that has been reset. To avoid this, checks are added. - If there are errors during setupTrack 1, it is no use setting up track 2. It will cause new errors. - No assert for socket connect since there is a normal status check already. Change-Id: Ie06221d6c0d78ce0449f76c782ed5120fa646bfd
* | | am b57fb786: am d0ef1ccd: Merge "rtsp handle response line ended with \'\n\'"Andreas Huber2013-07-311-0/+3
|\ \ \ | |/ / | | | | | | | | | * commit 'b57fb786a32d4ea78cd8bbf24a65593353d87a88': rtsp handle response line ended with '\n'
| * | rtsp handle response line ended with '\n'Yajun Zeng2013-07-311-0/+3
| | | | | | | | | | | | | | | Change-Id: I5bfafd3fa2c95083e833da2846556282eada2b02 Signed-off-by: Yajun Zeng <beanz@marvell.com>
| * | Identify network servers and clients with a OS version related stringAndreas Huber2013-03-261-19/+6
| | | | | | | | | | | | | | | | | | and put the logic to create that string in one location instead of many... Change-Id: I1f729f2e7376cd3b45eea0e48f7bd10084b41b39
| * | Unsolicited server responses cause RTSP streaming to crashLena Magnusson2012-11-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the set up of the RTSP stream contains an incorrect or otherwise problematic URL, some servers will send an unsolicited server response that contains a negative number in the sequence number (CSeq) field. This negative value is not returned from the function findPendingRequest(), so the check in notifyResponseListener() will not work. Instead there will be a crash when 0 is used as the index to find a matching request/response pair that doesn’t exist. The fix is to return the received sequence number also when it is an unsolicited server-client message. Change-Id: Iedaba8a63dece7b43bce007069baefbfd10970b8
* | | Add routing sockets for the requesting userChad Brubaker2013-07-191-0/+6
| | | | | | | | | | | | | | | | | | | | | Mediaserver sockets are now routed as if the connection was in the requesting app in per user routing. Change-Id: I60f4649c3c4145a65264b54c1aa2c6c7741efaba
* | | Identify network servers and clients with a OS version related stringAndreas Huber2013-03-261-19/+6
| |/ |/| | | | | | | | | and put the logic to create that string in one location instead of many... Change-Id: I1f729f2e7376cd3b45eea0e48f7bd10084b41b39
* | Unsolicited server responses cause RTSP streaming to crashLena Magnusson2012-11-291-0/+1
|/ | | | | | | | | | | | | | | | If the set up of the RTSP stream contains an incorrect or otherwise problematic URL, some servers will send an unsolicited server response that contains a negative number in the sequence number (CSeq) field. This negative value is not returned from the function findPendingRequest(), so the check in notifyResponseListener() will not work. Instead there will be a crash when 0 is used as the index to find a matching request/response pair that doesn’t exist. The fix is to return the received sequence number also when it is an unsolicited server-client message. Change-Id: Iedaba8a63dece7b43bce007069baefbfd10970b8
* Add new APIs AMessage::(set|find)Buffer to make it safer to passAndreas Huber2012-02-221-1/+1
| | | | | | ABuffer objects through messages. Change-Id: I9f8b4e4c4767d0d70a0105e0c0813b754379b49d
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-10/+10
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-061-1/+1
| | | | | | | See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-2/+2
| | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* Support for parsing of "folded" RTSP header values and some tweaks to the ↵Andreas Huber2011-12-091-3/+21
| | | | | | | | AMR assembler contributed by Samsung (untested). Change-Id: I182561fe0a1a564126bdbb317e96aa52bf525726
* am 9c981cd3: am d9f25bc9: Merge "Disconnect on socket error on the RTSP ↵Andreas Huber2011-11-111-64/+70
|\ | | | | | | | | | | | | control connection." into ics-mr1 * commit '9c981cd3d53238f10842368c1cd82d625b701a47': Disconnect on socket error on the RTSP control connection.
| * Disconnect on socket error on the RTSP control connection.Andreas Huber2011-11-101-64/+70
| | | | | | | | Change-Id: Ib52a69f9b0830b481c6f5c9b1991d1f4cb36ec7b
* | Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-3/+3
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* Network traffic accounting for chromium stack support in mediaserver.Ashish Sharma2011-08-051-1/+17
| | | | | | | - Atribute network activity to uid calling the mediaplayer - Enables logging of chromium network stack in logcat Change-Id: I2d28c8392248a056b3cee305dd4d4475ebba4337
* Remove legacy http support from stagefright, chromium is the new hotness.Andreas Huber2011-07-131-2/+2
| | | | Change-Id: I6725d42d38b91e6a1cbca43174870f445aeb3d99
* Charge network traffic to the uid of the process using the MediaPlayer.Andreas Huber2011-07-011-2/+10
| | | | | Change-Id: I2bcb54b8232afd3fc7ee16289f37c7a7b3f23067 related-to-bug: 4517282
* Add a user-agent header to our RTSP requests.Andreas Huber2011-03-291-0/+27
| | | | | Change-Id: I02f8ff6a4a37fa59cc8c5fcfd3afb64ee11ba576 related-to-bug: 4173725
* Respond to RTSP server->client requests.Andreas Huber2011-02-161-7/+81
| | | | | | | Even if it's just to tell them that we don't support any (this is optional). Change-Id: I557865ac00d0fb65ffa69363eb1eceaabe522a1a related-to-bug: 3353752
* We don't have access to the md5 implementation on the simulator, let's ↵Andreas Huber2010-10-251-0/+10
| | | | | | disable digest authentication in rtsp for simulator targets. Change-Id: I02a9b4af929601c899f04cee9864d0dd0716de62
* Support for BASIC and DIGEST authentication schemes in RTSP. Support for ↵Andreas Huber2010-10-201-9/+244
| | | | | | | malformed packet descriptions that end lines in LF only, instead of CRLF. Change-Id: I57eaefdc4b300a8f56bbe5cf3a34c424e8efe63a related-to-bug: 3084183
* am af909581: am 67738486: Merge "Remove stagefright foundation\'s ↵Andreas Huber2010-09-211-12/+16
|\ | | | | | | | | | | | | | | | | incompatible logging interface and update callsites." into gingerbread Merge commit 'af90958184fc5cfa1a4190e28bcfc4fdd4a5bcd6' * commit 'af90958184fc5cfa1a4190e28bcfc4fdd4a5bcd6': Remove stagefright foundation's incompatible logging interface and update callsites.
| * Remove stagefright foundation's incompatible logging interface and update ↵Andreas Huber2010-09-211-12/+16
| | | | | | | | | | | | callsites. Change-Id: I45fba7d60530ea0f233ac3695a97306b6dc1795c
* | am 7ff94577: am 9909b948: Merge "Various fixes to improve resilience of the ↵Andreas Huber2010-09-151-12/+37
|\ \ | |/ | | | | | | | | | | | | | | rtsp stack against spurious errors instead of asserting." into gingerbread Merge commit '7ff945775210c60e6f113fb00903449cbb05c68a' * commit '7ff945775210c60e6f113fb00903449cbb05c68a': Various fixes to improve resilience of the rtsp stack against spurious errors instead of asserting.
| * Various fixes to improve resilience of the rtsp stack against spurious ↵Andreas Huber2010-09-151-12/+37
| | | | | | | | | | | | errors instead of asserting. Change-Id: Idbec5996ed0675c70e911b9c0514961fea099fb4
* | am 74ae6973: am 17a765a1: Merge "Support for RTP packets arriving ↵Andreas Huber2010-08-261-10/+78
|\ \ | |/ | | | | | | | | | | | | | | interleaved with RTSP responses." into gingerbread Merge commit '74ae6973f8d5b7bc7bc4a7dcac5ddce90f382cd4' * commit '74ae6973f8d5b7bc7bc4a7dcac5ddce90f382cd4': Support for RTP packets arriving interleaved with RTSP responses.
| * Support for RTP packets arriving interleaved with RTSP responses.Andreas Huber2010-08-261-10/+78
| | | | | | | | Change-Id: Ib32fba257da32a199134cf8943117cf3eaa07a25
* | am 6bcffcd2: am 8c192fe9: Merge "Better support for rtsp streamed through ↵Andreas Huber2010-08-211-6/+23
|\ \ | |/ | | | | | | | | | | | | | | VLC. Temporarily make the socket blocking to read all of the session description." into gingerbread Merge commit '6bcffcd2dc410db780c152c70a01b22da6ca58be' * commit '6bcffcd2dc410db780c152c70a01b22da6ca58be': Better support for rtsp streamed through VLC. Temporarily make the socket blocking to read all of the session description.
| * Better support for rtsp streamed through VLC. Temporarily make the socket ↵Andreas Huber2010-08-181-6/+23
| | | | | | | | | | | | blocking to read all of the session description. Change-Id: Ibe71f5941485660510e24d714da3865b9c6f89a2
* | Fixes for simulator build on lucidMike Lockwood2010-07-151-1/+1
|/ | | | | | | strchr and strrchr now return const char* instead of char* Change-Id: I5ca831b8951af7e6306eb9d9d6f78ed2ec13d649 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Initial checkin of preliminary rtsp support for stagefright.Andreas Huber2010-06-071-0/+549
Change-Id: I0722aa888098c0c1361c97a4c1b123d910afc207