Age | Commit message (Collapse) | Author |
|
according to padding length.
Payload padding in outgoing RTP investigation results:
- the RTP does not specify RTP payload alignment.
- most codecs also do not specify RTP payload alignment, usually only octet-alignment is specified and this seems to be done.
- SRTP, RFC3711 states:
- None of the pre-defined SRTP encryption transforms uses any padding; for these, the RTP and SRTP payload sizes match exactly.
- Message authentication codes define their own padding.
- Encryption transforms that use padding are vulnerable to subtle attacks, especially when message authentication is not used.
So, currently payload padding in outgoing RTP is not necessary.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3325 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3315 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added run-time configuration for activating/deactivating stream keep-alive (non-codec-VAD mechanism), also added this config to account settings.
- Fixed bug wrong session info pointer "si" in pjsua_media_channel_update() when call audio index is not zero.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3313 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed bytes_per_frame calculation in stream port.
- Fixed sample streamutil.c to use codec info/param for codec bandwidth calculation (was using bytes_per_frame info of stream port).
- Doc fix for bytes_per_frame field in pjmedia_port_info.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3292 74dad513-b988-da41-8d7b-12977e46ad98
|
|
status, disabled/off, after receiving 'fmtp:18 annexb=no' in the SDP.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3288 74dad513-b988-da41-8d7b-12977e46ad98
|
|
pjmedia_codec_ipp_set/get_config() as currently to set PCM signal level adjustment can be done using the existing G722.1 API pjmedia_codec_g7221_set_pcm_shift().
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3263 74dad513-b988-da41-8d7b-12977e46ad98
|
|
2005
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3262 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added PCM signal adjustment in IPP G722.1 implementation. The default setting is configurable via (the existing compile-time config) PJMEDIA_G7221_DEFAULT_PCM_SHIFT.
- Added new APIs to get and set IPP codecs settings: pjmedia_codec_ipp_set/get_config(). At run-time, the G722.1 PCM signal adjustment setting can be set using these functions.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3261 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3256 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3255 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3250 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added (back) raw jitter statistics into RTCP statistics, with the new name "rx_raw_jitter".
- Added IPDV statistics into RTCP statistics.
- Added new compile-time settings to enable/disable raw jitter and IPDV statistics.
- Updated call dump in pjsua-lib.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3239 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Updated RTCP jitter statistics calculation (in receiving direction) to use "interarrival jitter" (was using "difference D") of RFC 3550.
- Added APIs to reset RTCP statistics.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3237 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3226 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed zeroed/unset RTP timestamp in RTCP sender report.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3224 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed SRTP transport to only (re)start the SRTP state when the SRTP crypto settings are updated.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3221 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3220 74dad513-b988-da41-8d7b-12977e46ad98
|
|
scenario). Details:
- now the stream will be destroyed but the media transport will be kept alive during doublehold scenario
- small fix in SRTP to also negotiate crypto even when the media is marked as inactive, otherwise it's possible that an "optional" endpoint would create RTP/AVP offer and send it to "mandatory" endpoint, which would be rejected and cause the media port to be set to zero
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3219 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Johan Lantz for the suggestion)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3218 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- fixed unterminated negotiation if our media transport rejects incoming offer (e.g. due to mismatch SRTP transport) with 488.
- to fix the above, modified the SDP negotiator (sdp_neg.[hc])'s pjmedia_sdp_neg_cancel_offer() to also be able to cancel in remote offer state
- also fixed the bug introduced previous Session Timer fix (Re: #1047), which cause SDP negotiator's state to be cleared after failed UAC UPDATE transaction is terminated, which means UPDATE can only be sent 5 seconds after the last UPDATE if the last UPDATE failed.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3217 74dad513-b988-da41-8d7b-12977e46ad98
|
|
port clock when it is created with PJMEDIA_CLOCK_NO_ASYNC flag.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3214 74dad513-b988-da41-8d7b-12977e46ad98
|
|
uninitialized memory ptr read under Valgrind. Thanks Jones Desougi for the patch.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3204 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added API pjmedia_codec_g722_set_pcm_shift() to enable configurable level-adjusment setting.
- Also added macro PJMEDIA_G722_DEFAULT_PCM_SHIFT (default value is 2) to accomplish 14-16 bit PCM conversion for G722 input/output.
- Added a feature in G722 to stop level-adjusment/PCM-shifting when clipping occured, compile-time configurable via PJMEDIA_G722_STOP_PCM_SHIFT_ON_CLIPPING macro.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3202 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed memory leak of CVoIPFormatIntfc instances in S60 VAS.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3201 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added new codec G721, as alias for G726-32.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3199 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed process_answer() of SDP negotiation, when no common format in a media, instead of returning error, it should just deactivate the media (offer & answer) and continue negotiating next media.
- Generalized the way of deactivating media: set port to 0 and remove all attributes.
- Added new API pjmedia_sdp_media_clone_deactivate() to clone media and deactivate the newly cloned media.
- Updated PJMEDIA SDP negotiation test.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3198 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed SDP negotiation in processing answer: when the answer has less media count, generate disabled-media to match the media count.
- Added python test.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3195 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed SDP negotiation to ignore disabled media (with port 0) in the answer.
- Added a SIPp scenario for reproducing the issue.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3192 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3191 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed removing any unmatching formats in the remote-answer to also work with dynamic payload type.
- Updated reordering formats priority in the offer based on the answer to also work with dynamic payload type.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3187 74dad513-b988-da41-8d7b-12977e46ad98
|
|
(from AMR payload) only when it is different from current encoding mode.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3184 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3174 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed max frames-per-packet constants in AMR codec (IPP and passthrough) to be based on PJMEDIA_MAX_FRAME_DURATION_MS setting.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3165 74dad513-b988-da41-8d7b-12977e46ad98
|
|
hardcoded 1s, now it is 3/4 of JB max size and must not be lower than 1s.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3162 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3161 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added check if the negotiation result of local-offer/remote-answer has no matching format.
- Added routine to remove any unmatching formats in the remote-answer.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3160 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3159 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Removed orphaned third_party/gsm/inc/gsm.h.orig file
- Added support for external GSM header in /usr/include/gsm.h (rather than <gsm/gsm.h>)
Thanks Christopher Zimmermann for the fixes
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3158 74dad513-b988-da41-8d7b-12977e46ad98
|
|
by possibility of uninitialized burst level after JB switches status INITIALIZING -> PROCESSING (thanks Janos Tolgyesi and Tamàs Solymosi for the report and investigation).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3154 74dad513-b988-da41-8d7b-12977e46ad98
|
|
and also disabled some more L16 codecs (thanks Bram Kuijvenhoven for the report).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3146 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- fixed crash when parsing invalid SDP body, introduced by the last change
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3140 74dad513-b988-da41-8d7b-12977e46ad98
|
|
few devices, e.g:N95, by adding short delay before closing APS session.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3136 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added APS codecs detection.
- Minor updates in symsndtest:
- added log of supported extended audio formats.
- changed libraries order in symsndtest.mmp, this fixes linking error on S60 3rd MR SDK.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3135 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3134 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Applied VAS AMR playback solution from Forum Nokia.
- Fixed AMR playback for VAS and APS in composing DTX/NO_DATA (frame type 15) frame header.
- Modified symbsndtest test application to support non-PCM audio.
- Minor check fix in pjmedia_codec_mgr_destroy(), caught assertion when VAS factory init failed and media endpoint tried to destroy codec manager (codec mgr hasn't been init-ed).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3116 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added requirement of AEC minimal latency between reference and echo in aectest sample app.
- Modified AEC latency in sound port to 3/4 of playback latency.
- Few cleaned up echo_common.c: unused vars, a bit stricter latency check (to be at least as much as PTIME).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3115 74dad513-b988-da41-8d7b-12977e46ad98
|
|
discard.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3111 74dad513-b988-da41-8d7b-12977e46ad98
|
|
* pjmedia-audiodev:
* implement null audio device
* build:
* added null audio support on MMP, and Makefile (TODO: vs6 and vs2005)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3102 74dad513-b988-da41-8d7b-12977e46ad98
|
|
passthrough.c when re-commiting r3074 (in r3078). (note: this changeset was originally done by nanang, recheckedin due to moving svn repository)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3100 74dad513-b988-da41-8d7b-12977e46ad98
|