summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp
Commit message (Collapse)AuthorAgeFilesLines
* Support for PCMA and PCMU raw audio data in RTP/RTSP.Andreas Huber2011-02-225-0/+210
| | | | | Change-Id: Icb87bdfa7cf572c572e2a86c46fa072d9fad18f6 related-to-bug: 3084183
* Support more MPEG4-LATM audio functionality.Andreas Huber2011-02-222-9/+75
| | | | | | | related-to-bug: 3474610 Change-Id: I6dab40e8b465922c62be9ee7f168718822c6caac Now skipping extra header that the spec claimed shouldn't be present in LATM...
* Respond to RTSP server->client requests.Andreas Huber2011-02-162-7/+83
| | | | | | | Even if it's just to tell them that we don't support any (this is optional). Change-Id: I557865ac00d0fb65ffa69363eb1eceaabe522a1a related-to-bug: 3353752
* Derive the Transport "source" attribute from the RTSP endpoint address if ↵Andreas Huber2011-02-151-23/+42
| | | | | | | | | necessary and continue even if we were unable to poke a hole into the firewall. related-to-bug: 3457201 Change-Id: I0a523f38e6959bf00b8b140a70bb65fcc414c9c1
* Work around several issues with non-compliant RTSP servers.Andreas Huber2011-02-156-25/+89
| | | | | | | | | | | In this particular case these RTSP servers were implemented as local services, retransmitting live streams via a local RTSP server instance. They picked wrong rtp/rtcp port pairs (odd rtp port), blank lines in the session description, wrong case of the format description, relative base URLs... Change-Id: I63fa90ca2398f19e8b52c147248bd2c5c2372426 related-to-bug: 3452103
* Enable cancelling the rtsp connection process early.Andreas Huber2011-02-141-1/+8
| | | | | Change-Id: Ie2059c54541ad8c675944d71b39c772b0f6f04c8 related-to-bug: 3452699
* Fix the build.Andreas Huber2011-02-101-1/+1
| | | | Change-Id: I9b777ffb260eb0f3790ae0907e4a443d33fa3f2f
* Change timestamp handling in RTSP, remove unused, experimental, gtalk supportAndreas Huber2011-02-108-162/+168
| | | | | | | | related-to-bug: 3216447 NTP timestamp handling is now done at a higher layer than before. Change-Id: I9fb23f1335110ec59e534f9aa0fe6f6a6406dd52
* More robust parsing of NPT time ranges in RTSP.Andreas Huber2011-01-283-20/+46
| | | | | Change-Id: I3674501d2fd66aaface805c0a8678c74671a6dd3 related-to-bug: 3217210
* This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.Andreas Huber2011-01-261-1/+4
| | | | | | | And now we're just ignoring them. Yay standards. Change-Id: I76529ad8d585f143d6f99621ff671d179caf7b35 related-to-bug: 3353752
* Implement parsing of vbv buffering info in RTSP.Andreas Huber2011-01-181-1/+11
| | | | | Change-Id: I7d871cafda2c4c65670a40ad9ab4f24317f8568a related-to-bug: 3351915
* Fail to parse duration instead of asserting, if the server response cannot ↵Andreas Huber2011-01-121-5/+7
| | | | | | | be parsed. Change-Id: I42324468edca5ccce29486059091da8e64f36326 related-to-bug: 3338518
* Removed uncessary FILE structure pointer for I/OJames Dong2010-11-191-1/+1
| | | | | | o also move the fd owner from caller to callee in the Writers Change-Id: I510ccfdd0fcc58f1777fea4ed1349fd251852c65
* Better support for MP4A-LATM RTP disassembly. This used to fail if ↵Andreas Huber2010-10-274-20/+382
| | | | | | mNumSubFrames > 1 and the sub frames did not align with RTP packet boundaries. Change-Id: I20e3b86f52b7f0f41663ffe8bc1f4db92280e884
* 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-205-18/+297
| | | | | | | malformed packet descriptions that end lines in LF only, instead of CRLF. Change-Id: I57eaefdc4b300a8f56bbe5cf3a34c424e8efe63a related-to-bug: 3084183
* Merge fb474872 from gingerbread-plus-aospJean-Baptiste Queru2010-10-181-2/+2
|\ | | | | | | Change-Id: I1bbb845a86a7b7df44ea175df3af22e5f47c44e3
| * Include the framework copy of the OpenMAX headers instead of referencing ↵Andreas Huber2010-10-151-2/+2
| | | | | | | | | | | | | | external/opencore. Change-Id: I762f59acf5e1f770e4d7c2d89af362bfffebefa6 related-to-bug: 3101573
* | am 8e4f3c76: am 646e0d5a: Merge "Some webcams output rtp streams but never ↵Andreas Huber2010-10-153-4/+62
|\ \ | |/ | | | | | | | | | | | | | | send any rtcp data in violation of the specs. Attempt to use fake timestamps to be able to play these..." into gingerbread Merge commit '8e4f3c76dd7f5596fa2fe10bdf008d4c02353160' * commit '8e4f3c76dd7f5596fa2fe10bdf008d4c02353160': Some webcams output rtp streams but never send any rtcp data in violation of
| * Some webcams output rtp streams but never send any rtcp data in violation ofAndreas Huber2010-10-133-4/+62
| | | | | | | | | | | | | | the specs. Attempt to use fake timestamps to be able to play these... Change-Id: Ia7a926616fb764e972955df4acdb59d85cdd93df related-to-bug: 3087310
* | am 5b0d0630: am 1010da2e: Merge "Just in case we\'re behind a NAT ↵Andreas Huber2010-10-121-0/+153
|\ \ | |/ | | | | | | | | | | | | | | router/firewall, attempt to poke holes into it for future incoming RTP/RTCP packets to pass through." into gingerbread Merge commit '5b0d063010b364102ffb7a533e2b76ecfd9636d5' * commit '5b0d063010b364102ffb7a533e2b76ecfd9636d5': Just in case we're behind a NAT router/firewall, attempt to poke holes into it for future incoming RTP/RTCP packets to pass through.
| * Just in case we're behind a NAT router/firewall, attempt to poke holes into ↵Andreas Huber2010-10-111-0/+153
| | | | | | | | | | | | | | it for future incoming RTP/RTCP packets to pass through. Change-Id: Idd47968d4027f357222f19f15eecfd70fdec3282 related-to-bug: 3073813
* | am cac43e8a: am beffefa2: Merge "RTSP seeking is now asynchronous, ↵Andreas Huber2010-10-102-6/+67
|\ \ | |/ | | | | | | | | | | | | | | MediaPlayer is not notified that the seek is complete until it actually is. Ignore seek requests on live streams." into gingerbread Merge commit 'cac43e8a2ce59c1151d5a2028330b2a769591d22' * commit 'cac43e8a2ce59c1151d5a2028330b2a769591d22': RTSP seeking is now asynchronous, MediaPlayer is not notified that the seek is complete until it actually is. Ignore seek requests on live streams.
| * RTSP seeking is now asynchronous, MediaPlayer is not notified that the seek ↵Andreas Huber2010-10-082-6/+67
| | | | | | | | | | | | | | is complete until it actually is. Ignore seek requests on live streams. Change-Id: Ie61230cd60dd6c682baf72529100369ad6291189 related-to-bug: 3073955
* | am e0c8545a: am 0fd4e216: Merge "Refactor some more h.264 utility code out ↵Andreas Huber2010-10-102-0/+23
|\ \ | |/ | | | | | | | | | | | | | | into avc_utils. Work around a hardware decoder issue by making sure the first access unit submitted to a decoder at startup or after seek is an IDR." into gingerbread Merge commit 'e0c8545a2369881fe09582337a9de3db2db1a951' * commit 'e0c8545a2369881fe09582337a9de3db2db1a951': Refactor some more h.264 utility code out into avc_utils. Work around a hardware decoder issue by making sure the first access unit submitted to a decoder at startup or after seek is an IDR.
| * Refactor some more h.264 utility code out into avc_utils. Work around a ↵Andreas Huber2010-10-082-0/+23
| | | | | | | | | | | | hardware decoder issue by making sure the first access unit submitted to a decoder at startup or after seek is an IDR. Change-Id: I61936601e55df7e4c23a8c13087579a4f85bd6e6
* | am 14ea1048: am c5912acc: Merge "Disable the access unit timeout temporarily ↵Andreas Huber2010-10-101-6/+29
|\ \ | |/ | | | | | | | | | | | | | | while a seek operation is in progress." into gingerbread Merge commit '14ea1048e7e8a4b40836b5601bc86b91663525cb' * commit '14ea1048e7e8a4b40836b5601bc86b91663525cb': Disable the access unit timeout temporarily while a seek operation is in progress.
| * Disable the access unit timeout temporarily while a seek operation is in ↵Andreas Huber2010-10-081-6/+29
| | | | | | | | | | | | | | progress. Change-Id: I116cb76342aae4168f34ebae49ecb2301702a0ea related-to-bug: 3073955
* | am af909581: am 67738486: Merge "Remove stagefright foundation\'s ↵Andreas Huber2010-09-2114-234/+179
|\ \ | |/ | | | | | | | | | | | | | | 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-2114-234/+179
| | | | | | | | | | | | callsites. Change-Id: I45fba7d60530ea0f233ac3695a97306b6dc1795c
* | am 7ff94577: am 9909b948: Merge "Various fixes to improve resilience of the ↵Andreas Huber2010-09-153-36/+84
|\ \ | |/ | | | | | | | | | | | | | | 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-153-36/+84
| | | | | | | | | | | | errors instead of asserting. Change-Id: Idbec5996ed0675c70e911b9c0514961fea099fb4
* | am fd0eed00: am a2511da9: Merge "Better support for buffered streaming of ↵Andreas Huber2010-09-013-0/+47
|\ \ | |/ | | | | | | | | | | | | | | rtsp content, if buffer drops below a certain threshold we will temporarily pause playback until we have sufficient data." into gingerbread Merge commit 'fd0eed007d99178092ede56ec2c4799046615f70' * commit 'fd0eed007d99178092ede56ec2c4799046615f70': Better support for buffered streaming of rtsp content, if buffer drops below a certain threshold we will temporarily pause playback until we have sufficient data.
| * Better support for buffered streaming of rtsp content, if buffer drops below ↵Andreas Huber2010-09-013-0/+47
| | | | | | | | | | | | | | a certain threshold we will temporarily pause playback until we have sufficient data. Change-Id: Ice8564e902e48c89c9c00f6651c5504b3c41fcad related-to-bug: 2556656
* | am 47f2cf62: am 412fc7cd: Merge "Keep gtalk video chat specific code ↵Andreas Huber2010-09-011-0/+8
|\ \ | |/ | | | | | | | | | | | | | | consistent with rtsp changes." into gingerbread Merge commit '47f2cf620731226a9311db0f864a4e1404e54b96' * commit '47f2cf620731226a9311db0f864a4e1404e54b96': Keep gtalk video chat specific code consistent with rtsp changes.
| * Keep gtalk video chat specific code consistent with rtsp changes.Andreas Huber2010-09-011-0/+8
| | | | | | | | Change-Id: I5f3f46c2150e16b26674432e427f79c04a69cd8e
* | am 6b52911c: am 48ac68e1: Merge "Support for RFC3640 - mpeg4-generic RTP ↵Andreas Huber2010-08-314-6/+345
|\ \ | |/ | | | | | | | | | | | | | | packet type, AAC-lbr and AAC-hbr." into gingerbread Merge commit '6b52911cc7ba548fd3a240ca61eba510a8581e6f' * commit '6b52911cc7ba548fd3a240ca61eba510a8581e6f': Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and AAC-hbr.
| * Merge "Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and ↵Andreas Huber2010-08-314-6/+345
| |\ | | | | | | | | | AAC-hbr." into gingerbread
| | * Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and AAC-hbr.Andreas Huber2010-08-314-6/+345
| | | | | | | | | | | | | | | Change-Id: Ied92ea8c2448a2cb1a732c72c21c69da1913dbc8 related-to-bug: 2556656
* | | am e1a3cddd: am 99fa510e: Merge "Better detection of connection problems - ↵Andreas Huber2010-08-312-43/+67
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)" into gingerbread Merge commit 'e1a3cddd94749a42457a8f32cf21f663f07e4edf' * commit 'e1a3cddd94749a42457a8f32cf21f663f07e4edf': Better detection of connection problems - timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)
| * | Better detection of connection problems - timeout if no rtcp packets arrive ↵Andreas Huber2010-08-312-43/+67
| |/ | | | | | | | | | | | | within a certain time, not a final frame (which may take longer) Change-Id: I3c1ae79bb9342770e959ebdcdc6b748549b76330 related-to-bug: 2556656
* | am 03e83d4a: am 68ae91cb: Merge "Recent changes to the rtsp code require ↵Andreas Huber2010-08-301-0/+1
|\ \ | |/ | | | | | | | | | | | | | | every buffer fed to the packet source to have a timestamp, we\'re ignoring timestamps for gtalk videochat but we still have to have a placeholder." into gingerbread Merge commit '03e83d4ad909f5c07fb2011e03348a413453e909' * commit '03e83d4ad909f5c07fb2011e03348a413453e909': Recent changes to the rtsp code require every buffer fed to the packet source to have a timestamp, we're ignoring timestamps for gtalk videochat but we still have to have a placeholder.
| * Merge "Recent changes to the rtsp code require every buffer fed to the ↵Andreas Huber2010-08-301-0/+1
| |\ | | | | | | | | | packet source to have a timestamp, we're ignoring timestamps for gtalk videochat but we still have to have a placeholder." into gingerbread
| | * Recent changes to the rtsp code require every buffer fed to the packet ↵Andreas Huber2010-08-301-0/+1
| | | | | | | | | | | | | | | | | | source to have a timestamp, we're ignoring timestamps for gtalk videochat but we still have to have a placeholder. Change-Id: Ib8615ce5a89a9a846ee2f9f96cdfb23462f72c7a
* | | am 987556bc: am abb8398e: Merge "Instead of closing the connection ↵Andreas Huber2010-08-302-32/+83
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | altogether if no UDP packets arrive after a certain time, try changing transports (to interleaved TCP). Also properly close the sockets on disconnection." into gingerbread Merge commit '987556bc9bc1a61415b6e65bd600b8daf5b24d30' * commit '987556bc9bc1a61415b6e65bd600b8daf5b24d30': Instead of closing the connection altogether if no UDP packets arrive after a certain time, try changing transports (to interleaved TCP). Also properly close the sockets on disconnection.
| * | Instead of closing the connection altogether if no UDP packets arrive after ↵Andreas Huber2010-08-302-32/+83
| |/ | | | | | | | | | | | | a certain time, try changing transports (to interleaved TCP). Also properly close the sockets on disconnection. Change-Id: Ie8d6a3865a0477e28d4b76bb9038e468451287b1 related-to-bug: 2556656
* | am 7ed9104c: am f6639c46: Finetune some rtsp timeout constants.Andreas Huber2010-08-301-3/+11
|\ \ | |/ | | | | | | | | | | Merge commit '7ed9104c3acb172a480ebd7fd456fe69efd1ec3d' * commit '7ed9104c3acb172a480ebd7fd456fe69efd1ec3d': Finetune some rtsp timeout constants.
| * Finetune some rtsp timeout constants.Andreas Huber2010-08-301-3/+11
| | | | | | | | Change-Id: Ice731c5097c2a2dee8a7f0cd45b547cd34f532c6
* | am 6df6d606: am df992ac9: Merge "ALoopers can now be named (useful to ↵Andreas Huber2010-08-302-3/+4
|\ \ | |/ | | | | | | | | | | | | | | distinguish threads)." into gingerbread Merge commit '6df6d60681be9d524ce7fc07f2511008de424d27' * commit '6df6d60681be9d524ce7fc07f2511008de424d27': ALoopers can now be named (useful to distinguish threads).
| * ALoopers can now be named (useful to distinguish threads).Andreas Huber2010-08-272-3/+4
| | | | | | | | Change-Id: Ieabaddb2e3a9e3a7a5bc36e55cd0721b60dbd50e