Commit Graph

832 Commits

Author SHA1 Message Date
Anthony Minessale 303a4ecf99 FS-7499: move fir and pli into the normal rtcp code so it can be bundled with a report block per the rfc 2015-05-28 12:46:51 -05:00
Anthony Minessale de4a0e7a3c FS-7500: nevermind 2015-05-28 12:46:50 -05:00
Anthony Minessale 970064294c FS-7500: refactoring 2015-05-28 12:46:50 -05:00
Anthony Minessale b0fd27bb8f FS-7500: comment debug 2015-05-28 12:46:50 -05:00
Anthony Minessale 91602e9cfa FS-7499: properly decode rtcp 2015-05-28 12:46:49 -05:00
Anthony Minessale 45898cfad7 FS-7500: better version of last commit 2015-05-28 12:46:49 -05:00
Anthony Minessale b747687bb2 FS-7500: set ssrc from frame not rtp session so the ssrc changing coded can detect a shift 2015-05-28 12:46:49 -05:00
Anthony Minessale 01fda5748c FS-7500: another round of trying to make things work 2015-05-28 12:46:48 -05:00
Anthony Minessale b8ba1a1469 FS-7500: reduce CNG frames on video and move debug from mod_fsv to the core with a flag to enable it since the raw packet is not available anymore when you set DECODED READ flag 2015-05-28 12:46:47 -05:00
Anthony Minessale 140a1c9661 FS-7500 FS-7508: shift some hacks around 2015-05-28 12:46:47 -05:00
Anthony Minessale 73b2a5ea87 FS-7500: tmp comment 2015-05-28 12:46:45 -05:00
Anthony Minessale 0cd5658caa FS-7500: another refactoring pass, temp code still in place, WORK IN PROGRESS 2015-05-28 12:46:44 -05:00
Anthony Minessale 3c29d4e8a7 FS-7500: mark places to fix later 2015-05-28 12:46:44 -05:00
Anthony Minessale 659c1e474e FS-7500: Work in progress. Added codec config params that can be set from session and made vpx codec re-init on size change. Also add periodic key frame timer 2015-05-28 12:46:44 -05:00
Anthony Minessale 365a5dd820 FS-7500: major refactoring pass. Push concepts from mod_vlc as deep as possible and flesh out api to use everywhere else. Round 2 will be to convert the bridge and other places using the same code 2015-05-28 12:46:44 -05:00
Anthony Minessale 765fff3d75 FS-7500: add support for codec control and use it to pass messages down to the codec and use it to implement keyframe reset for fir, pli and nack. Later we will expand to handle nack correctly. 2015-05-28 12:46:44 -05:00
Michael Jerris 1b322bd952 FS-7425: #resolve dhparams might not be present, causing a seg. Make sure they are there before we apply them 2015-05-04 11:23:33 -04:00
Anthony Minessale c143ef1b3d FS-7466 2015-04-29 19:18:59 -05:00
Eric Tamme b9b1b61d20 FS-7425: set dh params and call set_tmp_dh to enable PFS for DTLS-SRTP 2015-04-24 10:31:17 -05:00
Jeff Lenk 921f1a2bd2 FS-7458 2015-04-21 12:06:42 -05:00
Chris Rienzo 638e932422 FS-7434 reset jitter buffer when SSRC changes 2015-04-16 16:02:16 -04:00
Brian West 183570bd94 FS-7396: #resolve update dtls socket when socket changes on auto-adjust that changes address families and also include link local v6 addresses in approrpiate auto acls 2015-03-26 17:38:12 -05:00
Mike Jerris 5e43c6dd25 Merge pull request #170 in FS/freeswitch from ~NIMAST/freeswitch-fs-7203:rtcp-source-fraction-fix to master
* commit '5f7e111f79dd1a965aa956da7495485f52b0a1cc':
  Fix source fraction always 0 in RTCP events
2015-03-06 13:36:37 -06:00
Michael Jerris 302a339fdf FS-7294: Enable -Werror when building with clang compiler #resolve 2015-02-17 12:20:33 -05:00
Nimrod Astrahan 5f7e111f79 Fix source fraction always 0 in RTCP events
Without the value for source fraction, applications relying on RTCP events for making changes to FS behaviour or even for logging get false information.

With this change the value for source fraction is passed along in RTCP events correctly.

To my current understanding, as the value for fraction in the RTCP packet is represented by 8 bits according to the spec, calling `ntohl` on it will always zero it out. Fixed by removing the call.

