-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release v2.8.0 #552
Merged
release v2.8.0 #552
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Support large req body. Allow set body handler. Use type mbuf for body parameter.
Reported-by: Coverity Scan
Adds `__restrict` macro for WIN32
* sip: add UAS authentication * sip: improve err handling for UAS auth Fixes also a clang analyzer warning "call argument uninitialized".
* sipsess: fix UPDATE issues In modify.c:sipsess_update() sess->req containing the original INVITE request was overwritten with the UPDATE request which could lead to a multitude of problems. Now, an UPDATE is sent by allocating a sipsess_request and sending it is handled separately from re-INVITEs. * sipsess: UPDATE improvements Remove unused parameters from sipsess_update and correct conditional checks in sipsess_modify.
* sipsess: call answer handler for each SDP answer (#2074)
Realtime clock time is useful for calculating NTP time points for RTCP SRs. Applications may use this function to associate RTP timestamps of sent RTP packets with realtime clock time points, so that this association is subsequently used to calculate NTP time points in RTCP SRs.
Obtain the wallclock time once and convert it to both NTP and RTP timestamps instead of obtaining the current time twice, separated with a mutex lock. This improves media synchronization quality. Also, when no RTP packets have been sent and no reference timestamps are available, generate RR instead of SR to avoid sending bogus timestamps in the SR.
The realtime timestamps allow the application to specify the time point that corresponds to the RTP timestamp on the media presentation timeline. This can be called "capture time", for whatever definition of "capturing" the application has. This timestamp is further used to calculate the NTP/RTP timestamps that are sent in RTCP SR and used on the receiver to synchronize different media streams from the sender. Having the timestamp provided by the application allows for a more precise correspondence between NTP and RTP timestamps, even if the media is sent non-monotonically and out-of-order.
* ci: convert valgrind to cmake * valgrind: use cmake build * valgrind: minor fixes * valgrind: build rem with cmake * coverage: enable verbose retest
* ci: migrate to cmake * run scan-build-14 twice
* cmake: add LINKLIBS and make backtrace and zlib optional * fix darwin libs
src/pcp/request.c:115:13: warning: Possible null pointer dereference: msg [nullPointer] if (err || msg->hdr.result != PCP_SUCCESS ) { ^ src/pcp/request.c:141:29: note: Calling function 'completed', 3rd argument 'NULL' value is 0 completed(req, ETIMEDOUT, NULL); ^ src/pcp/request.c:115:13: note: Null pointer dereference if (err || msg->hdr.result != PCP_SUCCESS ) { ^
``` src/fmt/print.c:77:15: error: Pointer arithmetic overflow; 'buf' buffer size is 64 [ctuPointerArith] char c, *p = buf + NUM_SIZE - 1; ^ src/fmt/print.c:272:20: note: Calling function local_itoa, 1st argument is uninitialized len = local_itoa(num, (sn < 0) ? -sn : sn, base, ^ src/fmt/print.c:77:15: note: Using argument buf char c, *p = buf + NUM_SIZE - 1; ```
A periodic un-REGISTER should be done only if `fbregint` (fallback SIP server registration interval) was set.
UPDATEs are now sent with Contact header which is mandatory according to RFC 3311.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.