Richard Fuchs
c3c6d37c7d
convert ssrc tracking functions to inline
11 years ago
Richard Fuchs
76f3893464
ssrc tracking improvements
change ssrc tracking code to a hash table and delay creation of hash
table and ssrc lookup until a change in ssrc is actually seen
11 years ago
Richard Fuchs
9c3ad508f7
use appropriate crypto context for encryption and decryption
ensures that the correct ROC is used
11 years ago
Marc Soda
0ac1ed2419
Remove unnecessary prototype.
11 years ago
Kevin McAllister
3097f71b8c
convert spaces to tab on comment.
11 years ago
Kevin McAllister
965fa396d2
Change packet_index functions to more closely match RFC
This became necessary because of the way Asterisk handles Sequence
numbers when changing SSRC. They continue to increment a single
sequence number even though the SSRC is different, on switching back
this causes the packet_index function to interpret this as many lost
packets. The previous function had dead-spots that would not adjust
the packet_index at all if the difference fell in these ranges. These
gaps always resulted in behavior contra what would happen in webrtc
clients.
11 years ago
Marc Soda
16b91847f9
Track SSRCs and sequence numbers. Sync between userspace and the kernel.
11 years ago
Marc Soda
65a358727c
Use the proper ROC when encrypting.
11 years ago
Richard Fuchs
92cc560b74
don't shut down ICE agent on consecutive re-invites
fixes #103
11 years ago
Richard Fuchs
f0dc1f8589
Merge remote-tracking branch 'origin/rfuchs/sdes-session-params'
Closes #85
11 years ago
Richard Fuchs
b205691e9c
RTP forwarding fix for trickle ICE
fixes #105
11 years ago
Richard Fuchs
85dc64dd7f
compare SRTP session params for equality
11 years ago
Richard Fuchs
144a451526
support selective SDES session parameters
11 years ago
Richard Fuchs
d4222375bf
support SDES session parameters in kernel module
11 years ago
Richard Fuchs
96e3b91859
Implement support for some SDES session parameters
Supports: UNENCRYPTED_SRTCP, UNENCRYPTED_SRTP and UNAUTHENTICATED_SRTP
Usermode only
11 years ago
Richard Fuchs
fd426457d7
use SRTP<>SRTP transcoding when crypto parameters differ
11 years ago
Richard Fuchs
39a305f4ba
reset SRTP ROC to zero when SSRC changes
workaround as per issue #102 for broken audio after SSRC change by
hold/unhold. workaround before full multi-SSRC support is available.
11 years ago
Richard Fuchs
e7868da867
increase size of RTP loop protection buffer to 28 for RTCP
as suggested in issue #65
11 years ago
Richard Fuchs
b0edf59a8f
don't reset certain stream flags for disabled (zero port) streams
11 years ago
Richard Fuchs
83a40824f4
fix number of ICE components for tricke-ICE no-components case
11 years ago
Richard Fuchs
46ebfa3cd0
do not detect trickle ICE RTCP port as rtcp-mux
11 years ago
Richard Fuchs
13d8b8abeb
fix ICE when no candidates are present (trickle ICE)
use presence of ufrag attribute to detect ICE support instead of
candidates
11 years ago
Richard Fuchs
ba48d7b518
fix call timeout when ICE fails
11 years ago
Richard Fuchs
4ea8d96033
remove stray compiler warning
11 years ago
Victor Seva
46c60e5284
MT#12519 debian/control: switch from Pre-Depends to Suggests for ngcp-system-tools package
On upgrades from 2.8 LTS we have to install ngcp-rtpengine-kernl-dkms package
before the upgrade in order to get dkms to work. No need to upgrade the new
version of ngcp-system-tools too
Change-Id: I36fbfdffc5ca1e283ba0e8d5a42a96a72fbf324e
11 years ago
Richard Fuchs
d50208488d
fix refcount bug
fixes double-free and mem corruption bugs (segfault fix)
closes #96
11 years ago
Richard Fuchs
3acc850083
zero-fill padding bytes
11 years ago
Alexander Lutay
b85baee230
MT#11493 Release new version 4.0.0.0+0~mr4.0.0.0
Change-Id: Ibf6dd7188650438dfd6950646aacf8412fae3cb1
11 years ago
Richard Fuchs
2cfc12bcc6
fix incorrect free order of ICE components
fixes #95
11 years ago
Alexander Lutay
3a45a169ef
MT#7505 Add .gitreview file for rtpengine
11 years ago
Richard Fuchs
c0fab9b47d
various fixes related to ICE negotation and rtcp-mux
closes #92
11 years ago
Richard Fuchs
fd99ecf98c
don't close call on UDP send error
11 years ago
Richard Fuchs
0b202d821f
Fall back to a different address family if the requested one is unavailable
Fixes #90
11 years ago
Richard Fuchs
93294f8c5f
don't relearn addresses if the endpoint hasn't changed
11 years ago
Richard Fuchs
b1085970c3
Merge branch 'lemenkov-rpm_enhancements'
11 years ago
Peter Lemenkov
3b27031828
Explicitly set rights on dkms.conf as 644
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
9a12b4915a
Don't specify access rights for _usrsrc dir
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
a6ab5b5ebc
Restrict access to a working directory
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
e71a7e15d8
Consistently use rtpengine name everywhere
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
d25b697f6a
Check for username,group before creating
Just a cosmetic actually. Earlier we created user,group anyway and
suppress error message if user or group already exists.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
882731b814
Remove double slash
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
234b45441a
Use macro instead of /etc/rc.d/init.d
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
9890371a89
Remove no longer required section
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
8d56ed5067
Typo fix in Source0 url
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
cd70a8f8a5
Use proper versionin scheme
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
b0240eecaa
Use generic dependency name for nc
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
49ed2a826c
Remove autoadded deps
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
597c35aae0
Remove duplicated text in descriptions
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Peter Lemenkov
eba4414fe9
Remove BuildRoot
This is no longer required even for EL5.
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
11 years ago
Richard Fuchs
20ac7cd5f7
process nominating ICE request only once per pair
11 years ago