dnygate
7674d8529c
MT#55283 Add a fixed egress SSRC per media
...
A controlling agent feeding media into a WebRTC SFU needs to know the SSRC
of the incoming stream before it can bind a receiver to it, and the SFU
needs that SSRC to stay put for the life of the call.
With `fixed egress SSRC` set, rtpengine picks an SSRC for each media at
signalling time and returns the chosen values in the offer or answer
response, one entry per m= section along with its index and media type.
The value is recorded as the ingress entry's `ssrc_map_out`, which is
already the mapping every consumer reads: the egress entry is keyed off it,
RTCP rewriting uses it, and the kernel module is handed it as `ssrc_out`.
Because one egress entry then stands in for every ingress SSRC, it outlives
a change of source, so `seq_diff` carries across on its own. All that is
left is re-basing it once at the changeover, taking the last sequence
number from the counter shared with the kernel module so that it is still
right while the stream is offloaded.
The substitution itself goes in the plain passthrough handler rather than
the SSRC passthrough one, so that it applies to builds without transcoding
support as well. Those builds compile the kernel side regardless, so
leaving the userspace half out would have meant the original SSRC being
forwarded until the stream was offloaded and the fixed one afterwards.
Change-Id: Iad5508c53d29d1e7d54c825da1ab56069cdd89b7
2 months ago
Richard Fuchs
579097e812
MT#55283 g_new for last user of uid_alloc
...
Change-Id: I33188c74a1da8daa5372e410602e8021426ca9df
2 months ago
Richard Fuchs
acda0b2180
MT#55283 iqueue for all_local_interfaces
...
Change-Id: Ic43d03d2633dc494f9912e7dcde61bf112fed44f
2 months ago
Richard Fuchs
f74d428017
MT#55283 use lightweight alloc for slices
...
Change-Id: I63b0a7a96675a53905071931f3bab1fa89fd5d8d
2 months ago
Richard Fuchs
e74043145f
MT#55283 remove duplicate loop
...
Change-Id: I60cf8fe19e21effcbeb2466c9cec1aa24feb1f11
2 months ago
Richard Fuchs
1442eb4f9b
MT#55283 iqueue for ml and media
...
Change-Id: Icbf773ac99e097b4c3034847538b463726448209
2 months ago
Richard Fuchs
5a5342fea7
MT#55283 fix stop_forwarding monologue mixup
...
Change-Id: I356a308d35eb2cd3fc2d26ff49103dbb228a3c41
2 months ago
Richard Fuchs
dcdafb5069
MT#55283 streamline Redis snapshotting code
...
Change-Id: Ia88e3c0a5f9a9d5eaea7ab3fa291341a04b0b73f
2 months ago
Richard Fuchs
1b2afd52f1
MT#55283 iqueue for endpoint maps
...
Change-Id: I6776ee4958c41f3e304ed5303723ac0d65b801bf
2 months ago
Richard Fuchs
c5afd60d28
MT#55283 iqueue for packet streams
...
Change-Id: I0269d36be8d9578c1ec825fcf4a1ea0a29a00356
2 months ago
Richard Fuchs
66e42183a8
MT#55283 better syntax for transparent union
...
Change-Id: I68a91c8148f6df52d8516a89445b423e7b5cbd45
2 months ago
Richard Fuchs
a13abfaece
MT#55283 add missing label to Redis
...
Change-Id: I07369a14a5026103dae873703dd305a9c2218f7f
2 months ago
Richard Fuchs
d1171acefa
MT#55283 allow lightweight media strings
...
Rel: #2165
Change-Id: I26ed33161dacab36c2ffdf6915fdeae682d017e5
2 months ago
Richard Fuchs
450119898c
MT#55283 prevent use of global rtpe_arena
...
Change-Id: I36c04a82ef5b42cda71ab9a3d3f656a9601a05d5
2 months ago
Richard Fuchs
e4f5ba6b1b
MT#55283 add lightweight mode
...
Rel: #2165
Change-Id: I3b2937ed45c8fd9d5f22c51f867512d3f7b2217a
2 months ago
Richard Fuchs
7f69e7f527
MT#55283 use mmap for long running arenas
...
Rel: #2165
Change-Id: I5e529dbd5920870cbff09c7002aadc1f499abf82
2 months ago
Richard Fuchs
a4c2b66780
MT#55283 separate out arena from bencode
...
Change-Id: I38c2e677096f92232b19e4f4d9e2a341ba64d358
2 months ago
Richard Fuchs
e76a1447d2
MT#55283 rename files
...
Change-Id: I2a5dba1b494635fe5122fc17db23811b7993f11c
3 months ago
Richard Fuchs
9712078a73
MT#55283 typed rtcp_fb queue
...
Change-Id: Ia31a6e0327a34cb934215aa14407d734d78c2507
3 months ago
dnygate
fdbc23c87d
MT#55283 Add `force strip extmap` flag
...
RTP header extensions are only processed, and unknown ones stripped, if
at least one side of the call negotiated header extensions through
`a=extmap` attributes. Otherwise RTP is forwarded untouched, including
any header extensions an endpoint may include without having announced
them.
Add a `force strip extmap` flag which selects header extension
processing for all streams of a call regardless of whether any
extensions were negotiated, so that unannounced header extensions are
removed. This is useful when forwarding media from sources that always
include header extensions towards endpoints that do not cope with them.
Change-Id: I57e14389c3610550a6859ac08e65ad866283554f
3 months ago
Richard Fuchs
2e74b43c62
MT#55283 fix compiler error
...
Change-Id: I2c8c7e05df50d6e7ad30fb495e52dff7bb9a75a6
3 months ago
Richard Fuchs
0986dd191c
MT#55283 fix compiler error
...
Change-Id: Ib13ecdba94c171094ba577dc845f481dfd19e049
3 months ago
Richard Fuchs
9b715213ce
MT#65420 allow outgoing offers with video
...
Change-Id: Id473b9d1ad4721142c7e573816952502c6288d08
3 months ago
Richard Fuchs
45ae2fb834
MT#65420 restrict audio player to audio
...
Change-Id: Ia49e70f83dd6b4a532efcc5483f61118b9a9ebab
3 months ago
Richard Fuchs
2a4e68bca7
MT#65420 support for video playback
...
Change-Id: Ibd4612aec60973efad1a03ef3eb34c52a7c271ec
3 months ago
Richard Fuchs
0534e3d8ed
MT#65420 initial support for video transcoding
...
Change-Id: I6fbf6dae7370860523abdb56ee3106e9fb3f0915
3 months ago
Richard Fuchs
6448f3765d
MT#65420 support setting marker from packetizer
...
Change-Id: Icbaa3b874e0afcd3bd9ca06e6c8b684ee2312542
3 months ago
Richard Fuchs
a46a49ba06
MT#65420 streamline encoder input fn
...
moved into encoder object
Change-Id: I45ec3ae2575977eae896492f4eb9baade80bcb89
3 months ago
Richard Fuchs
4fe4cacfed
MT#65420 add frame rescaler
...
Change-Id: Id3d583db9f6c575879a63ccf74d0cfc42bb83a9d
3 months ago
Richard Fuchs
a2c3a6bbb8
MT#65420 fill and use new width/height fields
...
Change-Id: I5cee971b2bab99440d8375a9826eb73b7e22077e
3 months ago
Richard Fuchs
3306e84fbf
MT#65420 pass media type to make_generic_av
...
Change-Id: I352220d922ce2571c7c33d50d5c2bbdf2cff2c37
3 months ago
Richard Fuchs
2711563b0e
MT#65420 pick correct stream when reading file
...
Look for a media stream of the appropriate type, and read packets only
belonging to that stream
Change-Id: I5e3532b913f2a429df3349aa8c392002eaeb8575
3 months ago
Richard Fuchs
909582dd53
MT#65420 use stream index for stream seeking
...
Change-Id: Ia42531c8ec712b1c813d7a887fe1d8917264df49
3 months ago
Richard Fuchs
fcc6b68222
MT#65420 streamline codec_def_supported
...
Change-Id: I7030c51e2ca526c201007f040cf5f238f0f34db1
3 months ago
Richard Fuchs
94140a12d3
MT#65420 add height/width fields to structs
...
Change-Id: I9f8ba35ef346b77241758632812da240fab82936
3 months ago
Richard Fuchs
449385d91e
MT#55283 fix compiler error
...
Change-Id: I8ab8b4fe99adb2b5852030bd2fcad2610af563a8
3 months ago
Richard Fuchs
bc08b05912
MT#65420 stricter str_to_X family
...
Has the benefit of not needing to write to the buffer
Change-Id: I5897d4fcd7a37e143bceb5569b9bfa1237593b3e
3 months ago
Richard Fuchs
0b3d305199
MT#65420 encapsulate sample stream init
...
Define types of packetizers, with dedicated init and destroy functions,
and move maintenance of sample stream into encoder
Change-Id: I992f696c2b986485a89582909e299b2f6d462e5b
3 months ago
Richard Fuchs
669090c2f4
MT#65420 check callback function before calling it
...
Change-Id: I4877d5dfdce01f13ebe21e11de2c0597adc54b74
3 months ago
Richard Fuchs
a43de7c26c
MT#65420 decoder config via format_t
...
Change-Id: I3b956ed14ad1e3a1c73237fc3be403b78e221c92
3 months ago
Richard Fuchs
bf60ed4d41
MT#65420 support passing marker bit to decoders
...
Change-Id: Ifce02c1d4ad1b9e0150c6a987231582c75a78644
3 months ago
Richard Fuchs
fc98a5a508
MT#65420 adjust for PTS/duration drift
...
Change-Id: Ie5893114fd67f8b7790e8e59c7201e0c68bf989a
3 months ago
Richard Fuchs
56bb1920bc
MT#65420 move media player into media
...
Change-Id: I19b52ede0eedf93fa2e8a8a63916f726e53c56ea
3 months ago
Richard Fuchs
9066365c07
MT#65420 give MP index to start/stop functions
...
Change-Id: I133d380f91a36bf360f9a8490a643e6ee0351735
3 months ago
Richard Fuchs
42b6652d5f
MT#65420 combine the two media players into array
...
Change-Id: I9cb7a0f676bd85895105e27f15b92bcb33825d10
3 months ago
Richard Fuchs
679610665b
MT#65420 make private functions static
...
Change-Id: Icfb6dfa8aed1dd8f60d720f0ffdbf454349051c9
3 months ago
Richard Fuchs
e25bcf88e8
MT#65420 pass player opts by reference
...
Change-Id: I8737808fb365392e769ca673a686ed533eec7993
3 months ago
Richard Fuchs
5ee259b234
MT#65420 unify player start code
...
Change-Id: I74e03077541e48cadff65c09a903f4ee6e48a481
3 months ago
Richard Fuchs
df7996b7a0
MT#55283 queue unsent packets when buffer is full
...
Change-Id: I17da6f1d6f742c70423756fd8827c026f9667525
3 months ago
Richard Fuchs
ffa048ba5a
MT#55283 give uring object knowledge of iov
...
Change-Id: I4e8cbdadfbb581dcd8d81e602a71a2d84e6f94b4
3 months ago