summaryrefslogtreecommitdiff
path: root/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/nodes
AgeCommit message (Collapse)Author
2023-04-14Fix the DTMF is not workingbodamnam
When the DTMF payloads have different RTP timestamps as its incremented every 20msec, the RTP payload cannot be recognized by the network side. I fix the problem by changing the RtpEncoderNode to use the fixed timestamp for all DTMF packets when the new DTMF is set. Bug: 275938987 Test: Verified with the dtmf ARS service in live network, Verified LTE-BTR-5-5466, atest ImsMediaNativeTests Change-Id: I2cdc1f442e515fcd0cdb259b0a4300ffb1d19106
2023-03-16Improve the text sending performancebodamnam
1) The TextSourceNode was sending data to the UTF-8 chunk unit, which was slowing down the performance. I remove the logic splits the text string to UTF-8 unit and send the text string as same as it was received to speed up the performance. 2) Remove the own text list and use the member of data queue in base class instead in the TextSourceNode. Bug: 271626757 Test: 1 to 1 MO/MT RTT test case with device, atest ImsMediaNativeTests Change-Id: Ie4ab8e189e4fc231d6b11707f6adae4fa563d936
2023-03-13Add unit test cases for RTCP encoder node.Avinash Malipatil
Bug: 272299057 Test: atest ImsMediaNativeTests Change-Id: I5324935dad859de281ca05b1b13ea46814c9f52a
2023-02-23Modify to shorten audio start delay using the StreamScheduler threadbodamnam
The issue is caused by rx audio stream started after the tx audio stream start finished not starting simultaneously. It causes latency in audio playing time. It is because both tx and rx audio stream started in main thread sequentially. Therefore, I change the audio stream started in the StreamScheduler thread which is a individual thread created for each tx and rx stream instance. It makes remove the audio starting latency in AudioPlayer. Bug: 268364437 Test: verified with loopback voice call using ImsMediaTestingApp, atest ImsMediaNativeTests, Verified voice call in live network. Change-Id: I2a9dd073c883b47d3bb7f4e17e2c76c654eaf6aa
2023-02-22Fix the incorrect CallQuality notificationbodamnam
1) Improve the delete frame logic in AudioJitterBuffer to prevent incorrect lost frame reported 2) Remove unusing logic in AudioJitterBuffer 3) Fix the timing of the MediaQualityAnalyzer starting and add thread initaliation code to prevent the zero value notification 4) Fix call duration 5) Add reporting min/max playout delay 6) Add UT of AudioJitterBuffer for verification Bug: 263846230 Test: loopback testing with ImsMediaTestingApp, atest ImsMediaNativeTests Change-Id: I7c8454051dcdb10f46d7d2d229fe612120e80b51
2023-02-21Implementation of RtpHeaderExtensionbodamnam
Add implementation of send/receive the RtpHeaderExtension in the audio session. Add UT for RtpEncoderNode and RtpDecoderNode. Add test button for testing RtpHeaderExtension in testing application. Bug: 263849365 Test: atest ImsMediaNativeTests, Verified voice call and the CVO enabled video call in loopback mode with ImsMediaTestingApp Change-Id: Idb969b0b5364966e71833d26c7bdfdd17d0e86b6
2023-02-09Fix to increase the dtmf payload timestampbodamnam
1) Fix to use increasing timestamp for dtmf frame in the RtpEncoderNode 2) DtmfSenderNode operates asynchronous thread operation to keep the constant interval, but it is already done in RtpEncoderNode, so I removed the node. Bug: 264831620 Test: loopback test in ImsMediaTestingApp, atest ImsMediaNativeTests, Verified by ATT LTE_BTR_5_5466 case passed. Change-Id: I6027007cfd3e09a541316197566f8724c0b7ca3a
2023-01-30Implementation of receiving dtmf in libimsmediabodamnam
Bug: 265610926 Test: atest ImsMediaNativeTests, dtmf loopback test with ImsMediaTestingApp Change-Id: If782e1941c9cef39f33cde6c1927d0309cfe1346
2023-01-10Fix the manual code reviewbodamnam
Use nullptr instead of NULL Bug: 260305828 Test: atest ImsMediaNativeTests Change-Id: I3a327830092f2d9310fd138e4a03abc764a3bc06
2023-01-09Fix the clang warningbodamnam
Bug: 261801535 Bug: 261801393 Test: atest ImsMediaNativeTests Change-Id: I17d10032a8242a151083a66e7c73902ccb96be9e
2022-12-23Clang static analysis warning fixesAvinash Malipatil
Bug: 261801757 Test: make tidy-packages-modules-ImsMedia_subset Change-Id: If4914fd3f5a782d9c87919f1e332f983b7164789
2022-12-19Fix the ImsMedia crash in RtpEncoderNodebodamnam
It is not a 100% reproduced crash. 1) Add mutex for synchronization of the stop and processData methods in RtpEncoderNode run by accessing in different threads to prevent the crash. 2) Increased StreamScheulder stop timer to get more time to process all the remaining data in each nodes which prevent the crash due to accessing deleted node instance data after each node had stopped. 3) Add UT for RtpEncoderNode. 4) Fix incorrect extension header operation what I found during UT testing in VideoRtpPayloadEncoderNode. Bug: 262306188 Test: Voice/Video/Rtt Call testing with device, atest ImsMediaNativeTests Change-Id: I96c7907cb73f1b6e4bb77663e348b0862bcf1b52
2022-12-07Fix libimsmedia crash catched by HWasanbodamnam
The current code of stream nodes has connected with multiple nodes and it is not managed with list container. It makes crash during the node disconnection. I change front and rear node connection with list to manage the multiple connection. Remove AudioJitterBuffer violated approach to deleted instance. Fix the ImsMediaCamera unit test crash. Bug: 260197032 Bug: 260684544 Bug: 259910295 Test: Voice call with device in high latency condition, Video call camera and direction update case, 1 to 1 Rtt Call test, atest ImsMediaNativeTests Change-Id: Ia02da49fa393ac1edb5bd3b76a14eca6b69e082f
2022-12-01Fix static analysis(cppClean)bodamnam
Change unnecessary static valuable to member or constant Remove unused valuables Remove commented code Remove redundant include Remove unused define Fix incorrect array usage Bug: 260038109 Bug: 260829813 Test: 1 to 1 Voice/Video/RttCall test with device, atest ImsMediaNativeTests Change-Id: I10465b710f4f0ee31c6e2fb57fa6aedc51e4421e
2022-11-29Fix static analysis issue in TextSourceNodebodamnam
Bug: 258717497 Test: RTT Call testing with device, atest ImeMediaNativeTests Change-Id: I503fb17f7b72ff2f04d134921468be4da4b4cdb9
2022-11-15ImsMedia update to support presubmitRakesh Raghava
- core, config, protocol submodule static libs are created - libimsmedia shared lib accesses these static libs - ImsMediaNativeTests accesses these static libs - Folder structure updated accordingly Bug: 258455118 Test: Verified MO and MT calls and atest ImsMediaNativeTests Change-Id: I06e98c7d3dded536ec8a78fc332f9213f4279269