[Live-devel] Raw MPEG2-TS to RTP multicast

Sylvain Fabre sylvain.fabre at inpixal.com
Fri Mar 11 01:05:58 PST 2016


Le vendredi 11 mars 2016, 11:21:48 Ross Finlayson a écrit :
> > But when doing this, i am getting the following error "BasicTaskScheduler::SingleStep(): select() fails: Bad file descriptor". I have no idea why i am getting this. An indea of the root cause ?
> 
> That error message means that the socket number in the “Groupsock” object is invalid - perhaps because the “Groupsock” object itself has become invalid.  In the code that you gave earlier, you declared your “Groupsock” object ‘statically’ - i.e., on the stack.  Because you then pass a pointer to that object to a separate object that was created dynamically - i.e., on the heap - you need to make sure that the “Groupsock” object remains in scope when you later call “doEventLoop()".

Thanks !!!! It works now :)

> 
> 
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> 
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

-- 
=======================
Sylvain FABRE
09 72 11 30 24
06 30 12 72 34
=======================




More information about the live-devel mailing list