Richard Fuchs
e1825e3577
TT#50652 ensure consistent RTP timestamp across media restarts
Change-Id: I96b72dd13c13728b4f401f42951fbc231cc36705
7 years ago
Richard Fuchs
8d9a0d247c
TT#50652 remove already enqueued packets when media is stopped
Change-Id: I0fd2a7100d331d341518888d2c591dbf84b2599d
7 years ago
Richard Fuchs
7e85d1a935
TT#50652 keep existing SSRC context when starting another playback
Change-Id: Ia4e64c39f870d0481847a67dd9c8dac1531e822d
7 years ago
Richard Fuchs
223996bc58
TT#50652 add documentation for media playback capability
Change-Id: Id9fb0a095f1c54a265f3a30f0a38542db06d46b4
7 years ago
Richard Fuchs
7f5e16d3da
TT#50652 add stop_media call
Change-Id: I1b18a41d4b97ccbb83499873e50a797f846a8602
7 years ago
Richard Fuchs
7da2b523a7
TT#50652 return media duration to SIP proxy in play_media response
Change-Id: Ib09519f960b37ca41a554aa2779f71c91ef9b49d
7 years ago
Richard Fuchs
e1e6fd4297
TT#50652 add explicit libav error reporting
Change-Id: Ib4bc3e89e54a1d4478dd32f7947dadeb262c18ec
7 years ago
Richard Fuchs
5b0a0105ef
TT#50652 support playing back media files from database
Change-Id: Ib21b6605553f67d6892ec8e2c75a7b0fca40936e
7 years ago
Richard Fuchs
831946a8d4
TT#50652 fix compilation for with_transcode=no
Change-Id: Ie65827be7e27a6f77019a983a1ce131c11b694d3
7 years ago
Richard Fuchs
3bdad88063
TT#50652 create timer to gradually send packets without jitter
Change-Id: I5b28f7514f54c6df9f3ee607e3bca76274b431b3
7 years ago
Richard Fuchs
d639223bee
TT#50652 add logging info to media_player timer runs
Change-Id: Iac4a1b2de1625ed9419bc76f22eea8167e55951f
7 years ago
Richard Fuchs
8874b4a31f
TT#50652 use random RTP TS when playing back media
Change-Id: I7b97877b0c6b7119cbfc6865f947895168af18fc
7 years ago
Richard Fuchs
21535faea6
TT#50652 support playing back media from memory stream
Change-Id: I400c4edbda4633abcff07319ce8cd0609b0021b1
7 years ago
Richard Fuchs
4aaccca6ee
TT#50652 separate out media playback routine
Change-Id: I35e4071645ff2c0e16a9901ff3d65516dda1907e
7 years ago
Richard Fuchs
92b08d899c
TT#50652 add media playback capability
Change-Id: I935812639e4f42cd89c4ecf02f5ae1a9a8243a65
7 years ago
Richard Fuchs
6ba60d5b54
TT#50652 split out packet dequeuing and sending function
Change-Id: I303bcfb8869699554ff7381c68767c56fdcdda87
7 years ago
Richard Fuchs
3374254899
TT#50652 split out codec payload type init function
Change-Id: Ifd71439179925961f25c828132d7afb207a4f344
7 years ago
Richard Fuchs
83965bdb1f
TT#50652 infrastructure to support reading/playing of media files
Change-Id: I8212f5c74bcb9557d41f80ef3a1595f53bafde8a
7 years ago
Richard Fuchs
d96dbdea17
TT#50652 split timer thread functions into separate file
Change-Id: I445f3e2556ce647bf7e245e9612f4babcf04e388
7 years ago
Richard Fuchs
cfe6f87c8d
TT#50652 split timeval_cmp_ptr into function
Change-Id: I803e25bc3dc631d9eb05223d61708e9bfc5ca9de
7 years ago
Richard Fuchs
0cccae445f
compile fix for with_transcoding=no
Change-Id: I6cf6b7d7bc60b21a74be2a7c6c6d11b13b954a04
7 years ago
Richard Fuchs
e3ec97f858
TT#50652 add -Wstrict-prototypes everywhere
Change-Id: Ic5b5fcb892a8f70196478f8622d956bdea373422
7 years ago
Richard Fuchs
8f3c309c7f
fix always-transcode not being honoured when only codec-mask was used
reported in #664
Change-Id: I2cdfe405c61d48513a01393c5306fe4c875325ee
7 years ago
Richard Fuchs
6092c91ae4
TT#50652 fix possible sequencing bug while resampling
Change-Id: I5e0baec70892cbef9a9a036285379fe75ee3eba0
7 years ago
Guillem Jover
1f10dc30d5
TT#49106 Move the usage information into a new man page
Change-Id: I837d65c624cf1cabad543236b0a4e36f57894bab
7 years ago
Richard Fuchs
da5cacc965
TT#50652 add YCM config for include/
Change-Id: I7c1cb9cd4d8ef97166c8aa1ba470e5fef5f59863
7 years ago
Richard Fuchs
ed5af2df00
TT#50652 add YCM helper macro for CSH hashing
Change-Id: I498776539a19f0e5b529b91640af20f8cc3ac948
7 years ago
Richard Fuchs
497c2d6a8d
TT#49104 move RTP sequencing into SSRC context
Detect and handle RTP seq resets while transcoding and provide
consistent output seq
fixes #664
Change-Id: I063bd9432f253fde25e90cdeb4e3460a882f7778
7 years ago
Richard Fuchs
717021a29c
add ssllib to gitignore
Change-Id: I28d25e1fffa72e4b9f8c179d341873963b67b93d
7 years ago
Richard Fuchs
3b28460507
TT#52651 Squashed commit of the following:
commit 2029144368
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 21 13:12:50 2019 -0500
TT#52651 switch TCP to TLS
Change-Id: Iab6b05d3b5c88553cbd6f531f3189084d9e71995
commit b28e718ee4
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Feb 22 09:20:54 2019 -0500
TT#52651 generalise streambuf interface
Change-Id: I7d5ab8ffe13e52d4dbb1901531cc13fcc173d60d
commit cb2dbd2a92
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 19 09:32:56 2019 -0500
TT#52651 add start/stop forwarding commands and party selection logic
Change-Id: I8ef7e288d3a3e485bd2fa14e1a2407a0c8d94bac
commit 442c48f627
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 15:43:23 2019 -0500
TT#52651 produce output for TCP forwarding feature
Change-Id: I18543921577faf655679829684f5af46c0af5054
commit 2ef8028eb2
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 10:18:21 2019 -0500
TT#52651 make recording to output files optional
Change-Id: I12c288b965641352658ce3b499c2ee90593e1322
commit 10a58cd7a0
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 16:02:16 2019 -0500
TT#52651 strip streambuf into lib and include in recording daemon
Change-Id: I1f6638961e9e767063e0b4e6b5d55d88799366d3
commit 9d3bb5bffc
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 15:40:12 2019 -0500
TT#52651 extract/move unrelated old legacy decoder struct members
Change-Id: Iffd79b43180c30a9e128a460f7ba85ba49dedeaf
commit 1bc38e4201
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:43:42 2019 -0500
TT#52651 config options for forwarding option
Change-Id: Ieaa2ee0e55a0c531158174bc6a534738a64dbee6
commit 06d61cd3dd
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:29:52 2019 -0500
TT#52651 move socket.[ch] into lib/
includes necessary re-shuffling of additional code pieces
Change-Id: I74b314ab5936ac8a0eeaff94e084617b59b28d79
Change-Id: I025e8ec86b90ede79565542dff57ec1559d04200
7 years ago
Alexey Vasilyev
0c9bb7c440
Rename crypto suits according to RFC6188
7 years ago
Richard Fuchs
4266f8e542
move SDES-no handling into __sdes_accept
This fixes SDES-no being honoured also for SRTP>RTP transcoding cases
additional fix for #661
Change-Id: I229f89c8b3c6a8e485190d67162e95eee387e307
7 years ago
Richard Fuchs
415af36ae6
don't add rtpmap or mid attributes for deleted/silenced streams
fixes #686
Change-Id: Ie9a155072a8b6acb8edcf59a5dd164f78a503616
7 years ago
Richard Fuchs
0c559f5860
Add missing SDES accept routine
When we receive an incoming SDES parameter, we must match them against the
previously sent outgoing SDES parameters, choose the one that matches
what we just received and eliminate all others. This is a no-op if none
were sent previously (original offer).
Issue only appears in a re-invite when the first offered crypto suite is
accepted.
fixes #631
Change-Id: I4991d0aaf0b29c1ba66045ed0e5281fc18c8af2e
7 years ago
Richard Fuchs
5c556ef4cf
don't abort on failed EPOLL_CTL_MOD
EPOLL_CTL_MOD is used to monitor an fd's writeable status when write was
blocked, but due to a race condition it's possible that the same fd gets
closed by another thread at the same time, causing the EPOLL_CTL_MOD to
fail. As this is now expected, handle it appropriately.
fixes #684
Change-Id: I1ddf16fdbf0fe3e98b4d908544735b823c4cf539
7 years ago
Richard Fuchs
b593d57e21
TT#37400 do not answer with ICE attributes if no ICE was offered
fixes #561
Change-Id: Ia660f19109404f8edc1dd5c143e797a82d25276d
7 years ago
Richard Fuchs
e1d6c83319
ignore transcoding options in non-offer messages
part of the fixes for #681 (and encountered elsewhere)
Change-Id: I15752ad3183cc55d677eca80e11b000e0b069290
7 years ago
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
0e129eda08
TT#49600 fix offered crypto suite not being dropped via SDES-no
fixes #678
Change-Id: I80ca6c268b7397e7901017a4a7000dd2b2b66bd6
7 years ago
Richard Fuchs
c80f55b85a
TT#49600 add debug log output for SDES negotiations
Change-Id: Ifb49d202bfa691cba63f86192e5730f1446ba1b9
7 years ago
Richard Fuchs
aaf8cbd525
TT#49350 eliminate stray scheduling warning
Change-Id: I84a13cdca6bf85de8d3fd8b086de6f57287b7b15
7 years ago
Guillem Jover
690bc91337
TT#49106 Fix typos
Change-Id: Ife08b36a94b5f6b525f18f359bca1c18bfe46305
Warned-by: lintian
7 years ago
Richard Fuchs
9e4d140e7b
TT#49045 add new flag to leave media direction attrs unchanged
Change-Id: I2dcafa3be9f8a0dfd7c1cf3e6046dabe9fa5bbee
7 years ago
Yasin CANER
e8771d309d
daemon makefile : added if statement for g729
added if condition for g729 codec . After installation bcg729 library from git repo , it helps to find right path.
7 years ago
Richard Fuchs
881e0dc2dc
TT#48800 add option to disable individual SDES crypto suites
closes #661
Change-Id: I3556977246d6e15bf134755e1d699e9165735886
7 years ago
Richard Fuchs
810bda1486
TT#48800 create codec hash tables only on demand
Change-Id: I255d6ed2b2bc650115f008d90baa0ebbaa524f68
7 years ago
Richard Fuchs
98de5697e6
TT#48650 use constant string hashing for string lookups
To avoid repeated strcmp()s and make use of switch()'s optimised binary
lookup, we employ a second build step that preprocesses certain .c files
and uses gperf to substitute pseudomacros with their respective constant
hash value.
Change-Id: Id89c4728a0fc7aa911691d4dd1ba8e7b3916a983
7 years ago
Richard Fuchs
9e6199c7b9
don't skip incomplete monologues for `query`
Change-Id: I54b957b08440d7d31b26ef7fe99a31073171ae82
7 years ago
Richard Fuchs
c61d7f129e
add new `full rtcp attribute` flag
closes #668
Change-Id: I1ee13d4121d0aa6dff46470327a6caba9b631d7d
7 years ago