Richard Fuchs
99230b9a93
Revert "MT#56420 use actual local socket for decryption"
This reverts commit b28794f853 .
Change-Id: I1c61b939096fc935e47f83642653c3ac341cf553
3 years ago
Richard Fuchs
b28794f853
MT#56420 use actual local socket for decryption
The SRTP decryption context is associated with the local socket. Use the
socket that a packet was actually received on for the decryption context
instead of using the one that it was expected to be received on.
Change-Id: Iddf400a440fc51b4afb370ec827f75e9626b2cfd
(cherry picked from commit 8c3452e50b )
3 years ago
Richard Fuchs
57ae65c6f1
TT#146201 remove unused function arguments
Change-Id: I42113846c8ff52f84b4b9df29b09cb1a50414b89
3 years ago
Richard Fuchs
778ec46b81
TT#178400 support reporting out measured jitter
Change-Id: I798ec9b05f48f3e12630aa71e16a6bf5746f5319
4 years ago
Richard Fuchs
9c0d233a46
TT#14008 support SRTCP with generate-RTCP
Change-Id: I279d26745278b12bc818e36589324828d7883a3f
4 years ago
Richard Fuchs
219982ba06
TT#14008 call g_string_set_size before grabbing pointer
closes #1412
Change-Id: I02f97aa05788401586848cb36421f65828968864
4 years ago
Richard Fuchs
835ba08b5f
TT#14008 handle NULL selected_sfd in rtcp_send_report
closes #1404
Change-Id: I282db8287f31d49eb26f0baf01951187577d7890
4 years ago
Richard Fuchs
785ed90bba
TT#14008 eliminate duplicate packets_lost counters
This solves inconsistent stat output
Change-Id: Ic4c010fbceb83d1f8d5fffecacb3c65a436bfeae
4 years ago
Richard Fuchs
93377588ad
TT#121752 fix RTCP RR SSRC substitution when transcoding
Perform reverse SSRC mapping even if output media is not known, and use
the appropriate media side when looking up SSRCs for received RTCP
timestamps.
closes #1298
Change-Id: Ifa5a982163bf7b0510ffc2a92ae25995d1adb888
5 years ago
Richard Fuchs
eb7244e83c
TT#14008 fix minimum XR packet size check
closes #1296
Change-Id: I03340107d8e2f331842e873a81867989232f8ede
5 years ago
Richard Fuchs
92fb330a46
TT#91151 implement one-to-many forwarding
Change-Id: I80fd35da680d4ad1f4d3d21f14f11363106b9917
5 years ago
Richard Fuchs
be11890cb4
TT#14008 don't pass potential null pointer to media_update_stats
Change-Id: Ia687dd1f359e5680c1d8aa6efaac3c2e9c36d4e5
5 years ago
Richard Fuchs
256b9917ec
TT#121752 associate SSRC hash to monologue instead of entire call
This solves problems when the same SSRC is looped through the same call
multiple times in different mono/dialogues, with different parameters.
Change-Id: I1d033cb1f012574d82b5bcbfffe11eb5f983cfd8
5 years ago
Richard Fuchs
369e64f9a7
TT#14008 add mqtt support
Change-Id: Ica4a3e4ef58eadf3feca44ea63f2308103b3146f
5 years ago
Guillem Jover
07695d2abb
TT#111150 Use modern <stdint.h> uint<bits>_t types
The u_int<bits>_t are BSD legacy types, while the new ones are specified
by C99 and SUSv3.
Change-Id: Ia748cabc33a7e5adc2c7a6049ad1e55be0c788a8
5 years ago
Richard Fuchs
292ba2e72b
TT#111150 convert refcounting functions to macros
Convert ssrc_ctx_put() and ssrc_ctx_hold() to macros to aide in
debugging reference leaks. Having them as inline functions hides the
actual location of the refcount changes.
Obsolete ssrc_ctx_get() as returning values from macros is awkward and
it was only used in two locations.
Also fix a function invocation mishap: obj_get_o() should be used
instead of __obj_get() as the latter is an internal macro.
Change-Id: Icc0d63f04b3816632fd120c1c749cafabbbfa331
5 years ago
Guillem Jover
68797f4195
TT#111150 Mark bit-fields explicitly with as unsigned
Whether a bit-field is signed or unsigned is implementation specific, so
we should be explicit about this.
Change-Id: I744df3d24bc08e95fa816ba4135f19cd3a5dcb17
Warned-by: lgtm
5 years ago
Richard Fuchs
7101f535da
TT#108003 remove unnecessary null checks
Change-Id: I1aeb10662eac2ed0553cf4489d1e1d7a487ad272
5 years ago
Richard Fuchs
6602a3a7c5
TT#108551 add kernel support for AEAD-AES-GCM
Also amends tests plus additional clean ups
Closes #1133
Change-Id: I0dad7b8aad9cff1b019323c7ac5a356830ab09ad
5 years ago
Richard Fuchs
16c9f4c729
TT#14008 skip over non-ASCII characters in JSON output
closes #1156
Change-Id: I44e50f6968b6792a2ff57d1d14fede6db0d4f1d5
5 years ago
Richard Fuchs
30733ec5cd
TT#97301 support granular log levels
Change-Id: Ife458bd2449f61113a3e6db1708821570d92dc23
5 years ago
Richard Fuchs
44bc0b90c8
TT#99621 feed locally generated RTCP to stats tracker for MOS
Change-Id: I545f306e0f16dc71e20e10ebd419795275f7e3b2
5 years ago
Richard Fuchs
c12ec6600d
TT#99621 support jitter tracking for RTCP
Change-Id: I181e06e904702f37e155990dc597391c17ae4ad0
5 years ago
Richard Fuchs
ba66e5fa3a
TT#99621 support RTCP generation
Change-Id: Iff832eaa4148cce4d87d24d4dc3b908dfa361770
5 years ago
Richard Fuchs
97c75349cf
TT#99621 allow null RTCP handler funcs
Change-Id: I792cac51bb09712c13b79676c6fd4fe0547ba531
5 years ago
Richard Fuchs
195542a4ec
TT#99621 allow RTCP handlers to discard the packet
Change-Id: Ia48a0fa375afc46d9d2ef639ab55538b4b8a5e51
5 years ago
Richard Fuchs
6dca19ed93
TT#99621 move RTCP sending logic to rtcp.c
Change-Id: I9551c54085007bc8d7a0018bc111363bac9eccc6
5 years ago
Richard Fuchs
a168a3c024
TT#78307 generate RTCP for media players
Change-Id: Ic6dd65211ca253491a7ef3acd35499155b60fe4c
6 years ago
Richard Fuchs
2e4617ff86
TT#78307 move SSRC send stats to actual point of sending
Change-Id: I54ff4afeb8b3a205a678e9102fb0d8cedee78bae
6 years ago
Richard Fuchs
0cd8883639
TT#78203 add SRTP debug options
closes #956
Change-Id: I751f6bc1ea9228b257f6258dbb1927276db10c99
6 years ago
Richard Fuchs
26b725d024
TT#45617 add new options to support log markers for sensitive data
Change-Id: I2ffa4da4be3a05f043e7991612bbb37d8102d91a
7 years ago
Richard Fuchs
fc026cd7e4
fix possible null pointer dereference
closes #627
Change-Id: I8cfd99dca9b0d03858db147128e76fd52fc7a207
7 years ago
Richard Fuchs
14100b0b8a
use reference counting on SSRC objects
possibly fixes #488 and #482
Change-Id: Ib68e456b9322836b153c9fd0e59c3556378557ae
8 years ago
Richard Fuchs
6e8d57e528
honour RFC 5506 by allowing more RTCP packet types leading the group
Change-Id: Ic8d7019e5bcadd9221c913b62e7c89e3042f7316
8 years ago
Richard Fuchs
2a4acf5e29
TT#31403 handle passthrough payloads in a transcoding context
Change-Id: I45001272a735847973a6261b899e5acd0687ccef
8 years ago
Richard Fuchs
6988b2361e
TT#31403 keep track of stats required for RTCP translation/output
Change-Id: Ib7ff1643c90423ffec95b378b4e9fca0000ee4ae
8 years ago
Richard Fuchs
613f7afdb6
TT#31403 map and replace RTCP SSRCs when transcoding
Change-Id: I765f1972e4b4d10d48e10a9e14e451edd48ca836
8 years ago
Richard Fuchs
26a356ccae
TT#31403 eliminate stub RTCP handler functions
Change-Id: I97e4e41f2f70f824bf24fea6edc619d9cca3965b
8 years ago
Richard Fuchs
5d67605535
TT#31403 decouple RTCP AVPF filtering from crypto stuff
Change-Id: I99b2b5720f1012b59be90e110b6ed7902826a861
8 years ago
Richard Fuchs
dd338975f6
drop log level for messages about unknown RTP/RTCP packets
closes #395
Change-Id: I8a3c9c1d06ce04a4bb2280e16e2d170cd27ac65b
8 years ago
Richard Fuchs
23bc99ed81
TT#12800 consider RTCP XR reports for MOS calculations and stats
Change-Id: I18f6ff92bab432caf446c59395ab253a305378f4
9 years ago
Richard Fuchs
868c3b64fe
TT#12800 add ssrc handling into packet_stream struct
Change-Id: I7da97a6435854a846d2782448b32c69327756ccf
9 years ago
Richard Fuchs
84e76e7cba
TT#12800 calculate MOS values from RTCP RR
Change-Id: Ie4ba70ae8290f497a4a5d756a369911b96205299
9 years ago
Richard Fuchs
0f285899e0
TT#12800 avoid creating empty log messages
Change-Id: Ica806fbc4cbe723cffdc16a7206fd4890af9fe53
9 years ago
Richard Fuchs
90693a1969
TT#12800 refactor RCTP XR processing
Change-Id: Ieb6279d866cae3e4f6b13c2755518c2bbb7e428c
9 years ago
Richard Fuchs
70b7112617
TT#12800 store and process RTCP SR and RR for statistics
Change-Id: Ia78c37ae9d24df6783b664da6d395263f9f39e91
9 years ago
Richard Fuchs
c1711ea948
TT#12800 consolidate and combine RTCP parsing and logging
Change-Id: I8690b5d180b3eaf1c1b0b4295734609c5125a453
9 years ago
Richard Fuchs
223c7f17dd
TT#12800 abstractize rtcp parsing and logging functions
Change-Id: I26e02a6851a51ea0720ac8ce1fc4a9e27d2ffec4
9 years ago
Richard Fuchs
e85759a3b8
fix some errors caught by coverity
Change-Id: I3f5bfc2df00ab9b031eef5a1c71b6ff3ba25e60c
9 years ago
Anthony Alba
87aaf82111
Document RFC 3711 errata id 3712 that SRTCP_R_LENGTH == 6 is canonical
9 years ago