[libav-devel] [libva-devel] [PATCH] avformat/srt: add Haivision SRT protocol

Sven Dueking sven at nablet.com
Wed Mar 21 07:27:06 CET 2018



> -----Ursprüngliche Nachricht-----
> Von: libav-devel [mailto:libav-devel-bounces at libav.org] Im Auftrag von
> Luca Barbato
> Gesendet: Montag, 19. März 2018 15:44
> An: libav-devel at libav.org
> Betreff: Re: [libav-devel] [libva-devel] [PATCH] avformat/srt: add
> Haivision SRT protocol
> 
> On 19/03/2018 15:16, Luca Barbato wrote:
> > On 19/03/2018 15:07, Sven Dueking wrote:
> >> Thanks for your quick feedback, I will double check this and come
> >> back to you asap.
> >
> > To give you a little more context I tested with:
> >
> > ./avplay -mode listener srt://localhost:12345
> >
> > ./avconv -filter_complex testsrc -f mpegts srt://localhost:12345
> >
> > If I switch to SOCK_DGRAM I receive a "Connection does not exist."
> error.
> >
> 
> And once I add srt_accept() in the right place it seems working just
> fine (tree updated, I'll fold everything in a single patch one you
> confirm I'm not making mistakes)
> 
> How is the rendez-vous mode should be tested?
> 
> lu

Hi Lu,

Thanks again, your changes looks good.

Regarding the rendezvous mode, the following command line works for me:

LD_LIBRARY_PATH=/usr/local/lib ./avconv -filter_complex testsrc -f mpegts srt://localhost:12345?mode=rendezvous

also, patch from attachment is needed in order to make rendezvous mode functional

(otherwise, without patch, the following error appears: [srt @ 0x20a4220] Operation not supported: Cannot call connect on UNBOUND socket in rendezvous connection setup.)

> 
> _______________________________________________
> libav-devel mailing list
> libav-devel at libav.org
> https://lists.libav.org/mailman/listinfo/libav-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rendezvous-requires-bind.patch
Type: application/octet-stream
Size: 1001 bytes
Desc: not available
URL: <http://lists.libav.org/pipermail/libav-devel/attachments/20180321/899d1faa/attachment.obj>


More information about the libav-devel mailing list