Comments (5)
@bmutinda
were you able to resolve your issue?
I am getting something similar when I accept video call from webrtc:
Linphone core [0x6f8ac338] notifying [call_stats_updated]
4794-17314/ Sending RTCP RR compound message on session [0x6f82c148].
4794-17314/ Sending RTCP RR compound message on session [0x6f82c148].
4794-17314/ Sending RTCP RR compound message on session [0x6f82c148].
4794-17314/ Sending RTCP RR compound message on session [0x6f82c148].
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] JNI ERROR (app bug): local reference table overflow (max=512)
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] local reference table dump:
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] Last 10 entries (of 512):
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 511: 0x1385b790 org.linphone.core.LinphoneCallStatsImpl
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 510: 0x1385b5b0 org.linphone.core.LinphoneCallStatsImpl
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 509: 0x1385b4c0 org.linphone.core.LinphoneCallStatsImpl
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 508: 0x1385b2e0 org.linphone.core.LinphoneCallStatsImpl
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 507: 0x13841fb0 org.linphone.core.LinphoneCallStatsImpl
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 506: 0x13841ce0 org.linphone.core.LinphoneCallStatsImpl
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 505: 0x13841a60 org.linphone.core.LinphoneCallStatsImpl
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 504: 0x13841a10 org.linphone.core.LinphoneCallStatsImpl
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 503: 0x138419c0 org.linphone.core.LinphoneCallStatsImpl
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 502: 0x13841970 org.linphone.core.LinphoneCallStatsImpl
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] Summary:
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98] 512 of org.linphone.core.LinphoneCallStatsImpl (512 unique instances)
4794-15509/ A/art: art/runtime/indirect_reference_table.cc:98]
from liblinphone.
@tahirjilani yes I did. This is what I did.
.I removed the existing account before adding a new one -- mostly when a user updates his settings
Let me just dump the code that I used to achieve this.
// Removing account
try{
LinphoneAuthInfo[] infos = linphoneCore.getAuthInfosList();
for ( LinphoneAuthInfo info: infos){
linphoneCore.removeAuthInfo(info);
}
LinphoneProxyConfig[] configs = linphoneCore.getProxyConfigList();
for (LinphoneProxyConfig config: configs ){
linphoneCore.removeProxyConfig( config );
}
linphoneCore.clearAuthInfos();
linphoneCore.clearProxyConfigs();
linphoneCore.clearCallLogs();
}catch (Exception e){
e.printStackTrace();
}
// Adding account
/**
* ....... [Ommitted codes here to pull user profile and server settings]
*/
LinphoneCore linphoneCore = getLinphoneCore();
LinphoneAuthInfo authInfo = LinphoneCoreFactory.instance().createAuthInfo(
sipProfile.getUsername(), sipProfile.getPassword(), null, sipServer.domain );
linphoneCore.addAuthInfo(authInfo);
LinphoneAddress proxyAddr = null;
try {
proxyAddr = LinphoneCoreFactory.instance().createLinphoneAddress(sipServer.proxy);
proxyAddr.setTransport(LinphoneAddress.TransportType.LinphoneTransportUdp);
LinphoneProxyConfig proxycon = linphoneCore.createProxyConfig(sipProfile.getAccId(), proxyAddr.asStringUriOnly(), proxyAddr.asStringUriOnly(), true);
proxycon.enableRegister( true ); // Activate registration
proxycon.setIdentity(sipProfile.getAccId() );
proxycon.setProxy(sipServer.domain);
linphoneCore.addProxyConfig(proxycon);
linphoneCore.setDefaultProxyConfig(proxycon);
proxycon.done();
} catch (LinphoneCoreException e) {
e.printStackTrace();
}
Hope it helps you.
Thanks
from liblinphone.
@bmutinda many thanks for the prompt reply.
I think my issue is different .it works fine if i make a call from Android to webrtc. Only issue happens if I accept a video call from webrtc. Sometime call goes fine otherwise it crashes frequently. Perhaps it generates lot of stats update calls which break the system.
i have my heads down.
thanks
from liblinphone.
@tahirjilani I haven't tried with video because I never needed it but maybe I should enable and give it a try.
from liblinphone.
No longer relevant today.
from liblinphone.
Related Issues (20)
- [Bug]: Initializing empty address may refer to an unconstructed object
- [Bug]: Crash occurs when using TCP to register sip number HOT 13
- [Bug]: the option --early-media doesnt do early media
- [Question]: Where is documentation to linphone-daemon?
- [Bug]: Crash on core initialization (Unable to load VCARD grammar) HOT 2
- Contacts search is erroneously case-sensitive HOT 5
- When logging in to multiple accounts, it is not possible to display which number the other party is calling HOT 1
- [Bug]: Wrong SDP offer on sending a re-invite after putting call on hold. HOT 1
- Legacy PUSH notitfications on latest release HOT 10
- [Question]: C# Wrapper HOT 16
- [Bug]: Dial plan error DialPlan::create("Libya", "LY", "218", 8, "00") the number of digits should be 9 HOT 2
- [Bug]: Crash when calling core.stop() on Android
- Audio and video data transmission
- Rtp bundle is disabled.
- [Bug]: v5.3.1 `CMakeLists.txt` missing targets `jsoncpp-lib`, `bcg729` and `bcmatroska2` [OBS Build Service (Archlinux/Manjaro)]
- About: The relationship between video size preferences, video presets, frames per second (FPS) preferences, bandwidth limits
- invalid presence entity
- [Bug]: Linphone cannot receive calls through Asterisk
- InfoMessage setContent seems not working HOT 11
- Increase LDAP search limit for MagicSearch HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liblinphone.