summaryrefslogtreecommitdiffstats
path: root/voip
Commit message (Collapse)AuthorAgeFilesLines
* am f66603e1: am 3f3ce8ad: am bf3e62b8: Merge "Make SimpleSessionDescription ↵Jean-Baptiste Queru2012-09-061-1/+2
|\ | | | | | | | | | | | | locale safe" * commit 'f66603e109d439e3a537cd3804706609ce86970e': Make SimpleSessionDescription locale safe
| * Make SimpleSessionDescription locale safeJohan Redestig2012-08-291-1/+2
| | | | | | | | | | | | | | Explicitly use Locale.US in SimpleSessionDescription to avoid unexpected results in some locales. Change-Id: Idb4a36a9e332d302e1b9b940355917c0f738e076
* | Use audio_channel_mask_t more consistentlyGlenn Kasten2012-07-031-1/+1
|/ | | | | | | In AudioRecord::getMinFrameCount() and AudioSystem::getInputBufferSize(), input parameter is channel mask instead of channel count. Change-Id: I22a1c492113f3e689173c5ab97b2567cff3abe2b
* docs: fix several linksScott Main2012-06-221-1/+1
| | | | Change-Id: I89d9fd64dc22c90680bb05415cc966c255165af9
* Merge "SIP: push the logic of finding local address down to SipSessionGroup."Chia-chi Yeh2012-04-042-89/+60
|\
| * SIP: push the logic of finding local address down to SipSessionGroup.Chia-chi Yeh2012-04-042-89/+60
| | | | | | | | | | | | | | | | This allows different accounts binding on different IP addresses, such as one on IPv4 and another on IPv6. Bug: 4169057 Change-Id: I0bb36669394c281330091673fa338adea8f782cd
* | RTP: refactor a little bit and fix few minor bugs.Chia-chi Yeh2012-03-305-55/+54
|/ | | | Change-Id: I063644507f26996ded462972afcb550a4528dac8
* frameworks base Android.mk file changesJames Dong2012-03-281-6/+6
| | | | Change-Id: I7459b9e959a60751b8fa6e0d893cb2c820c064ce
* RTP: add a null-check in AudioStream.setDtmfType().Chia-chi Yeh2012-03-271-1/+1
| | | | Change-Id: I52cbdea48affae3747942940451f4fd5ca47030f
* Merge "Whitespace"Glenn Kasten2012-03-211-3/+3
|\
| * WhitespaceGlenn Kasten2012-03-191-3/+3
| | | | | | | | | | | | Fix indentation, and add blank lines in key places for clarity Change-Id: I57a0a8142394f83203161aa9b8aa9276abf3ed7c
* | Add libmedia_nativeGlenn Kasten2012-03-161-0/+1
|/ | | | Change-Id: Ib8cff8abd73723b793f08da99ad59549f219e0e7
* Remove dependency on audio_* locationGlenn Kasten2012-03-141-1/+1
| | | | Change-Id: I4bc66115fcb9ba22b057bd72db3f561dcb18a0d8
* Fix build warningsGlenn Kasten2012-01-171-2/+2
| | | | Change-Id: I543e730aff2d03c18c26b116c9fe9419259808af
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-082-17/+17
| | | | | | | 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-1/+1
| | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-031-10/+10
| | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
* SipService: grab Wi-Fi lock only when necessary.Chia-chi Yeh2011-12-281-46/+41
| | | | Change-Id: Ie432049156e70b6748426b959b653f21bfc504a1
* am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, ↵Joe Fernandez2011-12-224-3/+30
|\ | | | | | | | | | | | | Project ACRE, round 4" into ics-mr1 * commit '201469f54522436be79d4d6665721049bfc74320': docs: Add developer guide cross-references, Project ACRE, round 4
| * docs: Add developer guide cross-references, Project ACRE, round 4Joe Fernandez2011-12-224-3/+30
| | | | | | | | Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
* | am 0e67685e: am bfd85f9a: Merge "SIP: turn off verbose logs." into ics-mr1Chia-chi Yeh2011-11-214-40/+47
|\ \ | |/ | | | | | | * commit '0e67685e53cbcf7682a0364cf34fd3ac0632596f': SIP: turn off verbose logs.
| * SIP: turn off verbose logs.Chia-chi Yeh2011-11-184-40/+47
| | | | | | | | | | Bug: 5616713 Change-Id: Iaf2e6878731d10d7f4f2a7cd8af71f4517780642
* | Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-9/+9
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* SipService: handle connectivity changes correctly.Chia-chi Yeh2011-09-301-274/+89
| | | | | | | | | | This patch assumes that for the same network type, there MUST be a DISCONNECTED between two CONNECTEDs. Also removes the Wi-Fi scanning since the framework already handles this when a WifiLock is held. Bug: 4283795 Change-Id: I08481e70c651cffcbb516c8cc6584c919078fa4f
* Merge "RTP: Update parameters for larger packet intervals."Chia-chi Yeh2011-09-131-44/+40
|\
| * RTP: Update parameters for larger packet intervals.Chia-chi Yeh2011-09-091-44/+40
| | | | | | | | | | | | Also remove some duplicated code. Change-Id: I64576e5442a962eb4b0dfa83b52a8127567ba597
* | Merge "SIP: fix keep-alive measurement and increase the timeout."Chia-chi Yeh2011-09-132-32/+34
|\ \
| * | SIP: fix keep-alive measurement and increase the timeout.Chia-chi Yeh2011-09-132-32/+34
| | | | | | | | | | | | | | | Bug: 5226511 Change-Id: I1283790581496b1ff4e583a8d9379cdc39f78c20
* | | Merge "RTP: support payloads with larger packetization interval."Chia-chi Yeh2011-09-085-29/+44
|\ \ \ | |/ / |/| / | |/
| * RTP: support payloads with larger packetization interval.Chia-chi Yeh2011-09-065-29/+44
| | | | | | | | | | | | | | | | | | | | | | RFC 3551 section 4.2 said that a receiver should accept packets representing between 0 and 200ms of audio data. Now we add the ability to decode multiple frames in a payload as long as the jitter buffer is not full. This change covers G711, GSM, and GSM-EFR. AMR will be added later. Bug: 3029736 Change-Id: Ifd194596766d14f02177925c58432cd620e44dd7
* | Merge "VoIP JNI: Force AEC on for tuna board"Eric Laurent2011-09-061-4/+5
|\ \
| * | VoIP JNI: Force AEC on for tuna boardEric Laurent2011-09-021-4/+5
| |/ | | | | | | | | | | | | Force AEC on for tuna board because of the strong feedback of Rx audio path, even when playing over earpiece or headset. Change-Id: I9c14257d56103ba82d6cdb0b7d5a3f315638136e
* | SIP: avoid extreme small values in Min-Expires headers.Chia-chi Yeh2011-09-061-1/+4
|/ | | | | | | | If the expiry time cannot be found in Contact header or Expires header, use the default value of 3600 seconds, which is specified in RFC 3261. Change-Id: I2607a398b96743614b01713cfd9b28f40386fac1
* SIP: add the check for expiry time in Contact header.Chia-chi Yeh2011-08-301-10/+16
| | | | | | | | | | | There can be three expiry times in the same message header. We choose the smaller value in Expires header and Contact header, and then we obey the value defined in Min-Expires header. If none of them is set, the default value is used. Bug: 5178284 Change-Id: Ie9d4a48c93863e82e5197bb4a0db3f4fec56857c
* Handle SIP authentication response for BYE.Hung-ying Tyan2011-08-152-1/+32
| | | | | Bug: 5159669 Change-Id: I029684334500d4d0db176783084c9b7d1db87e40
* am 0793586b: am f8c1f129: am e1d27154: am f87743e7: Merge "Prevent ↵Conley Owens2011-08-021-1/+9
|\ | | | | | | | | | | | | NullPointerException cases while using SipService." * commit '0793586bf8f4dce71d0b4d7ff2f212129b3f76fe': Prevent NullPointerException cases while using SipService.
| * am f8c1f129: am e1d27154: am f87743e7: Merge "Prevent NullPointerException ↵Conley Owens2011-08-021-1/+9
| |\ | | | | | | | | | | | | | | | | | | cases while using SipService." * commit 'f8c1f1298ac3ede518c8d29eeb6719746c6afaf0': Prevent NullPointerException cases while using SipService.
| | * Prevent NullPointerException cases while using SipService.Masahiko Endo2011-08-011-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | Some SipService methods may return null, in such cases like no Wi-Fi connection. Added minimum check to prevent NullPointerExceptions. Change-Id: Ia7fae57ee893f2564cbfdedb6dc614938ab60ff7 Signed-off-by: Masahiko Endo <masahiko.endo@gmail.com>
* | | Issue 3370834: No Echo canceler for SIPEric Laurent2011-07-272-18/+66
| | | | | | | | | | | | | | | | | | | | | | | | Added detection of platfrom AEC in AudioGroup. If an AEC is present, the SIP stack will use it, otherwise the echo suppressor of the stack will be used. Change-Id: I4aa45a8868466120f5f9fae71b491fe4ae1162c2
* | | Add REFER handling.repo sync2011-07-133-30/+133
| | | | | | | | | | | | | | | | | | | | | Handle REFER requests including REFER with Replaces header. bug:4958680 Change-Id: I96df95097b78bed67ab8abd309a1e57a45c6bc2f
* | | Merge "Keep last known keepalive interval to avoid duplicate effort."Hung-ying Tyan2011-07-041-11/+40
|\ \ \
| * | | Keep last known keepalive interval to avoid duplicate effort.Hung-ying Tyan2011-07-011-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current implementation always starts with default minimum interval when the measurement process starts. By keeping last known good interval, we can save the time in re-measurement. Change-Id: I8f1720acafaa7e101855fe0c66d5c7b0e578e0d7
* | | | Merge "Do not hold wifi lock when SIP is also available over mobile network."Hung-ying Tyan2011-07-031-21/+30
|\ \ \ \ | |/ / /
| * | | Do not hold wifi lock when SIP is also available over mobile network.Hung-ying Tyan2011-07-011-21/+30
| | | | | | | | | | | | | | | | | | | | Bug: 3111564 Change-Id: Ifc76e5c378d620e40ce4adf6ffa20807e9750fdb
* | | | Merge "Do not keep alive for re-established call."Hung-ying Tyan2011-07-031-2/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Do not keep alive for re-established call.Hung-ying Tyan2011-07-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Only need to keep alive for caller in a newly established call. Change-Id: I36f9d9499c806c8701e3b78555de399b00593be8
* | | | Synchronize SipWakeupTimer.onReceive()Hung-ying Tyan2011-06-301-3/+3
|/ / / | | | | | | | | | | | | | | | | | | to fix the race of two threads that change mPendingIntent; one assigns a new one and the other nullifies it. Change-Id: I5e01f83ea1ac437811d2073839adef9bd0a30ec9
* | | Make NAT port timeout measurement more flexible.Hung-ying Tyan2011-06-301-39/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In two ways: (1) When there's a session timeout, restart the measurement at a later time instead of just stalling. (2) When there's a port change, do not re-measure the interval if the current interval works well in the past. We keep success count and decrement it by half when there's a port change. When the count is below a threshold, we restart the measurement process. Change-Id: I7256464435a5e2d2a239bfccaa004e9ceb1d9ce5
* | | Record external IP and port from SIP responsesHung-ying Tyan2011-06-282-10/+57
| | | | | | | | | | | | | | | | | | | | | and use them to create the contact header when sending OK response for INVITE. Bug: 3461707 Change-Id: I5b254618f4920cf10a1460631bcd336778f344ec