Comments (3)
I have created a patch to fix it in #3901.
One thing worth mentioning is that the app seems to initiate media stoppage by calling MediaLine::stopTransport()
. I believe this shouldn't be necessary since typically the media should be stopped by other components, such as the call itself via pjsua_media_channel_deinit()
.
If the issue still persists, please provide us the stack trace of the two threads that race, i.e. the threads that call pjmedia_transport_media_stop()
at the same time.
from pjproject.
That seems to fix it, thanks!
We don't use pjsua
for our IVR (for performance reasons), we use pjsip
and pjmedia
directly. Hence why pjsua_media_channel_deinit()
isn't called.
from pjproject.
Hi,
After some more research of the fix, I saw that pjmedia_clock_stop()
is now protected by a mutex only in dtls_media_stop()
. But pjmedia_clock_stop()
is called from within ssl_flush_wbio()
as well without mutex protection, so we could still get the error trying to stop a clock that is already stopped by another thread.
from pjproject.
Related Issues (20)
- Building error HOT 1
- Cann't install using pip HOT 1
- Unable to build iPhone library using public instructions HOT 1
- Handling Disconnection in Android Using PJSIP HOT 2
- BYE never gets sent on confirmed incoming call without SDP HOT 1
- Deadlock on ssl_flush_wbio HOT 1
- Cross-compilation with --host=arm-none-eabi aconfigure: error is reported HOT 1
- Segmentation fault in pjmedia_transport_media_stop of ice HOT 10
- Can't find the file
- Android UnsatisfiedLinkError HOT 1
- Unknown Error HOT 3
- Thread Sanitizer Warnings HOT 1
- where is log of library? HOT 1
- FPE on division by zero HOT 6
- pjsua acc_del and afterwards acc_add results in wrong registration state HOT 1
- does pjsua2 for android support native preview?
- How use PjCamera2.java HOT 2
- Start and stop VideoPreview HOT 1
- vidStreamModifyCodecParam API not working HOT 5
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.