summaryrefslogtreecommitdiffstats
path: root/voip/java/android
Commit message (Collapse)AuthorAgeFilesLines
* Add uri field to SipManager.ListenerRelayHung-ying Tyan2010-09-301-10/+12
| | | | | | in case mSession is not available. Change-Id: Ifee2c129e48aa1177f648f176413ab6aa5606770
* Merge "RTP: Enable AMR codec." into gingerbreadChia-chi Yeh2010-09-291-2/+1
|\
| * RTP: Enable AMR codec.Chia-chi Yeh2010-09-301-2/+1
| | | | | | | | Change-Id: I49e6bdc1b67306b44173f2f346f8372a50264870
* | Merge "SIP: misc fixes." into gingerbreadHung-ying Tyan2010-09-291-1/+3
|\ \ | |/ |/|
| * SIP: misc fixes.Hung-ying Tyan2010-09-301-1/+3
| | | | | | | | | | | | | | | | | | | | + Fix keepalive timer event leak due to the race between stopping timer and the async'ed timeout handler + SipSessionImpl: set state before handling an event to ensure we get correct state when some error occurs during handling the event. + Fix potential NPE in SipManager.ListenerRelay.getUri(). Change-Id: I021ee34f83059fd4fbb64b30bea427a5462aa51b
* | RTP: Enable GSM-EFR codec.Chia-chi Yeh2010-09-301-1/+1
| | | | | | | | Change-Id: I9d84009e4557a0a82c1f9d7d543922741be97c77
* | RTP: Enable GSM codec.Chia-chi Yeh2010-09-291-1/+1
|/ | | | Change-Id: Iae1913fb0643f1c66b5d16f24d51924d363e5ef5
* Merge "SipAudioCall: remove SipManager dependency." into gingerbreadHung-ying Tyan2010-09-272-11/+12
|\
| * SipAudioCall: remove SipManager dependency.Hung-ying Tyan2010-09-242-11/+12
| | | | | | | | Change-Id: I2dc8bf427e52f64529ee0e0261362b975a8917c6
* | SipService: handle cross-domain authentication errorHung-ying Tyan2010-09-271-0/+5
|/ | | | | | | | | and add new CROSS_DOMAIN_AUTHENTICATION error code and OUT_OF_NETWORK DisconnectCause. http://b/issue?id=3020185 Change-Id: Icc0a341599d5a72b7cb2d43675fbddc516544978
* SDP: remove dead code.Chia-chi Yeh2010-09-243-530/+0
| | | | Change-Id: I2a5764a2b9cabc54b0ac18666e494c1cb39c4e9b
* Refactoring SIP classes to get ready for API review.Hung-ying Tyan2010-09-246-1061/+1459
| | | | | | | | | | | | | + replace SipAudioCall and its Listener interfaces with real implementations, + remove SipAudioCallImpl.java, most of it is has become part of SipAudioCall, + add SipSession and its Listener classes to wrap ISipSession and ISipSessionListener, + move SipSessionState to SipSession.State, + make SipManager keep context and remove the context argument from many methods of its, + rename SipManager.getInstance() to newInstance(), + rename constant names for action strings and extra keys to follow conventions, + set thread names for debugging purpose. Change-Id: Ie1790dc0e8f49c06c7fc80d33fec0f673a9c3044
* Fix the build.repo sync2010-09-231-1/+1
| | | | Change-Id: I82210cb2d41f532583f83ea17e6f2d8d49280a30
* SIP: Make SipAudioCallImpl use SimpleSessionDescription instead of javax.sdp.repo sync2010-09-231-196/+185
| | | | Change-Id: I7efff4f29ca84c3e7c17ef066b7186b514a777b2
* SDP: Add a simple class to help manipulate session descriptions.Chia-chi Yeh2010-09-231-0/+612
| | | | Change-Id: I1631ee20e8b4a9ad8e2184356b5d13de66e03db1
* RTP: Add two getters to retrieve the current configuration from AudioStream.Chia-chi Yeh2010-09-231-1/+20
| | | | Change-Id: Iff588130653242f6ddd6a6b663df775ecb276768
* RTP: Extend codec capability and update the APIs.Chia-chi Yeh2010-09-234-62/+244
| | | | Change-Id: I37ba9d83c2de3c5dae2bfc1b7513df7f6fee3c5c
* SipPhone: fix missing-call DisconnectCause feedbackHung-ying Tyan2010-09-201-8/+8
| | | | | | | | | also fix delivering bad news before closing a SipAudioCallImpl object so that apps can get the current audio-call object state before it's closed: http://b/issue?id=3009262 Change-Id: I94c19dae8b4f252de869e614ec462b19b4ff2077
* SIP: convert enum to static final int.Hung-ying Tyan2010-09-209-71/+127
| | | | | | Converts SipErrorCode and SipSessionState. Change-Id: Iee3a465649ea89d395b2336bbd673c25113e5f93
* SIP: add config flag for wifi-only configuration.Hung-ying Tyan2010-09-201-0/+8
| | | | | | http://b/issue?id=2994029 Change-Id: I328da9b0f8b70d660dbcefffdac8250341792101
* SipAudioCall: expose startAudio()Hung-ying Tyan2010-09-172-61/+72
| | | | | | so that apps can start audio when time is right. Change-Id: I7ae96689d3a8006b34097533bc2434bc3814b82a
* Add timer to SIP session creation process.Hung-ying Tyan2010-09-174-27/+81
| | | | | | | | | | | | + add timer parameter to ISipSession.make/changeCall(), + add timer paramter to SipAudioCall.make/answer/hold/continueCall()'s, + add timer parameter to SipManager.makeAudioCall(), + modify implementation in SipSessionGroup, SipAudioCallImpl accordingly, + make SipPhone to use it with 8-second timeout. http://b/issue?id=2994748 Change-Id: I661a887e5810087ddc5e2318335e2fa427f80ec6
* Fix links in SIP API javadoc.Hung-ying Tyan2010-09-167-45/+40
| | | | Change-Id: I839280fe18502bb576f6e9c9a7948077c02fa570
* SIP: add PEER_NOT_REACHABLE error feedback.Hung-ying Tyan2010-09-151-0/+3
| | | | | | http://b/issue?id=3002033 Change-Id: Ib64b08919d214acbab89945ac19dc113a68e62ad
* SipService: ignore connect event for non-active networks.Hung-ying Tyan2010-09-151-11/+12
| | | | | | + sanity check and remove redundant code. Change-Id: I4d3e226851ad7fc4d88ddcd0a5c58f7e33b6c14a
* SipAudioCall: use SipErrorCode instead of string in onError()Hung-ying Tyan2010-09-142-24/+52
| | | | | | and fix callback in setListener(). Change-Id: Ic2622df992a2ad45cb1e3f71736f320897ae8fb3
* SIP: remove dependency on javax.sipHung-ying Tyan2010-09-144-12/+16
| | | | | | | and change errorCodeString to errorCode in SipRegistrationListener.onRegistrationFailed(). Change-Id: Id9618f5a4b0effaed04f8b0dc60347499d9e4501
* SipService: deliver connectivity change to all sessions.Hung-ying Tyan2010-09-141-1/+4
| | | | | | | | | + add DATA_CONNECTION_LOST to SipErrorCode + convert it to Connection.DisconnectCause.LOST_SIGNAL in SipPhone http://b/issue?id=2992548 Change-Id: Ie8983c1b81077b21f46304cf60b8e61df1ffd241
* SIP: enhance timeout and registration status feedback.Hung-ying Tyan2010-09-131-1/+7
| | | | | | | http://b/issue?id=2984419 http://b/issue?id=2991065 Change-Id: I2d3b1dd3a70079ff347f7256f4684aea07847f4e
* SIP: remove dependency on javax.sip.SipException.Hung-ying Tyan2010-09-134-7/+40
| | | | Change-Id: I77d289bef1b5e7f1ec0c0408d0bbf96c21085cd7
* SIP: add SipErrorCode for error feedback.Hung-ying Tyan2010-09-106-25/+68
| | | | Change-Id: I8b071d4933479b780a403d0bfa30511f4c23ca8f
* SipManager: always return true for SIP API and VOIP support query.Hung-ying Tyan2010-09-031-0/+6
| | | | | Change-Id: I397a804e0aa598aee77a8ce28ada1b11e10fbaea http://b/issue?id=2972054
* Merge "SipService: reduce the usage of javax.sdp.*." into gingerbreadChia-chi Yeh2010-09-027-38/+27
|\
| * SipService: reduce the usage of javax.sdp.*.Chia-chi Yeh2010-09-027-38/+27
| | | | | | | | | | | | After this change, SipAudioCallImpl is the only place still using it. Change-Id: I5693bffa54f9e19cbfa70b45dfcf40fba04dedbb
* | SipProfile: remove outgoingCallAllowed flag.Hung-ying Tyan2010-09-021-23/+1
|/ | | | Change-Id: I37a215bafce57adf6911c81fd38db324bac686ec
* Add software features for SIP and VOIPHung-ying Tyan2010-09-021-9/+24
| | | | | | and block SipService creation and SIP API if the feature is not available. Change-Id: Icf780af1ac20dda4d8180cea3e5b20e21a8350bc
* Add Wifi High Perf. mode during a call.Chung-yih Wang2010-08-261-1/+28
| | | | | | | To prevent the wifi from entering low-power mode due to the screen off triggered by the proximity sensor. Change-Id: I490bc594d800bc30c256e52ef3bce08bf86bc7b1
* Add dynamic uid info for tracking the sip service usage.Chung-yih Wang2010-08-261-0/+19
| | | | Change-Id: Ibc340401b63799326b08aee6eba602a3e753b13f
* Merge "SipProfile: add isOutgoingCallAllowed() and new builder constructor" ↵Hung-ying Tyan2010-08-241-1/+40
|\ | | | | | | into gingerbread
| * SipProfile: add isOutgoingCallAllowed() and new builder constructorHung-ying Tyan2010-08-241-1/+40
| | | | | | | | Change-Id: I7ced47079fd2b00c7160b152eb4c1d34399e39dc
* | Add confcall management to SIP callsHung-ying Tyan2010-08-242-18/+45
|/ | | | | | | | | and fix the bug of re-assigning connectTime's in SipConnection, and adding synchronization for SipPhone to be thread-safe, and set normal audio mode when call not on hold instead of on hold in SipAudioCallImpl, and fix re-entrance problem in CallManager.setAudioMode() for in-call mode. Change-Id: I54f39dab052062de1ce141e5358d892d30453a3a
* RTP: fix few leaks when fail to add streams into a group.Chia-chi Yeh2010-08-191-7/+8
| | | | Change-Id: Iefb3fe219ad48641da37a83c8d14e9ebf1d3086c
* Fix the IN_CALL mode issue.Chung-yih Wang2010-08-162-15/+11
| | | | | | | | If the sip call is on-holding, we should not set the audio to MODE_NORMAL, or it will affect the audio if there is an active pstn call. Change-Id: If1bcba952617bf8427bc9e2d64d483ba1ee37370
* SipAudioCall: perform local ops before network op in endCall()Hung-ying Tyan2010-08-101-1/+4
| | | | Change-Id: I1808f715d56c0979cea7741cb5bdb3831774d3ef
* SIP: clean up unused class and fields.Hung-ying Tyan2010-08-102-82/+0
| | | | Change-Id: I79ed7fb324fea9a52946340055b5ea1d389a926a
* Revert "Move SIP telephony related codes to framework."Chung-yih Wang2010-08-051-2/+1
| | | | This reverts commit b631dcf3eb449ddec756bea330f4e70b996ffb9e.
* Move SIP telephony related codes to framework.Chung-yih Wang2010-08-051-1/+2
| | | | | | + hardcode the sip service for build dependency. Change-Id: Ib0e9717c9b87eb6e06ffa3a7b01ae31184de61bb
* Move the sip related codes to framework.Chung-yih Wang2010-08-0519-0/+3487
Change-Id: Ib81dadc39b73325c8438f078c7251857a83834fe