Richard Fuchs
4cbc35e0f2
MT#55283 fix RTCP/MOS reporting
...
We always need to (re)set the ssrc_map_out SSRC, even for the input
context, as this SSRC is used to look up the receiving SSRC context,
where the appropriate RX stats are stored, including the payload type in
use.
Change-Id: I434c6df4761bf56e36c7267dd3a44b0bb9c9b852
2 years ago
Richard Fuchs
8893281e3d
MT#55283 switch to anonymous unions
...
Change-Id: If80137ba4955013bb2b919c5bec9172a9776374e
2 years ago
Richard Fuchs
d9e682b7db
MT#56374 add convenience macros for string creation
...
... and use them in a few places where it makes sense
Change-Id: I849f2841990808de6f697c92e2760645286dacca
2 years ago
Richard Fuchs
8266b2da78
MT#57848 safeguard against NULL dereferences
...
Make sure we don't try to send on closed sockets or to endpoints which
haven't been initialised.
Fixes unexpected fallout from 83c7336e
Change-Id: If73d61e52edeb72257515adab7428ecef82c2797
2 years ago
Richard Fuchs
3a57face11
TT#146201 support forwarding RTCP FB packets directly
...
Change-Id: I604c750a1d88f07bd5a4a8551bba30b864c4d150
2 years ago
Richard Fuchs
fbf7550f86
MT#55283 collect sampled interface stats
...
Change-Id: I3884a75469b463a1287a77c9b8a3b408246652e6
2 years ago
Richard Fuchs
99230b9a93
Revert "MT#56420 use actual local socket for decryption"
...
This reverts commit b28794f853
.
Change-Id: I1c61b939096fc935e47f83642653c3ac341cf553
2 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 8c3452e50b7aa4f5b7122dbd7221e34143467885)
2 years ago
Richard Fuchs
57ae65c6f1
TT#146201 remove unused function arguments
...
Change-Id: I42113846c8ff52f84b4b9df29b09cb1a50414b89
2 years ago
Richard Fuchs
778ec46b81
TT#178400 support reporting out measured jitter
...
Change-Id: I798ec9b05f48f3e12630aa71e16a6bf5746f5319
3 years ago
Richard Fuchs
9c0d233a46
TT#14008 support SRTCP with generate-RTCP
...
Change-Id: I279d26745278b12bc818e36589324828d7883a3f
3 years ago
Richard Fuchs
219982ba06
TT#14008 call g_string_set_size before grabbing pointer
...
closes #1412
Change-Id: I02f97aa05788401586848cb36421f65828968864
3 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
4 years ago
Richard Fuchs
eb7244e83c
TT#14008 fix minimum XR packet size check
...
closes #1296
Change-Id: I03340107d8e2f331842e873a81867989232f8ede
4 years ago
Richard Fuchs
92fb330a46
TT#91151 implement one-to-many forwarding
...
Change-Id: I80fd35da680d4ad1f4d3d21f14f11363106b9917
4 years ago
Richard Fuchs
be11890cb4
TT#14008 don't pass potential null pointer to media_update_stats
...
Change-Id: Ia687dd1f359e5680c1d8aa6efaac3c2e9c36d4e5
4 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
4 years ago
Richard Fuchs
369e64f9a7
TT#14008 add mqtt support
...
Change-Id: Ica4a3e4ef58eadf3feca44ea63f2308103b3146f
4 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
4 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
4 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
4 years ago
Richard Fuchs
7101f535da
TT#108003 remove unnecessary null checks
...
Change-Id: I1aeb10662eac2ed0553cf4489d1e1d7a487ad272
4 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
4 years ago
Richard Fuchs
16c9f4c729
TT#14008 skip over non-ASCII characters in JSON output
...
closes #1156
Change-Id: I44e50f6968b6792a2ff57d1d14fede6db0d4f1d5
4 years ago
Richard Fuchs
30733ec5cd
TT#97301 support granular log levels
...
Change-Id: Ife458bd2449f61113a3e6db1708821570d92dc23
4 years ago
Richard Fuchs
44bc0b90c8
TT#99621 feed locally generated RTCP to stats tracker for MOS
...
Change-Id: I545f306e0f16dc71e20e10ebd419795275f7e3b2
4 years ago
Richard Fuchs
c12ec6600d
TT#99621 support jitter tracking for RTCP
...
Change-Id: I181e06e904702f37e155990dc597391c17ae4ad0
4 years ago
Richard Fuchs
ba66e5fa3a
TT#99621 support RTCP generation
...
Change-Id: Iff832eaa4148cce4d87d24d4dc3b908dfa361770
4 years ago
Richard Fuchs
97c75349cf
TT#99621 allow null RTCP handler funcs
...
Change-Id: I792cac51bb09712c13b79676c6fd4fe0547ba531
4 years ago
Richard Fuchs
195542a4ec
TT#99621 allow RTCP handlers to discard the packet
...
Change-Id: Ia48a0fa375afc46d9d2ef639ab55538b4b8a5e51
4 years ago
Richard Fuchs
6dca19ed93
TT#99621 move RTCP sending logic to rtcp.c
...
Change-Id: I9551c54085007bc8d7a0018bc111363bac9eccc6
4 years ago
Richard Fuchs
a168a3c024
TT#78307 generate RTCP for media players
...
Change-Id: Ic6dd65211ca253491a7ef3acd35499155b60fe4c
5 years ago
Richard Fuchs
2e4617ff86
TT#78307 move SSRC send stats to actual point of sending
...
Change-Id: I54ff4afeb8b3a205a678e9102fb0d8cedee78bae
5 years ago
Richard Fuchs
0cd8883639
TT#78203 add SRTP debug options
...
closes #956
Change-Id: I751f6bc1ea9228b257f6258dbb1927276db10c99
5 years ago
Richard Fuchs
26b725d024
TT#45617 add new options to support log markers for sensitive data
...
Change-Id: I2ffa4da4be3a05f043e7991612bbb37d8102d91a
6 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
7 years ago
Richard Fuchs
6e8d57e528
honour RFC 5506 by allowing more RTCP packet types leading the group
...
Change-Id: Ic8d7019e5bcadd9221c913b62e7c89e3042f7316
7 years ago
Richard Fuchs
2a4acf5e29
TT#31403 handle passthrough payloads in a transcoding context
...
Change-Id: I45001272a735847973a6261b899e5acd0687ccef
7 years ago
Richard Fuchs
6988b2361e
TT#31403 keep track of stats required for RTCP translation/output
...
Change-Id: Ib7ff1643c90423ffec95b378b4e9fca0000ee4ae
7 years ago
Richard Fuchs
613f7afdb6
TT#31403 map and replace RTCP SSRCs when transcoding
...
Change-Id: I765f1972e4b4d10d48e10a9e14e451edd48ca836
7 years ago
Richard Fuchs
26a356ccae
TT#31403 eliminate stub RTCP handler functions
...
Change-Id: I97e4e41f2f70f824bf24fea6edc619d9cca3965b
7 years ago
Richard Fuchs
5d67605535
TT#31403 decouple RTCP AVPF filtering from crypto stuff
...
Change-Id: I99b2b5720f1012b59be90e110b6ed7902826a861
7 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
8 years ago
Richard Fuchs
868c3b64fe
TT#12800 add ssrc handling into packet_stream struct
...
Change-Id: I7da97a6435854a846d2782448b32c69327756ccf
8 years ago
Richard Fuchs
84e76e7cba
TT#12800 calculate MOS values from RTCP RR
...
Change-Id: Ie4ba70ae8290f497a4a5d756a369911b96205299
8 years ago
Richard Fuchs
0f285899e0
TT#12800 avoid creating empty log messages
...
Change-Id: Ica806fbc4cbe723cffdc16a7206fd4890af9fe53
8 years ago