Re: [Live-devel] Timestamp conversion in RTPSink.cpp

2012-11-08 Thread Ross Finlayson
> The windows (not CE) implementation wasn't threadsafe, so I've changed that > code too. > Find attached the new GroupsockHelper.cpp. Thanks. This has been included in a new (just released) version of the software: 2012.11.08 > This solution is ok for us, so I won't spend any further time in

Re: [Live-devel] Timestamp conversion in RTPSink.cpp

2012-11-08 Thread Roehrl, Simon
m [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Dienstag, 6. November 2012 16:00 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Timestamp conversion in RTPSink.cpp You can find alot occurences of this problem in WinCE world. The problem is

Re: [Live-devel] Timestamp conversion in RTPSink.cpp

2012-11-06 Thread Ross Finlayson
> You can find alot occurences of this problem in WinCE world. The problem is > the "GetSystemTime()" call, which should fill the SYSTEMTIME struct, but it > does not, at least not the milliseconds field (which is always 0). The > solution I used: > > int gettimeofday(struct timeval* tp, int*

Re: [Live-devel] Timestamp conversion in RTPSink.cpp

2012-11-06 Thread Ross Finlayson
> Thank you very much for your answer. Your words make sense concerning the > calculation! > There were two different (independent) problems: > 1 the underlined line returns 0 on Freescale's I.MX53 ARM cpu, the reason: > "fTimestampFrequency*tv.tv_usec" is too large for 32bit. As the datatype

Re: [Live-devel] Timestamp conversion in RTPSink.cpp

2012-11-06 Thread Roehrl, Simon
we want to use live555 in one of our products on the WinCE platform and we have some issues with timestamp calculation. >From file liveMedia/RTPSink.cpp: u_int32_t RTPSink::convertToRTPTimestamp(struct timeval tv) { // Begin by converting from "struct timeval" units to RTP timestamp units: u_i

Re: [Live-devel] Timestamp conversion in RTPSink.cpp

2012-11-05 Thread Ross Finlayson
> we want to use live555 in one of our products on the WinCE platform and we > have some issues with timestamp calculation. > From file liveMedia/RTPSink.cpp: > u_int32_t RTPSink::convertToRTPTimestamp(struct timeval tv) { > > // Begin by converting from "struct timeval" units to RTP timestamp un

[Live-devel] Timestamp conversion in RTPSink.cpp

2012-11-05 Thread Roehrl, Simon
Hi, we want to use live555 in one of our products on the WinCE platform and we have some issues with timestamp calculation. >From file liveMedia/RTPSink.cpp: u_int32_t RTPSink::convertToRTPTimestamp(struct timeval tv) { // Begin by converting from "struct timeval" units to RTP timestamp units: