[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ccrtp-devel] Several RTP Applications
From: |
Federico Montesino Pouzols |
Subject: |
Re: [Ccrtp-devel] Several RTP Applications |
Date: |
Fri, 28 Nov 2003 14:13:05 +0100 |
User-agent: |
Mutt/1.3.28i |
Hi,
MembershipBookkeeping::defaultMembersHashSize is protected
because it is intended to be used only by derived classes. Any
integer, say 11, should work, though thinking it over, a public
constant that gives a good default value for this parameter should be
added.
What other things do the compiler complain about?
On Fri, Nov 28, 2003 at 08:46:34AM +0100, Marcus Andersson wrote:
> Hi!
>
> I am writing a program that includes several RTPApplications. When I try to
> call the constructor for RTPSession I provide it with the necessary
> arguments,
> including a specific RTPApplication for each RTPSession. The call looks like
> this:
>
> RTPSession *rtp_session = new RTPSession(InetHostAddress((const char*)
> local_ip), local_port, 0, 0,
> MembershipBookkeeping::defaultMembersHashSize,
> &rtp_app);
>
> The compiler says that MembershipBookkeeping::defaultMembersHashSize is
> protected. When I try to use another number, the compiler does not complain
> about that, but it complains about other things.
> What have I done wrong? Isn't it possible to do it this way?
>
> Regards
> Marcus
>
>
>
> _______________________________________________
> Ccrtp-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/ccrtp-devel