FS-7203 #resolve
2015-01-27 18:13:04 +02:00
Anthony Minessale 8d599a82bc one more tweak to not jump back and forth on ice when you have 2 reachable 2015-01-26 15:33:33 -06:00
Anthony Minessale 90d3cb633c fix media reload on verto and sip re-invites 2015-01-22 03:07:50 -06:00
Anthony Minessale 95a8efb174 up the ice failover val to 3 sec 2015-01-21 01:21:31 -06:00
Anthony Minessale 46cf8a4dce fix seg in ice rtp code 2015-01-17 00:22:11 -06:00
Anthony Minessale 3e6ffbcf06 FS-7144 #resolve 2015-01-12 18:55:32 -06:00
Anthony Minessale a2b5356dae FS-7131 #comment please test 2015-01-09 21:47:28 -06:00
Anthony Minessale ba016c2850 FS-7095 #comment please test 2014-12-18 13:08:11 -06:00
Anthony Minessale cee8b30c45 set rtp_has_crypto for dtls calls 2014-12-16 10:19:43 -06:00
Anthony Minessale e783999b51 some changes to webrtc to make it work with iDoubs in rtcweb profile mode 2014-12-12 20:55:40 -06:00
Anthony Minessale d1e529aefd Add new hard_mute control to allow apps to request low level mute e.g. from the rtp stack level. Its used in mod_conference to avoid reading audio while muted and possibly reduce some transcoding load 2014-10-27 15:13:42 -04:00
Anthony Minessale 1f9025d446 FS-6926 #resolve #comment please test and reopen if necessary 2014-10-16 17:57:46 -05:00
Anthony Minessale 6bfc05b81e FS-6887 #resolve #comment new bug flag always_auto_adjust (also implicitly sets accept_any_packets) 2014-10-02 11:55:53 -05:00
Jeff Lenk 8f85b5204c vs2010 trival compiler warnings 2014-09-17 18:11:20 -05:00
Anthony Minessale f924684eff FS-6623 #resolve fix init and logging for rtcp 2014-09-15 20:08:09 +05:00
jchavanton b738775876 [FS-6623] implement RTCP report generation 2014-09-15 20:08:09 +05:00
Travis Cross 3e8e2ce151 Revert commits pushed too early
Revert "depend on fs before install"
This reverts commit 6c52217920.

Revert "removing commented work in progress on SDES and logging tunning on"
This reverts commit 6df5288f5a.

Revert "more formatting and logging tuning"
This reverts commit 0e89bbd033.

Revert "logging adjustment"
This reverts commit 764faad671.

Revert "missing host to network conversion highest_sequence_number_received"
This reverts commit 50c62cdfd7.

Revert "logging correction"
This reverts commit ea973b0b4c.

Revert "[FS-6623] implement RTCP report generation"
This reverts commit 0b7863a9b7.
2014-09-12 17:07:50 +00:00
jchavanton 6df5288f5a removing commented work in progress on SDES and logging tunning on
rtcp_init
2014-09-12 11:58:54 -05:00
jchavanton 0e89bbd033 more formatting and logging tuning 2014-09-12 11:58:53 -05:00
jchavanton 764faad671 logging adjustment 2014-09-12 11:58:53 -05:00
jchavanton 50c62cdfd7 missing host to network conversion highest_sequence_number_received 2014-09-12 11:58:53 -05:00
root ea973b0b4c logging correction 2014-09-12 11:58:53 -05:00
jchavanton 0b7863a9b7 [FS-6623] implement RTCP report generation 2014-09-12 11:58:53 -05:00
Anthony Minessale 37d7fb7888 calculate jitter percentage in jitterbuffer to factor into conditions for reducing the size when in adaptave mode 2014-09-10 04:17:01 +05:00
Anthony Minessale 151440b7e1 fix race caused by consecutive stun packets 2014-09-09 21:35:51 +05:00
Travis Cross aa1a05d0aa Help the static analyzer in `handle_ice`
Clang's static analyzer thinks we could be using `hosts` here when it
is NULL.  We probably weren't, but it's easy to see how it could think
so.  We were checking whether `from_addr` matched `ice->addr` three
times, and between the second on third time we might have modified the
`ice->addr`; however we only get there if it matched the second time,
so we could only make it not match at that point and avoid the third
branch.  We can't make it match where it did not before.

We'll simplify the logic a bit here so static analyzers (and humans)
can hopefully see this more readily.
2014-08-22 03:37:42 +00:00