[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ccrtp-devel] Participants and Applications API
From: |
Federico Montesino Pouzols |
Subject: |
Re: [Ccrtp-devel] Participants and Applications API |
Date: |
Tue, 23 Sep 2003 17:23:28 +0200 |
User-agent: |
Mutt/1.3.28i |
Hi, I think this is a bug in ccRTP. After applying the
attached patch (which is also in CVS), it should work well.
On Tue, Sep 23, 2003 at 03:00:45PM +0200, Paolo Andreetto wrote:
> Hi
>
> How can I retrieve all participants' CNAME for a given Application? I'm
> not sure to understand the APIs for such feature.
> I've tried to overwrite the onGotSDESChunk method in this way:
>
> // redefined from QueueRTCPManager
> bool
> onGotSDESChunk(SyncSource& source, SDESChunk& chunk, size_t len)
> {
> bool result = RTPSession::onGotSDESChunk(source,chunk,len);
> RTPApplication::ParticipantsIterator
> pIter=defaultApplication().begin();
> RTPApplication::ParticipantsIterator
> lastIter=defaultApplication().end();
>
> for(;pIter!=lastIter;pIter++)
> cout << "Participant: " <<
> pIter->getSDESItem(SDESItemTypeCNAME) << endl;
>
> return result;
> }
>
> just for test, but with two participants a segmentation fault occurs
> after printing the first one.
>
> Thanks
> Paolo
>
>
>
> _______________________________________________
> Ccrtp-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/ccrtp-devel
patch-ccrtp-participant
Description: Text document