[vlc-commits] access_out: srt: refactor to support connection recovery
    Justin Kim 
    git at videolan.org
       
    Fri Apr  6 11:21:09 CEST 2018
    
    
  
vlc/vlc-3.0 | branch: master | Justin Kim <justin.kim at collabora.com> | Wed Mar 28 19:29:44 2018 +0900| [7462ce24a086c46036894e1159a0e812b038cb6e] | committer: Jean-Baptiste Kempf
access_out: srt: refactor to support connection recovery
This is a refactoring code to support SRT connection recovery.
While doing this work, SRT modules support new features comparing
to the previous ones.
 - Connection Recovery
   When lost a SRT connection, this module can detect and try to re-connect.
 - Interruptible by SRT APIs
   'srt_epoll_wait' will be interrupted when all socket descriptors
   are removed from its montoring list. Fortunately, SRT modules are using
   only one socket.
 - Platform Independent
   Now, SRT modules no longer require to use a pipe. Therfore, from this version,
   SRT modules can support Win32 platforms.
Based on code from:
Roman Diouskine <rdiouskine at haivision.com>
Signed-off-by: Justin Kim <justin.kim at collabora.com>
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
(cherry picked from commit 867f005c508b1d38058d38761e5ca9273bed3a82)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=7462ce24a086c46036894e1159a0e812b038cb6e
---
 modules/access_output/Makefile.am |   1 +
 modules/access_output/srt.c       | 396 ++++++++++++++++++++++++--------------
 2 files changed, 249 insertions(+), 148 deletions(-)
Diff:   http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commitdiff;h=7462ce24a086c46036894e1159a0e812b038cb6e
    
    
More information about the vlc-commits
mailing list