<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><div style="font-family: times new roman,new york,times,serif; font-size: 10pt;">Hi,<br><br>Simon, I've traced down using the VS 2003 debugger, and the function which is being called is H323VideoCodec::SetmaxBitRate(), because the function OpenVideoChannel() receives a reference to H323VideoCodec, not to H323PluginVideoCodec. You can see this easily setting a breakpoint in this line codec.SetMaxBitRate(videoBitRate
*
1024);, stepping into it and seeing the call stack. Here it is:<br><br>> MyPhone.exe!H323VideoCodec::SetMaxBitRate(unsigned int bitRate=52428800) Line 737 C++<br> MyPhone.exe!CMyPhoneEndPoint::OpenVideoChannel(H323Connection & connection={...}, int isEncoding=1, H323VideoCodec & codec={...}) Line 522 + 0x1d C++<br> MyPhone.exe!H323Connection::OpenVideoChannel(int isEncoding=1, H323VideoCodec & codec={...}) Line 4361 C++<br> MyPhone.exe!H323VideoCodec::Open(H323Connection & connection={...}) Line 587 C++<br> MyPhone.exe!H323_RTPChannel::Open() Line 1171 + 0x18 C++<br> MyPhone.exe!H245NegLogicalChannel::OpenWhileLocked(const H323Capability & capability={...}, unsigned int
sessionID=2, unsigned int replacementFor=0, unsigned int roleLabel=0) Line 843 + 0x19 C++<br> MyPhone.exe!H245NegLogicalChannel::Open(const H323Capability & capability={...}, unsigned int sessionID=2, unsigned int replacementFor=0, unsigned int roleLabel=0) Line 754 + 0x1b C++<br> MyPhone.exe!H245NegLogicalChannels::Open(const H323Capability & capability={...}, unsigned int sessionID=2, H323ChannelNumber & channelnumber={...}, unsigned int replacementFor=0, unsigned int roleLabel=0) Line 1285 C++<br> MyPhone.exe!H245NegLogicalChannels::Open(const H323Capability & capability={...}, unsigned int sessionID=2, unsigned int replacementFor=0) Line 1262 + 0x1d C++<br> MyPhone.exe!H323Connection::OpenLogicalChannel(const H323Capability &
capability={...}, unsigned int sessionID=2, H323Channel::Directions dir=IsTransmitter) Line 4026 + 0x21 C++<br> MyPhone.exe!H323Connection::SelectDefaultLogicalChannel(unsigned int sessionID=2) Line 3978 + 0x18 C++<br> MyPhone.exe!H323Connection::OnSelectLogicalChannels() Line 3923 C++<br> MyPhone.exe!H323Connection::InternalEstablishedConnectionCheck() Line 3887 C++<br> MyPhone.exe!H323Connection::HandleControlData(PPER_Stream & strm={...}) Line 3040 C++<br> MyPhone.exe!H323Connection::HandleReceivedControlPDU(int readStatus=1, PPER_Stream & strm={...}) Line 2968 + 0x12 C++<br> MyPhone.exe!H323Connection::HandleControlChannel() Line 2950 +
0x13 C++<br> MyPhone.exe!H245TransportThread::Main() Line 694 C++<br> MyPhone.exe!PThread::MainFunction(void * threadPtr=0x0160fa48) Line 1268 C++<br> msvcr71d.dll!_threadstartex(void * ptd=0x0160ff48) Line 241 + 0xd C<br> kernel32.dll!7c80b683() <br><br><br>Best regards, <br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Mensaje original ----<br>De: Simon Horne <s.horne@packetizer.com><br>Para: JF NP <jfnp090274@yahoo.es><br>CC: H323plus <h323plus@lists.packetizer.com><br>Enviado: martes, 12 de febrero, 2008 2:09:55<br>Asunto: RE: [h323plus] MyPhone 0.4 Released<br><br><br><br>H323PluginVideoCodec::SetMaxBitRate()
sends
a
messages
"Max
Bit
Rate"
to
the<br>plugin
codec
to
set
the
maximum
bitrate.
This
function
also
overrides<br>H323VideoCodec::SetMaxBitRate()
since
H323PluginVideoCodec
is
a
descendent<br>of
H323VideoCodec
so
the
problem
most
likely
is
in
the
plugin
codec
not<br>setting
the
max
bit
rate.
I
suggest
you
look
at
the
H.263
plugin
codec<br>perhaps
there
is
something
missing.<br><br>Simon<br><br>>
-----Original
Message-----<br>>
From:
<a ymailto="mailto:h323plus-bounces@lists.packetizer.com" href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a><br>>
[mailto:<a ymailto="mailto:h323plus-bounces@lists.packetizer.com" href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a>]On
Behalf
Of
JF
NP<br>>
Sent:
Tuesday,
February
12,
2008
2:50
AM<br>>
To:
H323plus<br>>
Subject:
Re:
[h323plus]
MyPhone
0.4
Released<br>><br>><br>>
Hi,<br>><br>>
I've
downloaded
the
latest
version
of
the
plugin<br>>
codecs
from
the
CVS,
and
I've
seen
that
the
frames
are<br>>
being
grabbed
at
10
fps.<br>>
Additional
testing
has
showed
me
that
the
problem<br>>
seems
to
be
with
the
following
line
of
code,
in<br>>
CMyPhoneEndPoint::OpenVideoChannel:<br>>
codec.SetMaxBitRate(videoBitRate
*
1024);<br>><br>>
I
think
that
the
problem
is
that
codec
is
an
instance<br>>
of
H323VideoCodec,
and
the
implementation
of<br>>
H323VideoCodec::SetMaxBitRate
does
nothing
but
an<br>>
assignment.
I
think
that
what
it
should
be
called
is<br>>
H323PluginVideoCodec::SetMaxBitRate,
which
is
in
fact<br>>
a
descendant
of
H323VideoCodec.
I've
tried
to
do
a<br>>
cast
from
H323VideoCodec
to
H323PluginVideoCodec,
but<br>>
I
get
compilation
erros
due
to
the
undefined
class<br>>
H323PluginVideoCodec,
because
in
fact
it
is
defined
in<br>>
a
*.cxx
file,
not
a
*.h.<br>><br>>
Am
I
correct?
Or
am
I
missing
something?<br>><br>>
Best
regards,<br>><br>>
---
Simon
Horne
<<a ymailto="mailto:s.horne@packetizer.com" href="mailto:s.horne@packetizer.com">s.horne@packetizer.com</a>>
escribió:<br>><br>>
>
This
is
strange.
The
bitrate
is
sent
to
the
plugin<br>>
>
codec.
What
codec
are
you
using?
what
version
of<br>>
>
h323plus
and
how
old
is
your
video
plugin?
I
updated<br>>
>
the
H.263
plugin
about
a
month
or
so
ago,
prior
to<br>>
>
that
it
just
ignored
these
settings
so
that
might
be<br>>
>
the
problem.<br>>
><br>>
>
From
the
tracefile
make
sure
the
video
frames
are<br>>
>
being
grabbed
at
the
right
fps
(for
10
fps
every<br>>
>
100ms)<br>>
><br>>
>
Simon<br>>
>
-----Original
Message-----<br>>
>
From:
<a ymailto="mailto:h323plus-bounces@lists.packetizer.com" href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a><br>>
>
[mailto:<a ymailto="mailto:h323plus-bounces@lists.packetizer.com" href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a>]On<br>>
>
Behalf
Of
JF
NP<br>>
>
Sent:
Friday,
February
08,
2008
8:57
PM<br>>
>
To:
H323plus<br>>
>
Subject:
Re:
[h323plus]
MyPhone
0.4
Released<br>>
><br>>
><br>>
>
Hi,
Simon:<br>>
><br>>
>
I've
downloaded
the
latest
CVS
code
with
the<br>>
>
support
for
bitrate,
fps
and
Adaptive
packet
delay.<br>>
>
But
it
seems
that
MyPhone2
is
not
using
the<br>>
>
settings.
Let
me
explain
this:<br>>
>
1.
I've
configured
the
following
vlues
for
video:<br>>
>
fps
=
10,
Maxbitrate
=50
kbit/s.
and
quality
=
15.<br>>
>
Size
=
QCIF.<br>>
>
2.
If
I
capture
the
video
packets
with
Wireskark,<br>>
>
I
can
see
that
the
bitrate
is
about
300kbit/s.<br>>
><br>>
>
Where
is
the
problem?
Am
I
missing
any
additional<br>>
>
setup?<br>>
><br>>
>
Best
regards,<br>>
><br>>
><br>>
>
-----
Mensaje
original
----<br>>
>
De:
Simon
Horne
<<a ymailto="mailto:s.horne@packetizer.com" href="mailto:s.horne@packetizer.com">s.horne@packetizer.com</a>><br>>
>
Para:
JF
NP
<<a ymailto="mailto:jfnp090274@yahoo.es" href="mailto:jfnp090274@yahoo.es">jfnp090274@yahoo.es</a>>;
H323plus<br>>
>
<<a ymailto="mailto:h323plus@lists.packetizer.com" href="mailto:h323plus@lists.packetizer.com">h323plus@lists.packetizer.com</a>><br>>
>
Enviado:
viernes,
8
de
febrero,
2008
3:53:05<br>>
>
Asunto:
RE:
[h323plus]
MyPhone
0.4
Released<br>>
><br>>
>
<br>>
>
looks
like
you
are
right.<br>>
>
I
have
added
support
for
bitrate,
fps
and
also<br>>
>
adaptive
packet
delay
to
the
CVS.<br>>
><br>>
>
Simon<br>>
>
-----Original
Message-----<br>>
>
From:
<a ymailto="mailto:h323plus-bounces@lists.packetizer.com" href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a><br>>
>
[mailto:<a ymailto="mailto:h323plus-bounces@lists.packetizer.com" href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a>]On<br>>
>
Behalf
Of
JF
NP<br>>
>
Sent:
Thursday,
February
07,
2008
8:44
PM<br>>
>
To:
H323plus<br>>
>
Subject:
Re:
[h323plus]
MyPhone
0.4
Released<br>>
><br>>
><br>>
>
Hi,<br>>
><br>>
>
I'v
been
looking
at
MyPhone2
0.4
source
code,<br>>
>
and
I
was
wondering
how
is
the
videobitrate,
fps,<br>>
>
etc...
managed,
because
I've
seen
that
all
of
this<br>>
>
parameters
are
read
from
the
configuration,
but
they<br>>
>
are
never
used.<br>>
><br>>
>
Best
regards,<br>>
><br>>
><br>>
>
-----
Mensaje
original
----<br>>
>
De:
Simon
Horne
<<a ymailto="mailto:s.horne@packetizer.com" href="mailto:s.horne@packetizer.com">s.horne@packetizer.com</a>><br>>
>
Para:
H323plus
<<a ymailto="mailto:h323plus@lists.packetizer.com" href="mailto:h323plus@lists.packetizer.com">h323plus@lists.packetizer.com</a>><br>>
>
Enviado:
viernes,
1
de
febrero,
2008
21:57:15<br>>
>
Asunto:
[h323plus]
MyPhone
0.4
Released<br>>
><br>>
><br>>
>
Guys<br>>
><br>>
>
I
have
uploaded
MyPhone
0.4
installer
to
the<br>>
>
h323plus
website
to
garnish<br>>
>
some
feedback
on
the
upcoming
1.20
release
on<br>>
>
h323plus.<br>>
>
Download
here<br>>
><br>>
><br>>
<a href="http://www.h323plus.org/source/download/MyPhoneSetup04.exe" target="_blank">http://www.h323plus.org/source/download/MyPhoneSetup04.exe</a><br>>
>
(2.12Mb)<br>>
><br>>
>
Important
Features<br>>
>
Native
NAT
traversal
with
GnuGk
:
This
uses
the<br>>
>
new
GnuGk
NAT
module
now
in<br>>
>
H323plus.
You
can
send
and
receive
calls
behind<br>>
>
a
NAT
when
registered
to<br>>
>
GnuGk
on
the
public
internet.
The
only<br>>
>
requirement
is
that
you
enable<br>>
>
SupportNatedEndpoints
in
GnuGk.
Note
this
is
the<br>>
>
GnuGk
NAT
Method<br>>
>
<a href="http://www.gnugk.org/nat-traversal.html" target="_blank">http://www.gnugk.org/nat-traversal.html</a>.
It
is<br>>
>
not
the
standard
H.460.18/19.<br>>
><br>>
>
Built
off
the
latest
h323plus
CVS.
(hopefully<br>>
>
the
baseline
for
v1.20)<br>>
><br>>
>
Notes:<br>>
>
To
run
in
debug
mode
start
myphone
with<br>>
>
commandline
switches
-ttttt
(number<br>>
>
of
t
indicate
tracelevel)<br>>
>
After
Install
adjust
the
audio
and
video
codecs<br>>
>
to
your
preferred
order.<br>>
>
G.711
&
H.261
are
the
default.<br>>
><br>>
>
The
installer
contains
the
full
myphone2
source<br>>
>
code.
The
exe
was
built
with<br>>
>
vs2003.
If
you
wish
to
build
it
with
a
later<br>>
>
version
of
visual
studio,<br>>
>
although
not
tested,
you
will
need
the
$
version<br>>
>
as
the
express
version
does<br>>
>
not
seem
to
support
MFC.<br>>
><br>>
>
Hopefully
next
week
if
there
are
not
too
many<br>>
>
problems
we
will
do
the<br>>
>
snapshot
and
release
v1.20.<br>>
><br>>
>
Simon<br>>
><br>>
><br>>
><br>>
><br>>
><br>>
><br>>
><br>>
><br>>
------------------------------------------------------------------<br>>
----------<br>>
><br>>
>
¿Con
Mascota
por
primera
vez?
-
Sé
un
mejor<br>>
>
Amigo<br>>
>
Entra
en
Yahoo!
Respuestas.<br>>
><br>>
><br>>
><br>>
><br>>
><br>>
><br>>
------------------------------------------------------------------<br>>
------------<br>>
><br>>
>
¿Con
Mascota
por
primera
vez?
-
Sé
un
mejor<br>>
>
Amigo<br>>
>
Entra
en
Yahoo!
Respuestas.<br>>
><br>><br>><br>><br>><br>>
______________________________________________<br>>
¿Con
Mascota
por
primera
vez?
Sé
un
mejor
Amigo.
Entra
en
Yahoo!<br>>
Respuestas
<a href="http://es.answers.yahoo.com/info/welcome" target="_blank">http://es.answers.yahoo.com/info/welcome</a><br><br></div><br></div></div><br>
<hr size=1><br><font face="Verdana" size="-2">¿Con Mascota por primera vez? - Sé un mejor Amigo<br><a href="http://es.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=over&sid=XXXXXXXX">Entra en Yahoo! Respuestas</a>.<br></font> </body></html>