Commit Graph
23 Commits
Author SHA1 Message Date
Sergey Khripchenko 200a76b2ae FS-9264 Add more logging to wait_for_silence, detect_audio and detect_silence api calls 2019-07-26 00:37:15 +04:00
Sergey Khripchenko 655c8a1a7b FS-11362 Attempt to rearrange verto socket shutdown sequence 2019-07-26 00:31:11 +04:00
Sergey Khripchenko 84aab26e65 FS-11745 Add "auto-jitterbuffer-msec" param to verto.conf.xml file 2019-07-17 20:12:04 +04:00
Sergey Khripchenko 1b430c76d5 FS-11726 New dialplan application to wait for video stream being ready (ICE and DTLS setup) 2019-07-17 19:53:11 +04:00
Sergey Khripchenko 24c3b8d91f FS-11669 Fix timeout in switch_wait_sock() and switch_wait_socklist() 2019-07-17 19:51:56 +04:00
Sergey Khripchenko 6c739b3d32 FS-11468 Try to split payload to packets evenly(with largest at the end) up to vpx_globals.rtp_slice_size,
(assume hdrlen constant across all packets of the same picture).
It keeps packets being transmitted in order.
Without it last (and thus the smallest one) packet usually arrive out of order
(before the previous one)
2019-07-17 01:14:54 +04:00
Sergey Khripchenko 921bc97ed7 FS-11189 FS-11425 Refactor vpx settings and reverse some changes 2019-07-17 01:08:36 +04:00
Sergey Khripchenko b431118857 FS-11189 Properly log VPX errors (use VPX functions/abstractions instead of internal structure fields) + log decoder errors when stream already being decoded 2019-07-17 00:53:55 +04:00
Sergey Khripchenko c546154d67 FS-11436 more granularly calculate 'samples' and modify requested 'fsp' accordingly
+ review all places where it used and reflect that 'fps' is (float)
2019-07-16 20:26:32 +04:00
Sergey Khripchenko be7c5331f6 FS-11436 RTP timestamp field incorrectly calculated based on fps 2019-07-16 20:26:24 +04:00
Sergey Khripchenko 8dd5373db4 FS-11467: [mod_verto] Properly handle poll() EINTR and separate poll()==0 / timeout case 2019-06-06 11:17:00 -04:00
Sergey Khripchenko 1000d1d8c8 FS-11467: [mod_verto] decreased logging level for log lines that are not errors/warnings 2019-06-06 11:16:52 -04:00
Sergey Khripchenko 2d24475f57 FS-11362 Fix die_errnof() macro failing to compile on mac 2018-09-06 11:57:51 +00:00
Sergey Khripchenko 75dae616be FS-11189 Rearrange VPX code to fix few bugs and make it more structured. 2018-09-06 04:24:35 +00:00
shripchenko 4a90ac8b1c FS-11363 Fix unpredictable/random zoom, when camera's video aspect ratio (a/r) equal to conference layout's tile a/r 2018-09-05 20:03:05 +00:00
Sergey Khripchenko ad3b396f9b FS-11362 Small macro tune based on James Dictos comment 2018-08-31 18:28:09 +00:00
Sergey Khripchenko e7c5e2480a FS-11364 Fix tile flicker when layout has 'overlap' and 'zoom' options
Usually tiles recalculated when new image comes in, however when 'overlap' option is in effect - tiles recalculated multiple times.
And when layout also has 'zoom' option - when image recalculated it each round zooms itself deeper and deeper, until new images comes and image resets to proper state.
This looks like flicker.

The fix is to always take for zoom calculations real image dimensions instead of previously recalculated.

HOWEVER!
There are too many math and corner cases in mod_conference, so i propose it to be reviewed by widest audience of people who wrote mod_conference!
2018-08-30 22:58:30 +00:00
Sergey Khripchenko 25682d619c FS-11201 Fix 'rtt_valid = 0;' was incorrectly placed rendering whole RTT thing void.
+ don't shoot in a leg and keep 'rtt_now' value correct (even if we clear it few lines after), because after some time it could be changed.
2018-08-30 22:58:20 +00:00
Sergey Khripchenko 91e9633ce1 FS-11362 Rearrange poll() errors handling to properly report poll hangup. Handle and log case when client sent close request. Add errno to errors where applicable. 2018-08-30 22:58:14 +00:00
Sergey Khripchenko 523db20068 FS-11362 FS could close client verto connection due to incorrect handling of SSL function return values (when SSL layer need to communicate with client on its own, f.e. keys re-negotiation) 2018-08-30 22:58:07 +00:00
Sergey Khripchenko 2dcfc27963 FS-11360 Fix FS degradation over time in DTLS layer (especially if outdoing packets rate higher that incoming)
When we handle DTLS layer in do_dtls() and there are no incoming packets yet - we still call BIO_write() with NULL buffer and it is an error and BIO_write() will stuck for a long time in libssl/libcrypto error subsystem.
(that also possibly relates to fact that libssl/libcrypto init/deinit/error-handling is broken in general in FS, however that is another big issue)
2018-08-30 22:58:02 +00:00
Sergey Khripchenko 94038f3c12 FS-11056: [core] fix RTCP lost calculation
RTCP/Receiver Report/lost field is a _signed_ 24bit integer and it could be negative (in case of UDP duplication)
+ any negatives now threated as huge uint32_t
+ set this field properly on __BIG_ENDIAN
+ correctly read this value in received RTCP on all arches
2018-07-24 07:21:41 +00:00
Sergey Khripchenko 2766eaf49e FS-9225: [mod_sofia] Allow to force SIP REGISTER Expires: to be within configured range.
Allow to force SIP REGISTER Expires: to be within MIN and MAX values.
Not just to force it to one specific value using "sip-force-expires".

New profile parameters:
  "sip-force-expires-min"
  "sip-force-expires-max"
2016-06-03 05:30:01 -07:00