Comments (2)
A couple of notes:
- Destroying player is not Call's responsibility.
- Call disconnection event doesn't mean that the call slot will be immediately available. It may take some time for the call resources to be cleaned up. I suggest to increase the configured library's max number of calls, but to still limit it to one active call within your own app.
from pjproject.
I know destroying player is not Call's responsibility, the code was a simple and fast workaround for my case.
I fixed completely this issue, leaving to the developer the option to close a specific player from AudioMediaPlayer instead leave this responsibility to Call. With this fix the player will be available immediately when developer needs.
from pjproject.
Related Issues (20)
- pjmedia_wav_player_port_create() does not close the file when successfull. HOT 1
- heap-use-after-free in turn_sock (TCP) HOT 1
- How to support H265? HOT 1
- Problem for compiling a Example HOT 1
- We know that the client registration session also will keep the TCP connection active throughout the registration session. Now we create a non-actually registered account and call it directly. How can we keep the TCP connection active like the real registration mode? HOT 4
- Cross compile doesn't work
- Worker threads and ioqueue_select timeouts HOT 2
- [PJSUA][ACC] Service-Route header not cleared HOT 5
- The network was already in a bad state since 22:20:39, causing the subsequent INVITE and UPDATE not to be responded. So the ip change will naturally fail with PJ_EINVALIDOP due to pending re-INVITE. HOT 1
- The Account class in the pygui example does not have a findBuddy method
- build.mak file missing when building PJSUA2 SWIG Python module HOT 1
- Assertion when receiving INVITE with sdp media "m=application 48180 udp"
- Unregistered mode TCP call after switching network, it seems that the two parties lost contact HOT 6
- Crash, the location is in the mdf.c file st->play_buf[i] = st->play_buf[i+st->frame_size]; this line of code HOT 4
- [PJSUA] onIncomingCall never gets called, call hangs HOT 1
- while changing the network video call are stuck HOT 1
- I have a new discovery for #3803; HOT 4
- SIP acc not registering (VOIP) HOT 2
- Android sample app crashes: Cannot locate symbol "__sendto_chk" referenced by "libpjsua2.so" HOT 1
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 pjproject.