Re: [Live-devel] Parser for sprop-parameter-sets at desribe response to get width- height...

2012-01-10 Thread Ross Finlayson
> Well, actually i do not decode h264 stream but just need width, height info... > > For h264 stream, here is simple buggy parser which gets width height > from fSpropParameterSets... > Maybe someone also need a starting point for parsing those data... Note that we already provide a function:

Re: [Live-devel] Non Blocking socket returns WSAEWOULDBLOCK (addendum)

2012-01-10 Thread Ross Finlayson
> Changing code to: >… > int myerrno = envir().getErrno(); >envir() << "socket ERROR = " << myerrno << "\n"; >if (myerrno == EINPROGRESS || myerrno == WSAEWOULDBLOCK) { >… > > Immediately restored operation I'll make this change (although with "EWOULDBLOCK" - t

Re: [Live-devel] Parser for sprop-parameter-sets at desribe response to get width- height...

2012-01-10 Thread Novalis Vapuru
Well, actually i do not decode h264 stream but just need width, height info... For h264 stream, here is simple buggy parser which gets width height from fSpropParameterSets... Maybe someone also need a starting point for parsing those data... Best Wishes How To Use: So in desribe response if

[Live-devel] Non Blocking socket returns WSAEWOULDBLOCK (addendum)

2012-01-10 Thread Jeff Shanab
Changing code to: ... int myerrno = envir().getErrno(); envir() << "socket ERROR = " << myerrno << "\n"; if (myerrno == EINPROGRESS || myerrno == WSAEWOULDBLOCK) { ... Immediately restored operation ___ live-devel mailing li

[Live-devel] Non Blocking socket returns WSAEWOULDBLOCK

2012-01-10 Thread Jeff Shanab
I started having problems connecting to some RTSP streams and traced it to line 400 in the RTSPClient 00399 if (connect(socketNum, (struct sockaddr*) &remoteName, sizeof remoteName) != 0) { 00400 if (envir().getErrno() == EINPROGRESS) { 00401 // The connection is pending; we'll nee