Richard Fuchs
744d6a46ff
add codec-set option
Codecs that were implicitly accepted for transcoding had no option to
set their parameters (such as bitrate) for encoding. The codec-set
option adds this.
fixes #681
Change-Id: Ib238eb73a507af168c366579abc80da07250fe88
7 years ago
Richard Fuchs
ee01f15852
fix non-default encoder bitrate not being applied
Bitrates specified in codec-transcode-... options were applied to the
decoder created during the offer. The matching encoder only gets created
during the answer phase, at which point the specified bitrate must be
copied from the decoder.
fixes #681
Change-Id: Idc6a16a4493908d78bb0b48ae590aba046152af0
7 years ago
Richard Fuchs
0bf3eab4d6
convert codec ops to no-op for legacy control protocols
fixes #652
Change-Id: Ie6bc6529e43e3027cdcfc6cb22275b8b0145b69a
7 years ago
Richard Fuchs
326c6a5818
TT#43557 augment DTMF blocking to support directional blocking
Change-Id: I5d77b437fe746ac5f3b6c15d327755f9349b61d8
7 years ago
Richard Fuchs
04a83027a0
TT#43557 implement media blocking
Change-Id: I336cf7203c1236b3e596310690a89ce1c3fd8bf4
7 years ago
Richard Fuchs
e67b9c40da
TT#43556 support blocking of DTMF event packets
Change-Id: I7ef43ddb254b1583c2dc69b44a13b978eff15510
7 years ago
Richard Fuchs
d4afb14e11
fix DTMF packet allocation size
probably fixes #583
probably fixes #587
probably fixes #585
probably fixes #594
Change-Id: I6147acd4c539065142d15ce12b1a33993e1c0bec
7 years ago
Richard Fuchs
d26b11ffb0
fix compilation for with_transcoding=no
Change-Id: Ibb63f51b909052d81ebf1865335a428a421d856e
8 years ago
Richard Fuchs
08fc00906d
fix segfault with DTMF logging and implicit payload types
fixes #571
Change-Id: Id2b575ff555d7968006309bcb5b5d6bbac2ed1e7
8 years ago
Richard Fuchs
a9ec666cb4
TT#38350 implement sending DTMF events to syslog
Change-Id: I82fbdc7da6cbe2505ef1c98dd3c45b63c4461994
8 years ago
Richard Fuchs
dd34574669
TT#38350 keep track of the most used RTP payload type
Instead of just remembering the last seen RTP payload type, this adds a
tracker that keeps track of the last 32 seen payload types and keep the
list in order of how often each type was seen.
Change-Id: I062a43b7bfc9413b755dca548d72953ff8245477
8 years ago
Richard Fuchs
4eb80da836
compile fix for with_transcoding=no option
fixes #568
Change-Id: I97fba6bb767a572d6b701e274176913270e55f16
8 years ago
Richard Fuchs
bfac341aec
shut down transcoding engine when it's not needed
closes #562
Change-Id: I3c96cdcdeea8ee815f0ae7e40a4caccbfee9977e
8 years ago
Richard Fuchs
8562bdee70
support new `asymmetric codecs` flag
Change-Id: I244b3576be19658ecc2af353e427e95aea4fca70
8 years ago
Richard Fuchs
f1b81b649e
simplify parameters passed to codec_rtp_payload_types()
Change-Id: I8a9147bb527b3084ed9f4acfa82868fc26b0d8c2
8 years ago
Richard Fuchs
e404f18975
TT#37157 fix missing G722 RTP TS output scaling
fixes #560
Change-Id: Ief961a1f0e3d7fb1bd07e79eab1ceb54b5d131be
8 years ago
Richard Fuchs
95a7cc6cfb
eliminate redundant function argument
Change-Id: I5bff4436072c2855590e08d90c5098af3abceb93
8 years ago
Richard Fuchs
2f5d792aae
TT#36301 add `always-transcode` flag
closes #527
Change-Id: I0d8192cf93c49823f35a6307ccd8c77842fb51dd
8 years ago
Richard Fuchs
5c3d39748b
TT#35456 fix regression from 895fa9605
Adding a fixed length to the size of the buffer requested from the
packetizer was wrong, as this is not just the length of the working
buffer but also the size of the buffer to be returned for sample stream
(PCM) codecs. Instead, use the codec definition's bit per sample spec
to make AMR provide a larger buffer than the bare frame.
Change-Id: Ibff59b21d491e3327cc9e907e6515379a8ca9188
8 years ago
Richard Fuchs
7de16e104c
TT#14008 fix codec mask logic if no masking info is present
fixes a glib warning
Change-Id: I8c79231e52a88b9fd2af7c3acf1be6b994e86876
8 years ago
Richard Fuchs
895fa96054
TT#35456 implement RFC 4867
Fixes AMR transcoding. Some features yet unsupported.
Fixes #498
Change-Id: I1075a539a7a7dab9106df9ef49b8bda2484b97ec
8 years ago
Richard Fuchs
bf66d7caf7
eliminate stray glib warning
Change-Id: Ib7bf097274fc9e9ab760bcc0552534e0da5a9129
8 years ago
Jerzy Ptak
a44a9bf9f0
fixing memory leaks
8 years ago
Richard Fuchs
14100b0b8a
use reference counting on SSRC objects
possibly fixes #488 and #482
Change-Id: Ib68e456b9322836b153c9fd0e59c3556378557ae
8 years ago
Richard Fuchs
32e0e2cf25
leave room for SRTP auth tag on transcoded packets
closes #480
Change-Id: I353b2da1f52974d93c20f0ab4be25b9baa41765c
8 years ago
Richard Fuchs
0db5e226e5
fix payload type tracking for transcoding situations
closes #476
Change-Id: I6a038136e22b23efe422eb40caa0f3e10359e5d1
8 years ago
Richard Fuchs
65c75c5177
fix segfault regression from 7b65dedb
Change-Id: I38f4b39b34c72ca2a9b70fae4eaac6bf27286312
8 years ago
Richard Fuchs
7ee73fe7f9
special handling for strip=all together with transcode, and mask=all
Change-Id: I1c54d3491149adacdb11675054f823eca576d707
8 years ago
Richard Fuchs
7b65dedb95
restructure codec_make_payload_type to fix compilation w/o transcoding
closes #468
Change-Id: I5f8c5e318e8726bddd69120e258c7d5bb0ee3687
8 years ago
Richard Fuchs
4d586f2ec0
TT#28163 fix recording-daemon sample format selection for mixed output
reported in #462
Change-Id: Iea7f1e421d15375768a1f76dd36e5ef7726f66b8
8 years ago
Richard Fuchs
bc30929192
TT#32210 add codec masking option
Change-Id: I05f2bde978f628d398dd8046815fcfc3d5b42de2
8 years ago
Richard Fuchs
9147d5e438
TT#32983 support transcoding options in redis (re)store
Change-Id: I8552743a5ec48b6d4464e8a2c4acd1c9bf11f02a
8 years ago
Richard Fuchs
65d4106d98
add missing header files to fix compilation
closes #457
Change-Id: Iaa26da810fa11adb970ae25409ade4ad29712200
8 years ago
Richard Fuchs
25037a92ac
TT#31197 G.729 packetizer
Change-Id: If5c87dc08e5ffa8c85e024c5d091f7fce7f84cec
8 years ago
Richard Fuchs
9eb9a2f421
TT#31197 include bcg729 build support
Change-Id: I3862c0b9b8010699e6a49f749b38568d08103840
8 years ago
Richard Fuchs
83784d492c
TT#31197 separate out libavcodec specifics
Change-Id: I4f389226320fd8a7930168a4fb885ba214759743
8 years ago
Richard Fuchs
61d5505740
TT#31199 set bitrate for G.723.1
Change-Id: Ia82411c9205d63b2d63e40ece480b1d42b53b152
8 years ago
Richard Fuchs
0636b083dc
TT#31700 implement payload-type specific passthrough kernel forwarding
Change-Id: I14d33b976933e8198720c1323e38af85f4f6eed7
8 years ago
Richard Fuchs
126a69f29c
TT#28163 logging and documentation improvements
Change-Id: Ib82b80c9ddcf557cd5ab6f99e693a5234471b1ac
8 years ago
Richard Fuchs
10c852b204
TT#31950 add compile-time switch to disable transcoding features
Change-Id: Ice0c019b8a07d4c941d14f47021dbb7b0eb68d3c
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
5d67605535
TT#31403 decouple RTCP AVPF filtering from crypto stuff
Change-Id: I99b2b5720f1012b59be90e110b6ed7902826a861
8 years ago
Richard Fuchs
368312a4f5
TT#31403 keep local packet stats for RTCP output/rewriting
Change-Id: Ib086bbacf5613e1480bfb9050612163152e24b28
8 years ago
Richard Fuchs
159729ad0d
TT#31403 move SSRC mapping out of codec handler
Change-Id: Id5babcef6440f40e45e7e23afc54398a39093a3f
8 years ago
Richard Fuchs
7986ca0860
TT#30900 support specifying codec parameters for transcoding
Change-Id: Ifac093cfba74a7cfdf1ba22209d608e04fed8c10
8 years ago
Richard Fuchs
a4a0e34ded
TT#31408 distinguish between codec types
Change-Id: I8c7331908fe4a105d9f9139a5f9867b6ae43a646
8 years ago
Richard Fuchs
2e43b47305
TT#31409 check codec support only once during startup
Change-Id: I8eacd1f62cc1273707b4c4d1046918225e1b6957
8 years ago
Richard Fuchs
71b3762f13
TT#30901 use hash table to look up RFC specified codecs
Change-Id: I471dc77d0c4bdbdf66dc4b021d77202ec0ddbb39
8 years ago