Hi,

I'm adapting live555 to stream from a live source and using
testMPEG2TransportStreamer.cpp and
http://www.live555.com/liveMedia/faq.html#liveInput as reference.

I got all necessary code to startup a RTP server and start playing and put
on my source code.

As explained on the FAQ, i substitue *ByteStreamFileSource and **
MPEG2TransportStreamFramer* layers by the DeviceSource one.

Using DDD to degub a segmentation fault bug, i found thats is caused by a
call to socketErr() made by writeSocket() ( more precisely, "*if
(setsockopt(socket, IPPROTO_IP, IP_MULTICAST_TTL,(const char*)&ttl, sizeof
ttl) < 0)" *line call).

The only two functions my app call by DeviceSource class are
DeviceSource::doGetNextFrame() and DeviceSource::deliverFrame(), as i can
see in DDD backtace feture.

In the first one i get news buffers with TS data to be streamed. At the
second i set pointers to data content and buffer size (as required by
template).

How could DeviceSource changes impact on socket issues??

Thanks,

-- 
Att,

Rafael Madeira
Idea! Electronic Systems
www.idea-ip.com
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to