summaryrefslogtreecommitdiff
path: root/ext/srtp
Commit message (Collapse)AuthorAgeFilesLines
* srtp: Fix critical warning trying to retrieve SSRC from a non fb messageSantiago Carot-Nemesio2015-10-231-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=756876
* srtpdec: skip padding when mapping RTP packetsMiguel París Díaz2015-10-201-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=756653
* Revert "srtpdec: Add support for buffer list"Sebastian Dröge2015-08-131-141/+1
| | | | | | | | | This reverts commit ff11a1a8a0c685d2edd0e06c0071cbb94f2cb663. It can't be assumed that all buffers in a buffer list have the same SSRC or are RTP or RTCP only. It has to be checked for every single buffer, and one basically has to do the processing that is done by the default chain_list implementation.
* srtpenc: do not check input buffersMiguel París Díaz2015-07-241-57/+0
| | | | | | With this we avoid an unnecessary and considerable overhead. https://bugzilla.gnome.org/show_bug.cgi?id=752774
* srtpdec: Add config for the replay window sizeMiguel París Díaz2015-06-302-1/+66
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=751729
* srtp: Allow getting ssrc of more package types than RR and SRJose Antonio Santos Cadenas2015-06-051-0/+6
| | | | | | This allows decrypting reduce size packages. See RFC 5506 https://bugzilla.gnome.org/show_bug.cgi?id=750326
* srtpenc: fix failure return values from create_session()Tim-Philipp Müller2015-05-131-2/+2
| | | | | | | | create_session() returns an err_status_t with err_status_ok=0 and err_status_fail=1, so returning TRUE/FALSE is not quite right. https://bugzilla.gnome.org/show_bug.cgi?id=749304
* srtpenc: fix over unlockingMiguel París Díaz2015-05-131-2/+0
| | | | | | | Called should call function with lock, and is also responsible for unlocking it later. https://bugzilla.gnome.org/show_bug.cgi?id=749304
* srtpdec: Actually set the caps on the srcpad instead of just calling the ↵Sebastian Dröge2015-05-061-4/+4
| | | | | | default event handler for the sinkpad Fixes up dafa11b9d21d06a0273007628a2a0bb4d7858658
* srtpdec: Make sure to send caps events downstream before any segment eventsSebastian Dröge2015-04-301-0/+16
| | | | | | | | Upstream might not give us a caps event (dtlssrtpdec) because it might be an RTP/RTCP mixed stream, but we split the two streams anyway and should report proper caps downstream if possible. Fixes "sticky event misordering" warnings with dtlssrtpdec.
* srtpdec: Add some more debug outputSebastian Dröge2015-04-131-0/+3
|
* srtpdec: Add support for buffer listJose Antonio Santos Cadenas2015-03-191-1/+141
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=746387
* srtpenc: Do not drop all buffers in buffer list if one failsJose Antonio Santos Cadenas2015-03-191-24/+66
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=746387
* srtpdec: Separate buffer encoding functionality into a different functionJose Antonio Santos Cadenas2015-03-181-30/+52
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=746387
* srtpenc: Add support for buffer listJose Antonio Santos Cadenas2015-03-181-1/+104
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=746387
* srtpenc: Add missing locksJose Antonio Santos Cadenas2015-03-181-11/+21
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=746387
* srtpenc: Split chain functionality so it can be reused for buffer listJose Antonio Santos Cadenas2015-03-181-41/+84
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=746387
* srtpenc: Improve memory management on chain functionJose Antonio Santos Cadenas2015-03-171-7/+4
| | | | | | Avoiding copy the buffer twice, one while mapping and other with mencpy https://bugzilla.gnome.org/show_bug.cgi?id=746356
* srtpenc: Fix typo in logJose Antonio Santos Cadenas2015-03-171-1/+1
|
* srtpdec: fix rtp/rtcp sink event memory leakAleix Conchillo Flaqué2014-11-201-2/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=740451
* srtpdec: Trivial documentation fixArun Raghavan2014-10-301-1/+1
|
* srtpdec: Add support for RTP/RTCP mixing if data arrives on RTCP padYouness Alaoui2014-08-211-10/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=734321
* gstsrtpenc: unref event when neededMiguel París Díaz2014-06-181-0/+1
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731768
* srtpenc: improve property commentsWim Taymans2014-06-181-2/+5
| | | | | | | Add a Note to the allow-repeat-tx property because it is potentially insecure when used incorrectly. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731714
* gstsrtpenc: add allow-repeat-tx propertyMiguel París Díaz2014-06-182-1/+17
|
* srtp: add support for rollover counters and replay protection window sizeAleix Conchillo Flaqué2014-06-034-3/+107
| | | | | | | | | | | We add a new signal, get-rollover-counter, to the SRTP encoder. Given a ssrc the signal will return the currently internal SRTP rollover counter for the given stream. For the SRTP decoder we have a new SRTP caps parameter "roc" that needs to be set when a new SRTP stream is created for a given SSRC. https://bugzilla.gnome.org/show_bug.cgi?id=726861
* srtpdec: Don't reset stream if the key hasn't changedOlivier Crête2014-05-061-10/+36
|
* srtpdec: Add "remove-key" action signal to remove a single keyOlivier Crête2014-05-062-2/+23
| | | | | Removing all the keys can be a problem as it also resets the various counters, so instead add an option to remove a single key.
* srtpenc: Use %u in templates to match rtpbinOlivier Crête2014-05-061-12/+12
|
* srtpdec: Remove unused fieldOlivier Crête2014-05-061-1/+0
|
* srtpenc: Add config for the replay window sizeOlivier Crête2014-05-022-1/+20
|
* srtpenc: Remove unused object membersOlivier Crête2014-05-021-5/+0
|
* srtpenc: Remove useless structureOlivier Crête2014-05-021-73/+41
| | | | Remove now useless structure
* srtpenc: Remove ssrc parsing from streamOlivier Crête2014-05-021-12/+10
| | | | It's no longer used
* srtpenc: Remove SSRC from signal, it's meaninglessOlivier Crête2014-05-021-3/+2
|
* srtpenc: Set the SRTP key as a shared key for all SSRCsOlivier Crête2014-05-022-34/+15
| | | | This is already how it was used.
* srtpdec: Only clear streams if they have been createdOlivier Crête2014-05-011-2/+2
|
* srtpdec: Use object debugOlivier Crête2014-05-011-1/+1
|
* srtpdec: fix assertion checking ssrc from rtcp packetsAleix Conchillo Flaqué2014-04-121-2/+5
| | | | | | | | rtcp_buffer_get_ssrc is called even with RTP buffers. this means we might end up with an exception and not find any valid RTCP packet type and thus hit GST_RTCP_TYPE_INVALID. we now take care of this. https://bugzilla.gnome.org/show_bug.cgi?id=727512
* srtp: remove dead assignmentVincent Penquerc'h2014-04-091-1/+1
| | | | Coverity 1197707
* srtpenc: unlock object lock before posting errorWim Taymans2014-03-251-21/+12
| | | | | Posting an error with the object lock will deadlock. Rework the code a bit to make things more simple.
* srtpenc: unref caps after gst_query_set_caps_resultAleix Conchillo Flaqué2014-03-011-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=725412
* srtpdec: Fix comparison compiler warningSebastian Dröge2014-02-081-2/+2
| | | | | error: comparison of constant -1 with expression of type 'GstSrtpCipherType' is always false
* srtpdec: Fix GstCaps memory leakMiguel París Díaz2014-01-031-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721382
* srtp: add 256-bit key supportAleix Conchillo Flaqué2013-12-134-21/+85
| | | | | | | | | | | | | * ext/srtp/gstsrtp.[ch]: added GST_SRTP_CIPHER_AES_256_ICM to GstSrtpCipherType and new function cipher_key_size. * ext/srtp/gstsrtpenc.c: maximum key size is now 46 characters (14 for the salt plus the key). If different ciphers are chosen for RTP and RTCP the maximum needed key size is expected. * ext/srtp/gstsrtpdec.c: minor documentation updates. https://bugzilla.gnome.org/show_bug.cgi?id=720434
* srtpenc: Set the first session flag to false once one is createOlivier Crête2013-11-191-0/+2
| | | | | | Otherwise it always thinks it's the first session. https://bugzilla.gnome.org/show_bug.cgi?id=711495
* srtpdec: Make sure that stream-id/caps/segment are sent before buffersOlivier Crête2013-11-192-12/+108
| | | | | It may be possible that only one of the two sink pads is linked in that case, the events need to be created from the other pad.
* srtpdec: Pass is_rtcp to setcaps functionOlivier Crête2013-11-191-1/+1
|
* srtp: Implement SRTCP demultiplexingOlivier Crête2013-11-191-12/+22
| | | | | Separate multiplexed RTP and RTCP if they arrive on the rtp_sink pad.
* srtpdec: fix buffers being dropped due to shadowed variableTim-Philipp Müller2013-08-161-2/+1
| | | | | | Spotted by gstblub@gmail.com. https://bugzilla.gnome.org/show_bug.cgi?id=706091