[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ccrtp-devel] getFirstTimestamp for a specific source?
From: |
Claude Brisson |
Subject: |
Re: [Ccrtp-devel] getFirstTimestamp for a specific source? |
Date: |
Thu, 24 Mar 2005 16:41:46 +0100 |
ok, found...
I should use the isWaiting(source*) method instead, because the first
packet timestamp is zero...
--
Claude
On Thu, 2005-03-24 at 12:14 +0100, Claude Brisson wrote:
> Hi,
>
> Surprisingly, the getFirstTimestamp(source*) method always returns
> zero...
>
> the following piece of code never finds incoming packets:
>
> for(RTPStack::SyncSourcesIterator it = session->begin(); it !=
> session->end(); it++)
> {
> nextTimestamp = session->getFirstTimestamp(&*it);
> ...
> }
>
> (If I call the default getFirstTimestamp() method and check the SSRC of
> incoming packets, they do correspond to the SSRCs of the sources I'm
> checking)
>
> Is it a bug or a misuse? Is there something special to do to initialize
> per source queues?
>
> Thanks for your help,
--