Richard Fuchs
e1cfefc07e
MT#55283 disable kernel RTCP FW if filtering
...
Change-Id: I9488b444d413d227153b2e73a3efe2facce98d26
7 months ago
Richard Fuchs
4aa3641cad
MT#63317 avoid mismatched extmap IDs
...
Change-Id: I7489ebaf9dbcb4ebb0c0bf469872433c25a0acb4
7 months ago
Richard Fuchs
429c7b5c71
MT#63317 support bundle offer
...
Change-Id: Ibb271535c38654c4fa4d52026d6a4ce41535e3cb
8 months ago
Richard Fuchs
44deb79faa
MT#63317 remove unused hash table
...
Not needed as it turns out
Change-Id: I5236d32b6a0a6c0d51e3e0e9445dd5efeca73536
8 months ago
Richard Fuchs
4c78949654
MT#63317 associate SSRC with media
...
Change-Id: I0fba8f0a2c98c4b80b1688c85768efdf4410abe8
8 months ago
Richard Fuchs
cc48a89c41
MT#63317 set correct output media w bundle
...
Change-Id: I8e4e2514a6f779d9fcedfe1593b228d336cf5c2a
8 months ago
Richard Fuchs
3b0496979a
MT#63317 extmap parsing in kernel
...
Change-Id: I2d4b0f0ba08d0dd793bd4e9716731dfe96ee155a
8 months ago
Richard Fuchs
7ce5b7660e
MT#63317 typedef for kernelize_state
...
Change-Id: I1b712ccc049b13bc6e1aef41ef2cd13dafddc99d
8 months ago
Richard Fuchs
8cf038e4fa
MT#63317 rework kernel output grouping
...
Change-Id: I3e798e5f1e5ae2f4af247819e3d323cdbf56b36b
8 months ago
Richard Fuchs
78f9c0147a
MT#63317 generalise functions
...
Change-Id: I4ed802c755b6faab0fcba311b7b1fe617e2dd669
8 months ago
Richard Fuchs
12f69abbc3
MT#63317 share ports/sockets among bundle groups
...
Change-Id: I951f3690e7b795fdc08f0e37a1efb48a1a2630ca
8 months ago
Richard Fuchs
871c4c0579
MT#63317 support BUNDLE flags
...
Change-Id: Iddc7f5b8394cdd2c2543775163f8867a1d88b14a
8 months ago
Richard Fuchs
3ef034a675
MT#63317 track extensions by known ID
...
Change-Id: I17f20bc8be60d779d1a3d18616bb518062f74e6b
8 months ago
Richard Fuchs
774834d0c7
MT#63317 set media from RTP ext
...
Change-Id: Id71e219a57decd409f4e8a7620c9809c9b577ae7
8 months ago
Richard Fuchs
bc779d0913
MT#63317 PT tracking
...
Change-Id: Ic354f62cef4cb37e3d65648a2f953cf9995e60b2
8 months ago
Richard Fuchs
1f91ce4c37
MT#63317 support bundle groups
...
Change-Id: Iff961283f77986c6df7147149e058286fbc91ca6
8 months ago
Richard Fuchs
16780ac17d
MT#63317 support multiple a=group attrs
...
Change-Id: Icb2c00e1ca46fafbc8862fe6b9cf2aae4a62fbfa
8 months ago
Richard Fuchs
5853dcb41b
MT#63317 move confirmed/kernel flags to stream_fd
...
The key for an in-kernel stream is a local port, so it is really the
socket (port) that gets pushed into the kernel, not the packet_stream.
Similar to the "confirmed" state, as we expect each socket to only have
one peer address/port.
Change-Id: I34fef771cd8b01701196ffb77e17fcd229c86550
8 months ago
Richard Fuchs
de6e8e3763
MT#55283 use embedded array
...
Change-Id: I85330fb38b041d83a93e3c329cc3fc592290fdf3
8 months ago
Richard Fuchs
61103a2ac5
MT#63317 remove unused struct member
...
Change-Id: I2e0fa7ad49e8e0280bc2c7b1b305fcc7d6c8c5e8
8 months ago
Richard Fuchs
1b05cb043e
MT#63317 support ext filter in kernel
...
Change-Id: Ic98dde266c7707dd3350d651032d989511ee3bee
8 months ago
Richard Fuchs
ab8c7a82cb
MT#63317 support sending mixed rtpext
...
Change-Id: Ic504cfd9dea09eeccfc07e524aad14f87ca72692
8 months ago
Richard Fuchs
a87889b35a
MT#63317 initial support for allow-mixed
...
Adapt affected tests
Change-Id: I2a5dc1249a9a7dbab20b6022e20572a36d9520a9
8 months ago
Richard Fuchs
f934f7737d
MT#63317 support long form extension printing
...
Change-Id: Ib1f1d51dcf6ac0c74fdeb92311bd04d72bf7e7c2
8 months ago
Richard Fuchs
5c03188d5b
MT#63317 abstract extmap printing
...
Change-Id: Ia1d8622a1c5ccf358ee573fb8747f3129dc790e8
8 months ago
Richard Fuchs
57bc6b1e95
MT#63317 abstract packet copy
...
Change-Id: I0ea082a4fad138c25cd710dd82020d4f4d192485
8 months ago
Richard Fuchs
8828b176c8
MT#63317 introduce extmap_ops abstraction
...
Change-Id: Icffa6f618270d2e7c10695bf1bade00ad8a49894
8 months ago
Richard Fuchs
4fbef39425
MT#63317 add rtpext printing abstraction
...
Change-Id: I50b4bc3feef4445ccd87f4296504ec196bb8083a
8 months ago
Richard Fuchs
c216b51260
MT#63317 parse out extensions
...
Change-Id: I33965782836782790e6b0872b97818717f2b9949
8 months ago
Richard Fuchs
dba2386c60
MT#63317 support extmap-mask
...
Change-Id: Ib8ca6d4ada4a0bc1e67f5c02522eb9fe7f6ba2ce
8 months ago
Richard Fuchs
b98e14631d
MT#63317 update marker flags to bool
...
Use a struct to pass marker flags to functions
Change-Id: I05b0fe0f9f37e9ff3675f59c7cb98abda3cfe300
8 months ago
Richard Fuchs
b2721c5abc
MT#63317 update payload lengths to size_t
...
Change-Id: Ib00570198103f93416c1b639777e30755a93646c
8 months ago
Richard Fuchs
42f7e40545
MT#63317 support extmap-strip for SDP
...
Change-Id: Iaa38fa3c24d69abbfdb8f0e457d406ccf0c6d5bd
8 months ago
Richard Fuchs
3de7902087
MT#63317 add sink_handler to media_player
...
Change-Id: I78bb3d486db6df24a556b68686ecd96c6b13a3ee
8 months ago
Richard Fuchs
82f5158775
MT#63317 add sink_handler_set_generic
...
Change-Id: Ibef8d6a6b3c868c2b4f844c3bf1e095be23cae30
8 months ago
Richard Fuchs
acb0e47a1a
MT#63317 rename determine_sink_handler
...
and annotate some functions
Change-Id: I26cfe17f9bb93c1cc87b8365b3eed10fc03956f4
8 months ago
Richard Fuchs
d5c1fa418e
MT#63317 keep rtpext names in table
...
Change-Id: I9a2904ff22dc6235c2bfa8f4af5bd72f49ba37fe
8 months ago
Richard Fuchs
64d3c7646c
MT#63317 parse out RTP header extensions
...
Stub function for now.
Change-Id: I7ad2a203f42fb118e50273a57772cac4fbd1738f
8 months ago
Richard Fuchs
c525cb9e09
MT#63317 remove duplicate header parsing
...
Pass down RTP/RTCP header to crypto functions so that they don't need to
parse it out again.
Change-Id: I551ab6a668cc99c903cde8807f6f9c10fc0cf6d5
8 months ago
Richard Fuchs
35bcdd5570
MT#63317 keep extmap in tables
...
Change-Id: I540c7d325488c3015b72901ab0d9f25c3e913ea1
8 months ago
Richard Fuchs
fc9cb21d8a
MT#63317 store extmap entries in media object
...
Change-Id: Ia673ae3049f5c6ce8dd8516b5becc0a9322559d8
8 months ago
Richard Fuchs
eddff91357
MT#63317 annotate rtcp_payload
...
Change-Id: I2a08441c0c7e262d3d7a43e8fabc0a5766de7c7f
8 months ago
Richard Fuchs
6a893b1a83
MT#63317 update return type to bool
...
Change-Id: I95de33bcd2eecfcd0bb3229c7897c048f8ad1404
8 months ago
Richard Fuchs
65e591bf99
MT#63317 revamp SDP printing
...
Change-Id: I0079cc8ec59a604048a11167cd576e49fc144a6a
8 months ago
Richard Fuchs
271b3b1520
MT#55283 store sfd in fsin in dtls_connection
...
This makes it possible for the BIO callback to access these values,
instead of obtaining possibly mismatched values from packet_stream.
Restores behaviour prior to 5331506
Closes #1996
Change-Id: I74ccb82f1739ca98eb033e68df4e27619ca7e46a
8 months ago
Richard Fuchs
afdeea876a
MT#55283 more specific callback arg name
...
Change-Id: I79adcb7f5c93dabe8db53b6203f64fc7f8cb7719
8 months ago
Richard Fuchs
a7e9d52776
MT#55283 remove sp->desired_family
...
doesn't really belong there
Change-Id: Ia5a5be897404a5ebc34bc499d08c14323229cb14
8 months ago
Richard Fuchs
cec0afa25e
MT#55283 clean up RTCP send locking
...
Fixes regression from Ib4285e7aae
RTCP multiplexing requires the RTCP sender to maybe lock the same output
stream, maybe lock some other one. Allow for both.
Change-Id: I6fcef32e656f8f0de46ad777f11a19c259ce35c7
9 months ago
Richard Fuchs
e03f814855
MT#55283 combine in/out_lock
...
With selected_sfd being protected by in_lock, we pretty much have to
hold at least in_lock everywhere, and end up requiring both locks in
many places. The distinction has become pointless.
Change-Id: Ic0ad976c2d68d9639b9434da7f0e6e9c0d84c185
9 months ago
Richard Fuchs
b6bd9804a0
MT#55283 upgrade xmlrpc_callback to string
...
Simply take the xmlrpc-callback address as string and don't try to parse
it out. Store it in the call object as string as well.
Obsolete `created_from_addr`. The string form `created_from` is all we
need.
Change `created_from` to `str` as well.
Change-Id: Ib67b57b1d2d474d7b033f56ef8be59f71e44641b
9 months ago
Richard Fuchs
6a72ce30db
MT#55283 move Redis macros
...
These are private to redis.c
Change-Id: I19da8eec6cb5625375906d1eae047b43850dd591
9 months ago
Richard Fuchs
3118b1e258
MT#55283 update function to bool
...
Change-Id: I290fc3b803db4ac0b5d95ef9609c158dff303af5
9 months ago
Richard Fuchs
ffc539c0d8
MT#55283 locking updates
...
Protect selected_sfd with in_lock.
Protect RTCP sending with in_lock and out_lock as appropriate.
Has the odd side effect of RTCP reports expected in tests to be sent one
packet later than before.
Closes #1966
Probably fixes #1927
Change-Id: I225b43dff8e8fbb938d3be6aad50249997615d77
9 months ago
Richard Fuchs
7ac4c3eb1d
MT#55283 whitespace fixes
...
Change-Id: Iebf2e20d6cbb6633904111af4a9958e2ecaba34d
10 months ago
Richard Fuchs
fa8123e1c2
MT#55283 explicitly return PTS/duration
...
... from packetizer function instead of putting it into the AVPacket.
Remove AVPacket from callback function arguments.
Fix up PTS/duration adjustments where they were missing.
Closes #1963
Change-Id: Ib36b36bb6648b0579dd83155c7217317dda29cc3
10 months ago
Richard Fuchs
f5277e5c30
MT#55283 add http-buf-size option
...
closes #1950
Change-Id: I12047e7e6af8e0d927744a0dc70c5b4668420878
10 months ago
Richard Fuchs
1480574001
MT#55283 overhaul WS locking logic
...
Multiple writers may operate on a single WS connection simultaneously.
Make sure they don't get in each other's way while constructing their
messages/responses by holding the lock from the beginning of the
response until the point when it's fully ready. This fixes a problem of
parts of multiple messages getting mixed up with each other.
Change-Id: If84224fc06b423cd65c12981a5b09ee99b121df2
11 months ago
Richard Fuchs
a2c9d5c7a1
MT#55283 add media PUBLIC flag
...
A simple mechanism to track whether a given media endpoint has been
advertised to the public. If it hasn't, then any media received on it is
considered suspicious, and source addresses are ignored for learning
purposes.
Change-Id: I76a08e3f442f263dad192ff496a5d734a9349d26
11 months ago
Richard Fuchs
d2f8fd489a
MT#55283 loosen check from e969a7942
...
The internally used VALID flag doesn't reflect the "valid" state from
the RFC, possibly leading to legitimate packets (DTLS etc) to be
ignored. Introduce a new flag to track which ICE pairs have been
authenticated through requests or responses.
Change-Id: I11b8e2bb6a7638ab9405304c6f45c29b20d3739c
11 months ago
Richard Fuchs
8a1b420af3
MT#62735 add `recrypt` flag
...
Change-Id: Ia2779bf51c155df473e523d30bd018ce54bea900
11 months ago
Tom Briden
9fd6b31186
MT#55283 add flag to discard delay buffer packets in codec_handlers_stop before media playback
...
if a delay buffer is enabled, the packets get scheduled in the future,
but media playback packets are scheduled immediately. this results
in choppy playback due to the packets coming in at the same time.
This change adds a new bool to chu_args that gets enabled when
play-media is called and passed in to codec_handlers_stop so the delay
buffer queue is cleared instead of flushed
Change-Id: Id534f9087d934481f17341bc577099dc2362f8e1
12 months ago
Tom Briden
3bd7298cfe
MT#55283 codec: disable clock skew calculation during media playback
...
when media playback happens, all packets get scheduled at the same
time with a send time in the future. however, this results in the
output_skew calculation triggering an unnecessary shift in the send
timer, which can cause choppy playback
Change-Id: I449f221a4d348eb615c2af1dca30bec163aa4fc6
12 months ago
Richard Fuchs
5d613020e6
MT#55283 add global bufferpool
...
These are normally held per thread, but in cases of threads not having
dedicated init/cleanup functions (GLib thread pool), we can use a global
one as fallback.
Fixes #1936
Change-Id: Ia2ff3523e6079baa73e0721862100ec2f8b66c88
12 months ago
Richard Fuchs
71addf5118
MT#62687 support codec preferences
...
Change-Id: Ib8eaca5b2223cf7eb40e9dc68e8ab05782bd4f99
1 year ago
Richard Fuchs
ac2d404904
MT#55283 sequencer cache
...
Change-Id: Ie5903be9b202507f84eba6a000abab812a577c90
1 year ago
Richard Fuchs
c8dd521e33
MT#55283 obsolete SSRC tracking
...
Change-Id: Ic0a3c7826180e1e1f4a783dcc6d775c92fe38d1f
1 year ago
Richard Fuchs
cf22d82932
MT#55283 eliminate input/output combination SSRC
...
Change-Id: I94636b7f6fb6fb31cd3bf332fffe0203e17f6c16
1 year ago
Richard Fuchs
19af8034a4
MT#55283 split SSRC hash into in and out
...
Change-Id: Ie1d378ee455e6fadb39a16f4c1d86f604870c536
1 year ago
Richard Fuchs
4d5ff2401a
MT#55283 scale dtx timers
...
Change-Id: I296b56b8f77349addf384bf8bc3896b0b799f4bd
1 year ago
Richard Fuchs
6e07f40f47
MT#55283 scale mqtt_publish_interval
...
Change-Id: I7ed5d5ea275139a81a91126100af6edadafe66fd
1 year ago
Richard Fuchs
206e7db48b
MT#55283 scale redis timeouts
...
Change-Id: I7594f38da85a61c3846f8c5eb41ee01b63de36ac
1 year ago
Richard Fuchs
e12ba22a7c
MT#55283 scale redis timers
...
Change-Id: I8b9fcbb63ab096c7f1362f2df2f137258c45dc12
1 year ago
Richard Fuchs
180cb210cc
MT#55283 scale rtcp-interval
...
Change-Id: I2edc92d2fc2d707b93d7510ee69217b9ff5e07d5
1 year ago
Richard Fuchs
461de892c4
MT#55283 scale expire times
...
Change-Id: Ia7daea4471967797c404c4346b9786cd274067d8
1 year ago
Richard Fuchs
4eadfd2274
MT#55283 scale delete-delay
...
Change-Id: I61478a8f9d08921dd086735b96f6594e22690d30
1 year ago
Richard Fuchs
482166f0dc
MT#55283 scale offer-timeout
...
Change-Id: I35419b378eaef025ec32dce616fdd046d3e05c8e
1 year ago
Richard Fuchs
d3dc92aca9
MT#55283 scale final-timeout
...
Change-Id: I59f95f472477099cb71caebd828b2178f2577285
1 year ago
Richard Fuchs
3261098384
MT#55283 scale timeout
...
Change-Id: I23628cfcf4e5044300a01c1e15591746467df1ba
1 year ago
Richard Fuchs
9061ce05be
MT#55283 scale silent-timeout
...
Change-Id: I111628b82110df3b37922c2aeffae401abf782f8
1 year ago
Richard Fuchs
f796537ef3
MT#55283 simplify ntp_ts_lsw, ntp_ts_msw
...
Change-Id: I33d72c8ef2b6832378c92902fc9bc253d325ace3
1 year ago
Richard Fuchs
27ff6e6f57
MT#55283 convert last_redis_update to int64_t
...
Change-Id: Id521b8b87ae2366c341e4b9871f253a24e750538
1 year ago
Richard Fuchs
f35881548d
MT#55283 convert async_last to int64_t
...
Change-Id: I86284e3b6c0dc9c52be0e2ee54bf63a0490cece1
1 year ago
Richard Fuchs
71f2234902
MT#55283 obsolete timeval_diff
...
Change-Id: I83ea176acd77cdd9c371e4c8cde324bdfc3c2486
1 year ago
Richard Fuchs
a4bd720105
MT#55283 convert time_t to int64_t
...
Change-Id: I9664249782355f7363a46bafcca6504415585875
1 year ago
Richard Fuchs
ad65c9096f
MT#55283 convert call structs to int64_t
...
Change-Id: If1a077d206d96914651b3e4624e7fc09f239ed09
1 year ago
Richard Fuchs
27ce6148ce
MT#55283 convert packet_stream_last_packet to int64_t
...
Change-Id: I33079b6fbe34e291b2b3d6ec00816db99b69ebf4
1 year ago
Richard Fuchs
7b9ec8699f
MT#55283 convert last_packet to int64_t
...
Change-Id: Ib199a61352865566e45d5957aa520099d86066ee
1 year ago
Richard Fuchs
952429aa89
MT#55283 convert last_packet to int64_t
...
Change-Id: I21aec3c852a213c433b3a6c62d8b039303ec0f01
1 year ago
Richard Fuchs
0050ac5998
MT#55283 convert redis to int64_t
...
Change-Id: I5238eaf821512b21dac33716fb9c5109c9e0955c
1 year ago
Richard Fuchs
b455cf88a4
MT#55283 convert dtls to int64_t
...
Change-Id: Iff59c5a708655293612b114980a9cb13b9444ed1
1 year ago
Richard Fuchs
8c694b5e2b
MT#55283 convert cookie_cache to int64_t
...
Change-Id: If94cc69d180a0a17b0973a30800e0770d7d8f413
1 year ago
Richard Fuchs
7f84fe590b
MT#55283 convert last_packet to int64_t
...
Change-Id: Ia7fb2964d35f75a7bc21d058426d244838c77191
1 year ago
Richard Fuchs
e92f260e7a
MT#55283 convert daemon/ to int64_t
...
Change-Id: Ie557204821fddfa5af0be96cc8f0ff2dd093fc7c
1 year ago
Richard Fuchs
165c42fb8e
MT#55283 convert calls to int64_t
...
Change-Id: I7c9a2229ba3eea418e009bb04def336476d2ec25
1 year ago
Richard Fuchs
87df808bb9
MT#55283 convert ssrc to int64_t
...
Change-Id: Ibdf18621fa6c2015ab7f4d6a68e27938f0cbe120
1 year ago
Richard Fuchs
5dd2b5bb74
MT#55283 convert graphite to int64_t
...
Change-Id: Ifeb8e560716330a5c3e573a355a90a46c3f68f30
1 year ago
Richard Fuchs
c59864d3d8
MT#55283 convert rtpe_started to int64_t
...
Change-Id: Ib80187cfa9abd7f947926b9195e998bee6369ff6
1 year ago
Richard Fuchs
20ffa4f780
MT#55283 convert timerthread to int64_t
...
Change-Id: Ia7bdb7538428edef1ff83d7bd8f6116d5e618510
1 year ago
Richard Fuchs
5d878748d3
MT#55283 convert jitter_bufer to int64_t
...
Change-Id: I959cfbd8d56d13bb30419c19f4245876c71c7b25
1 year ago
Richard Fuchs
b2e75d60db
MT#55283 convert codec_calc_jitter to int64_t
...
Change-Id: Ia042d86b6b1091561fadd896e77925f48012c7bd
1 year ago