> 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
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
> 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*
> 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
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
> 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
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: