* Also add video stream port to video conf when call is on local hold in order for video stream to keep sending keep-alive.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5960 74dad513-b988-da41-8d7b-12977e46ad98
But the problem itself is caused by video port, which passes the wrong frame size when the video capture is passive.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5948 74dad513-b988-da41-8d7b-12977e46ad98
- Apply returned frame quality filter in OpenH264 decoder (drop the frame if decoder returns dsRefLost dsNoParamSets, dsDepLayerLost).
- Only publish keyframe missing event when decoder returns non-dsErrorFree (was always publishing the event when no frame is returned, while decoder may return dsErrorFree and no frame returned, e.g: when decoding parameter sets).
- Added a bit more logs for debugging.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5925 74dad513-b988-da41-8d7b-12977e46ad98
- Frame rate calculation is now done using temporary variable, instead of using stream decoding channel state directly.
- Added condition for applying calculated frame rate: it must be greater than zero.
- Fixed frame rate comparison to use float, was using integer which might get overflow on 32 bit integer platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5913 74dad513-b988-da41-8d7b-12977e46ad98
- Fixed transport_udp so it won't call another read operation when being stopped.
- Add robustness checks (assertion) in ioqueue recv, recvfrom, and accept to prevent the same op key being used twice.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5907 74dad513-b988-da41-8d7b-12977e46ad98
A couple of improvements:
- Now initialize both video port's renderer AND capture buffer
- Support RGB format as well.
Known limitation: YUV currently only supports I420 and YV12
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5868 74dad513-b988-da41-8d7b-12977e46ad98
- Fix assertion when DTLS tries to attach transport, but the ICE transport's source RTP address hasn't been updated.
- Fix DTLS transport attachment in dtls_media_start() which misses rtcp-mux checking, causing rtcp-mux to be disabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5852 74dad513-b988-da41-8d7b-12977e46ad98
- Updated DTLS-SRTP to ignore stray packet after DTLS nego has been completed.
- Added few debugging logs.
- Fixed false SSL error.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5847 74dad513-b988-da41-8d7b-12977e46ad98
If an ALSA audio device cannot be opened for recording and playback, it may mean that they are temporarily busy (such as currently being used by another app), so we should still list it.
Thanks to Tobias Schneider for the patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5846 74dad513-b988-da41-8d7b-12977e46ad98
- Added new error code for sending RTP/RTCP failure when DTLS-SRTP nego is in progress.
- When sending RTP/RTCP fails, only print error message once for consecutive same errors.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5845 74dad513-b988-da41-8d7b-12977e46ad98
- For better interoperability, check remote support for DTLS-SRTP by inspecting SDP a=fingerprint availability instead of UDP/TLS/SRTP/SAVP.
- Bailout DTLS-SRTP when SDP a=fingerprint is not available.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5823 74dad513-b988-da41-8d7b-12977e46ad98
- make sure that C++ compiler is available, and
- disable ALSA when ALSA development library is not found.
Thanks Alexander Traud for the feedbacks.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5814 74dad513-b988-da41-8d7b-12977e46ad98
- Fixed nullptr exception, because opt pointer might not be set.
- Remove assertion to check pool and sdp in pjmedia_transport_media_start().
Thanks to Ciro Ferraiuolo for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5811 74dad513-b988-da41-8d7b-12977e46ad98