[Live-devel] AMRInterleaver has MIMEType() "binary/octed-stream" and InitiateByMediaType() fails ?

2010-06-10 Thread Adam Mich
I'm unable to receive AMR audio using InitiateByMediaType( "audio/AMR"). The reason is readSource(), which is AMRInterleaver in this case, has no MIMEType() redefined. It returns a generic type, something like "binary/octed-stream" instead "audio/AMR", and function fails at this line : // Make s

Re: [Live-devel] Problems with RTSPClient

2010-04-02 Thread Adam Mich
> Instead, you should be using a single event loop (in a single thread) > - even to make multiple RTSP client requests. Yes I know, but I have a few reasons to do it in multiple threads: You have to take into account that there is a limit on the number of sockets in a single FD_SET on most systems.

[Live-devel] Problems with RTSPClient, CSeq variable and SANYO network cameras ...

2010-04-01 Thread Adam Mich
Hi, I've found out that when you run a few different instances of RTSP clients in separate threads CSeq number is not increased by one with each consecutive request. It's because CSeq number is a static variable in RTSPClient. It has an unexpected side effect - SANYO network cameras end RTSP sessio

[Live-devel] Different io model in LiveMedia: io completion ports, kqueue, epoll ?

2010-01-26 Thread Adam Mich
Hello, Has anybody tried to replace standard select() loop in LiveMedia with a different asynchronous I/O mode ? Select() isn't especially effective, when it comes to sending or receiving a large number of small UDP packets over many connections, and it is the most often scenario in RTP application