h323plus
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- 1 participants
- 559 discussions
2
1
Hi again,
After more testing, and a search through the source code, I've seen that the AdaptivePacketDelay code is supposed to be included in the new plugin, so forget my previous post. Just another question: How can I set the qcifMPI, or cifMPI parameters??
Thank you in advance,
----- Mensaje original ----
De: Simon Horne <s.horne(a)packetizer.com>
Para: JF NP <jfnp090274(a)yahoo.es>; H323plus <h323plus(a)lists.packetizer.com>
Enviado: martes, 12 de febrero, 2008 10:44:16
Asunto: RE: [h323plus] MyPhone 0.4 Released
DIV {
MARGIN:0px;}
If
memory serves me right the openH323 version never handled I-Frames. I will
relook at the plugin codec to see what we could of missed.
Simon
-----Original Message-----
From:
h323plus-bounces(a)lists.packetizer.com
[mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of JF
NP
Sent: Tuesday, February 12, 2008 7:08 PM
To:
H323plus
Subject: Re: [h323plus] MyPhone 0.4
Released
Simon,
Unfortunately, even when the plugin codec code is called, MyPhone2
stills sending more video bandwidth than established. If I don´t move the
camera, it sends about 50 kbps (the configured video bandwidth), but if I move
the camera, to force sending I-Frames, the bandwidth increases until reaches
more than twice the configured bandwidth. The same test works fine with the
previous version of openh323 and MyPhone. What's happening? If you need them,
I can send you Ethereal traces.
Best regards,
-----
Mensaje original ----
De: Simon Horne
<s.horne(a)packetizer.com>
Para: JF NP
<jfnp090274(a)yahoo.es>
CC: H323plus
<h323plus(a)lists.packetizer.com>
Enviado: martes, 12 de febrero, 2008
9:02:48
Asunto: RE: [h323plus] MyPhone 0.4 Released
DIV {
MARGIN:0px;}
Ya'oops when a
decendent is not a descendent. :( I have checked in a fix to h323plus
CVS so the correct H323PluginVideoCodec::SetMaxBitRate() is
called.
Thanks
again
Simon
-----Original Message-----
From:
h323plus-bounces(a)lists.packetizer.com
[mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of JF
NP
Sent: Tuesday, February 12, 2008 5:48 PM
To:
H323plus
Subject: Re: [h323plus] MyPhone 0.4
Released
Hi,
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:
>
MyPhone.exe!H323VideoCodec::SetMaxBitRate(unsigned int
bitRate=52428800) Line 737
C++
MyPhone.exe!CMyPhoneEndPoint::OpenVideoChannel(H323Connection &
connection={...}, int isEncoding=1, H323VideoCodec & codec={...})
Line 522 + 0x1d C++
MyPhone.exe!H323Connection::OpenVideoChannel(int isEncoding=1,
H323VideoCodec & codec={...}) Line 4361
C++
MyPhone.exe!H323VideoCodec::Open(H323Connection &
connection={...}) Line 587
C++
MyPhone.exe!H323_RTPChannel::Open()
Line 1171 + 0x18 C++
MyPhone.exe!H245NegLogicalChannel::OpenWhileLocked(const H323Capability
& capability={...}, unsigned int sessionID=2, unsigned int
replacementFor=0, unsigned int roleLabel=0) Line 843 +
0x19 C++
MyPhone.exe!H245NegLogicalChannel::Open(const H323Capability &
capability={...}, unsigned int sessionID=2, unsigned int replacementFor=0,
unsigned int roleLabel=0) Line 754 + 0x1b
C++
MyPhone.exe!H245NegLogicalChannels::Open(const H323Capability &
capability={...}, unsigned int sessionID=2, H323ChannelNumber &
channelnumber={...}, unsigned int replacementFor=0, unsigned int
roleLabel=0) Line 1285
C++
MyPhone.exe!H245NegLogicalChannels::Open(const H323Capability &
capability={...}, unsigned int sessionID=2, unsigned int
replacementFor=0) Line 1262 + 0x1d
C++
MyPhone.exe!H323Connection::OpenLogicalChannel(const H323Capability &
capability={...}, unsigned int sessionID=2, H323Channel::Directions
dir=IsTransmitter) Line 4026 + 0x21
C++
MyPhone.exe!H323Connection::SelectDefaultLogicalChannel(unsigned int
sessionID=2) Line 3978 + 0x18
C++
MyPhone.exe!H323Connection::OnSelectLogicalChannels() Line
3923 C++
MyPhone.exe!H323Connection::InternalEstablishedConnectionCheck() Line
3887 C++
MyPhone.exe!H323Connection::HandleControlData(PPER_Stream &
strm={...}) Line 3040
C++
MyPhone.exe!H323Connection::HandleReceivedControlPDU(int readStatus=1,
PPER_Stream & strm={...}) Line 2968 + 0x12
C++
MyPhone.exe!H323Connection::HandleControlChannel() Line 2950 +
0x13 C++
MyPhone.exe!H245TransportThread::Main() Line 694
C++
MyPhone.exe!PThread::MainFunction(void *
threadPtr=0x0160fa48) Line 1268
C++
msvcr71d.dll!_threadstartex(void *
ptd=0x0160ff48) Line 241 + 0xd
C
kernel32.dll!7c80b683()
Best regards,
-----
Mensaje original ----
De: Simon Horne
<s.horne(a)packetizer.com>
Para: JF NP
<jfnp090274(a)yahoo.es>
CC: H323plus
<h323plus(a)lists.packetizer.com>
Enviado: martes, 12 de febrero,
2008 2:09:55
Asunto: RE: [h323plus] MyPhone 0.4
Released
H323PluginVideoCodec::SetMaxBitRate() sends a
messages "Max Bit Rate" to the
plugin codec to set the maximum bitrate.
This function also overrides
H323VideoCodec::SetMaxBitRate() since
H323PluginVideoCodec is a descendent
of H323VideoCodec so the problem
most likely is in the plugin codec not
setting the max bit rate. I
suggest you look at the H.263 plugin codec
perhaps there is something
missing.
Simon
> -----Original Message-----
> From:
h323plus-bounces(a)lists.packetizer.com
>
[mailto:h323plus-bounces@lists.packetizer.com]On
Behalf Of JF NP
> Sent: Tuesday, February 12, 2008 2:50 AM
> To:
H323plus
> Subject: Re: [h323plus] MyPhone 0.4
Released
>
>
> Hi,
>
> I've downloaded the
latest version of the plugin
> codecs from the CVS, and I've seen that
the frames are
> being grabbed at 10 fps.
> Additional testing
has showed me that the problem
> seems to be with the following line
of code, in
> CMyPhoneEndPoint::OpenVideoChannel:
>
codec.SetMaxBitRate(videoBitRate * 1024);
>
> I think that the
problem is that codec is an instance
> of H323VideoCodec, and the
implementation of
> H323VideoCodec::SetMaxBitRate does nothing but
an
> assignment. I think that what it should be called is
>
H323PluginVideoCodec::SetMaxBitRate, which is in fact
> a descendant
of H323VideoCodec. I've tried to do a
> cast from H323VideoCodec to
H323PluginVideoCodec, but
> I get compilation erros due to the
undefined class
> H323PluginVideoCodec, because in fact it is defined
in
> a *.cxx file, not a *.h.
>
> Am I correct? Or am I
missing something?
>
> Best regards,
>
> --- Simon
Horne <s.horne(a)packetizer.com>
escribió:
>
> > This is strange. The bitrate is sent to the
plugin
> > codec. What codec are you using? what version of
>
> h323plus and how old is your video plugin? I updated
> > the
H.263 plugin about a month or so ago, prior to
> > that it just
ignored these settings so that might be
> > the problem.
>
>
> > From the tracefile make sure the video frames are
>
> being grabbed at the right fps (for 10 fps every
> >
100ms)
> >
> > Simon
> > -----Original
Message-----
> > From: h323plus-bounces(a)lists.packetizer.com
>
> [mailto:h323plus-bounces@lists.packetizer.com]On
>
> Behalf Of JF NP
> > Sent: Friday, February 08, 2008 8:57
PM
> > To: H323plus
> > Subject: Re:
[h323plus] MyPhone 0.4 Released
> >
> >
> >
Hi, Simon:
> >
> > I've downloaded the latest CVS
code with the
> > support for bitrate, fps and Adaptive packet
delay.
> > But it seems that MyPhone2 is not using the
> >
settings. Let me explain this:
> > 1. I've configured the
following vlues for video:
> > fps = 10, Maxbitrate =50 kbit/s. and
quality = 15.
> > Size = QCIF.
> > 2. If I capture
the video packets with Wireskark,
> > I can see that the bitrate is
about 300kbit/s.
> >
> > Where is the problem? Am I
missing any additional
> > setup?
> >
> >
Best regards,
> >
> >
> > ----- Mensaje
original ----
> > De: Simon Horne <s.horne(a)packetizer.com>
>
> Para: JF NP <jfnp090274(a)yahoo.es>;
H323plus
> > <h323plus(a)lists.packetizer.com>
>
> Enviado: viernes, 8 de febrero, 2008 3:53:05
> >
Asunto: RE: [h323plus] MyPhone 0.4 Released
> >
> >

> > looks like you are right.
> > I have
added support for bitrate, fps and also
> > adaptive packet delay
to the CVS.
> >
> > Simon
> >
-----Original Message-----
> > From: h323plus-bounces(a)lists.packetizer.com
>
> [mailto:h323plus-bounces@lists.packetizer.com]On
>
> Behalf Of JF NP
> > Sent: Thursday, February 07,
2008 8:44 PM
> > To: H323plus
> >
Subject: Re: [h323plus] MyPhone 0.4 Released
> >
>
>
> > Hi,
> >
> >
I'v been looking at MyPhone2 0.4 source code,
> > and I was
wondering how is the videobitrate, fps,
> > etc... managed, because
I've seen that all of this
> > parameters are read from the
configuration, but they
> > are never used.
> >
>
> Best regards,
> >
> >
> >
----- Mensaje original ----
> > De: Simon Horne
<s.horne(a)packetizer.com>
>
> Para: H323plus <h323plus(a)lists.packetizer.com>
>
> Enviado: viernes, 1 de febrero, 2008 21:57:15
>
> Asunto: [h323plus] MyPhone 0.4 Released
>
>
> >
> > Guys
> >
>
> I have uploaded MyPhone 0.4 installer to the
> >
h323plus website to garnish
> > some feedback on the
upcoming 1.20 release on
> > h323plus.
> >
Download here
> >
> >
> http://www.h323plus.org/source/download/MyPhoneSetup04.exe
>
> (2.12Mb)
> >
> > Important
Features
> > Native NAT traversal with GnuGk : This
uses the
> > new GnuGk NAT module now in
> >
H323plus. You can send and receive calls behind
> > a NAT when
registered to
> > GnuGk on the public internet. The
only
> > requirement is that you enable
> >
SupportNatedEndpoints in GnuGk. Note this is the
> > GnuGk NAT
Method
> > http://www.gnugk.org/nat-traversal.html. It is
> >
not the standard H.460.18/19.
> >
> > Built
off the latest h323plus CVS. (hopefully
> > the baseline for
v1.20)
> >
> > Notes:
> >
To run in debug mode start myphone with
> > commandline
switches -ttttt (number
> > of t indicate
tracelevel)
> > After Install adjust the audio and
video codecs
> > to your preferred order.
> >
G.711 & H.261 are the default.
> >
> >
The installer contains the full myphone2 source
> > code. The exe
was built with
> > vs2003. If you wish to build it
with a later
> > version of visual studio,
> >
although not tested, you will need the $ version
> > as the
express version does
> > not seem to support
MFC.
> >
> > Hopefully next week if there are
not too many
> > problems we will do the
> >
snapshot and release v1.20.
> >
> >
Simon
> >
> >
> >
> >
>
>
> >
> >
> >
>
------------------------------------------------------------------
>
----------
> >
> > ¿Con Mascota por primera
vez? - Sé un mejor
> > Amigo
> > Entra en
Yahoo! Respuestas.
> >
> >
> >
>
>
> >
> >
>
------------------------------------------------------------------
>
------------
> >
> > ¿Con Mascota por primera vez?
- Sé un mejor
> > Amigo
> > Entra en Yahoo!
Respuestas.
> >
>
>
>
>
>
______________________________________________
> ¿Con Mascota por
primera vez? Sé un mejor Amigo. Entra en Yahoo!
> Respuestas http://es.answers.yahoo.com/info/welcome
¿Con Mascota por primera vez? - Sé un mejor
Amigo
Entra en Yahoo!
Respuestas.
¿Con Mascota por primera vez? - Sé un mejor
Amigo
Entra
en Yahoo! Respuestas.
______________________________________________
¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas http://es.answers.yahoo.com/info/welcome
2
1
Guys
Just a quick note
H.460.18/19 client support has now been added to h323plus.
The source code and a very basic sample app have been added to the
extensions/h460 directory in the CVS
http://h323plus.cvs.sourceforge.net/h323plus/extensions/h460/h460.18/
It compiles with h323plus v1.20.1 available from the h323plus website and
has been tested against Tandberg gatekeepers.
Both GnuGk (default) and H.460.18/19 NAT methods work without conflict so
you should be able to support both the standard H.460.18/19 and the GnuGk
methods in your applications without any problems.
Simon
1
0
Simon,
Maybe the problem is that the funtionality that was implemented in the old H323_H263Codec::Read() method has gone away, isn't it? It seems that in that code was implemented the adaptivepacketdelay feature. Is right?
----- Mensaje original ----
De: Simon Horne <s.horne(a)packetizer.com>
Para: JF NP <jfnp090274(a)yahoo.es>; H323plus <h323plus(a)lists.packetizer.com>
Enviado: martes, 12 de febrero, 2008 10:44:16
Asunto: RE: [h323plus] MyPhone 0.4 Released
DIV {
MARGIN:0px;}
If
memory serves me right the openH323 version never handled I-Frames. I will
relook at the plugin codec to see what we could of missed.
Simon
-----Original Message-----
From:
h323plus-bounces(a)lists.packetizer.com
[mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of JF
NP
Sent: Tuesday, February 12, 2008 7:08 PM
To:
H323plus
Subject: Re: [h323plus] MyPhone 0.4
Released
Simon,
Unfortunately, even when the plugin codec code is called, MyPhone2
stills sending more video bandwidth than established. If I don´t move the
camera, it sends about 50 kbps (the configured video bandwidth), but if I move
the camera, to force sending I-Frames, the bandwidth increases until reaches
more than twice the configured bandwidth. The same test works fine with the
previous version of openh323 and MyPhone. What's happening? If you need them,
I can send you Ethereal traces.
Best regards,
-----
Mensaje original ----
De: Simon Horne
<s.horne(a)packetizer.com>
Para: JF NP
<jfnp090274(a)yahoo.es>
CC: H323plus
<h323plus(a)lists.packetizer.com>
Enviado: martes, 12 de febrero, 2008
9:02:48
Asunto: RE: [h323plus] MyPhone 0.4 Released
DIV {
MARGIN:0px;}
Ya'oops when a
decendent is not a descendent. :( I have checked in a fix to h323plus
CVS so the correct H323PluginVideoCodec::SetMaxBitRate() is
called.
Thanks
again
Simon
-----Original Message-----
From:
h323plus-bounces(a)lists.packetizer.com
[mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of JF
NP
Sent: Tuesday, February 12, 2008 5:48 PM
To:
H323plus
Subject: Re: [h323plus] MyPhone 0.4
Released
Hi,
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:
>
MyPhone.exe!H323VideoCodec::SetMaxBitRate(unsigned int
bitRate=52428800) Line 737
C++
MyPhone.exe!CMyPhoneEndPoint::OpenVideoChannel(H323Connection &
connection={...}, int isEncoding=1, H323VideoCodec & codec={...})
Line 522 + 0x1d C++
MyPhone.exe!H323Connection::OpenVideoChannel(int isEncoding=1,
H323VideoCodec & codec={...}) Line 4361
C++
MyPhone.exe!H323VideoCodec::Open(H323Connection &
connection={...}) Line 587
C++
MyPhone.exe!H323_RTPChannel::Open()
Line 1171 + 0x18 C++
MyPhone.exe!H245NegLogicalChannel::OpenWhileLocked(const H323Capability
& capability={...}, unsigned int sessionID=2, unsigned int
replacementFor=0, unsigned int roleLabel=0) Line 843 +
0x19 C++
MyPhone.exe!H245NegLogicalChannel::Open(const H323Capability &
capability={...}, unsigned int sessionID=2, unsigned int replacementFor=0,
unsigned int roleLabel=0) Line 754 + 0x1b
C++
MyPhone.exe!H245NegLogicalChannels::Open(const H323Capability &
capability={...}, unsigned int sessionID=2, H323ChannelNumber &
channelnumber={...}, unsigned int replacementFor=0, unsigned int
roleLabel=0) Line 1285
C++
MyPhone.exe!H245NegLogicalChannels::Open(const H323Capability &
capability={...}, unsigned int sessionID=2, unsigned int
replacementFor=0) Line 1262 + 0x1d
C++
MyPhone.exe!H323Connection::OpenLogicalChannel(const H323Capability &
capability={...}, unsigned int sessionID=2, H323Channel::Directions
dir=IsTransmitter) Line 4026 + 0x21
C++
MyPhone.exe!H323Connection::SelectDefaultLogicalChannel(unsigned int
sessionID=2) Line 3978 + 0x18
C++
MyPhone.exe!H323Connection::OnSelectLogicalChannels() Line
3923 C++
MyPhone.exe!H323Connection::InternalEstablishedConnectionCheck() Line
3887 C++
MyPhone.exe!H323Connection::HandleControlData(PPER_Stream &
strm={...}) Line 3040
C++
MyPhone.exe!H323Connection::HandleReceivedControlPDU(int readStatus=1,
PPER_Stream & strm={...}) Line 2968 + 0x12
C++
MyPhone.exe!H323Connection::HandleControlChannel() Line 2950 +
0x13 C++
MyPhone.exe!H245TransportThread::Main() Line 694
C++
MyPhone.exe!PThread::MainFunction(void *
threadPtr=0x0160fa48) Line 1268
C++
msvcr71d.dll!_threadstartex(void *
ptd=0x0160ff48) Line 241 + 0xd
C
kernel32.dll!7c80b683()
Best regards,
-----
Mensaje original ----
De: Simon Horne
<s.horne(a)packetizer.com>
Para: JF NP
<jfnp090274(a)yahoo.es>
CC: H323plus
<h323plus(a)lists.packetizer.com>
Enviado: martes, 12 de febrero,
2008 2:09:55
Asunto: RE: [h323plus] MyPhone 0.4
Released
H323PluginVideoCodec::SetMaxBitRate() sends a
messages "Max Bit Rate" to the
plugin codec to set the maximum bitrate.
This function also overrides
H323VideoCodec::SetMaxBitRate() since
H323PluginVideoCodec is a descendent
of H323VideoCodec so the problem
most likely is in the plugin codec not
setting the max bit rate. I
suggest you look at the H.263 plugin codec
perhaps there is something
missing.
Simon
> -----Original Message-----
> From:
h323plus-bounces(a)lists.packetizer.com
>
[mailto:h323plus-bounces@lists.packetizer.com]On
Behalf Of JF NP
> Sent: Tuesday, February 12, 2008 2:50 AM
> To:
H323plus
> Subject: Re: [h323plus] MyPhone 0.4
Released
>
>
> Hi,
>
> I've downloaded the
latest version of the plugin
> codecs from the CVS, and I've seen that
the frames are
> being grabbed at 10 fps.
> Additional testing
has showed me that the problem
> seems to be with the following line
of code, in
> CMyPhoneEndPoint::OpenVideoChannel:
>
codec.SetMaxBitRate(videoBitRate * 1024);
>
> I think that the
problem is that codec is an instance
> of H323VideoCodec, and the
implementation of
> H323VideoCodec::SetMaxBitRate does nothing but
an
> assignment. I think that what it should be called is
>
H323PluginVideoCodec::SetMaxBitRate, which is in fact
> a descendant
of H323VideoCodec. I've tried to do a
> cast from H323VideoCodec to
H323PluginVideoCodec, but
> I get compilation erros due to the
undefined class
> H323PluginVideoCodec, because in fact it is defined
in
> a *.cxx file, not a *.h.
>
> Am I correct? Or am I
missing something?
>
> Best regards,
>
> --- Simon
Horne <s.horne(a)packetizer.com>
escribió:
>
> > This is strange. The bitrate is sent to the
plugin
> > codec. What codec are you using? what version of
>
> h323plus and how old is your video plugin? I updated
> > the
H.263 plugin about a month or so ago, prior to
> > that it just
ignored these settings so that might be
> > the problem.
>
>
> > From the tracefile make sure the video frames are
>
> being grabbed at the right fps (for 10 fps every
> >
100ms)
> >
> > Simon
> > -----Original
Message-----
> > From: h323plus-bounces(a)lists.packetizer.com
>
> [mailto:h323plus-bounces@lists.packetizer.com]On
>
> Behalf Of JF NP
> > Sent: Friday, February 08, 2008 8:57
PM
> > To: H323plus
> > Subject: Re:
[h323plus] MyPhone 0.4 Released
> >
> >
> >
Hi, Simon:
> >
> > I've downloaded the latest CVS
code with the
> > support for bitrate, fps and Adaptive packet
delay.
> > But it seems that MyPhone2 is not using the
> >
settings. Let me explain this:
> > 1. I've configured the
following vlues for video:
> > fps = 10, Maxbitrate =50 kbit/s. and
quality = 15.
> > Size = QCIF.
> > 2. If I capture
the video packets with Wireskark,
> > I can see that the bitrate is
about 300kbit/s.
> >
> > Where is the problem? Am I
missing any additional
> > setup?
> >
> >
Best regards,
> >
> >
> > ----- Mensaje
original ----
> > De: Simon Horne <s.horne(a)packetizer.com>
>
> Para: JF NP <jfnp090274(a)yahoo.es>;
H323plus
> > <h323plus(a)lists.packetizer.com>
>
> Enviado: viernes, 8 de febrero, 2008 3:53:05
> >
Asunto: RE: [h323plus] MyPhone 0.4 Released
> >
> >

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

> > looks like you are right.
> > I have
added support for bitrate, fps and also
> > adaptive packet delay to
the CVS.
> >
> > Simon
> >
-----Original Message-----
> > From: h323plus-bounces(a)lists.packetizer.com
>
> [mailto:h323plus-bounces@lists.packetizer.com]On
>
> Behalf Of JF NP
> > Sent: Thursday, February 07,
2008 8:44 PM
> > To: H323plus
> >
Subject: Re: [h323plus] MyPhone 0.4 Released
> >
> >
>
> Hi,
> >
> > I'v been looking
at MyPhone2 0.4 source code,
> > and I was wondering how is the
videobitrate, fps,
> > etc... managed, because I've seen that all of
this
> > parameters are read from the configuration, but they
>
> are never used.
> >
> > Best
regards,
> >
> >
> > ----- Mensaje
original ----
> > De: Simon Horne <s.horne(a)packetizer.com>
>
> Para: H323plus <h323plus(a)lists.packetizer.com>
>
> Enviado: viernes, 1 de febrero, 2008 21:57:15
>
> Asunto: [h323plus] MyPhone 0.4 Released
> >
>
>
> > Guys
> >
> > I
have uploaded MyPhone 0.4 installer to the
> > h323plus website to
garnish
> > some feedback on the upcoming 1.20 release
on
> > h323plus.
> > Download here
>
>
> >
> http://www.h323plus.org/source/download/MyPhoneSetup04.exe
>
> (2.12Mb)
> >
> > Important
Features
> > Native NAT traversal with GnuGk : This uses
the
> > new GnuGk NAT module now in
> >
H323plus. You can send and receive calls behind
> > a NAT when
registered to
> > GnuGk on the public internet. The
only
> > requirement is that you enable
> >
SupportNatedEndpoints in GnuGk. Note this is the
> > GnuGk NAT
Method
> > http://www.gnugk.org/nat-traversal.html. It is
> >
not the standard H.460.18/19.
> >
> > Built off
the latest h323plus CVS. (hopefully
> > the baseline for
v1.20)
> >
> > Notes:
> >
To run in debug mode start myphone with
> > commandline switches
-ttttt (number
> > of t indicate tracelevel)
>
> After Install adjust the audio and video codecs
> >
to your preferred order.
> > G.711 & H.261 are the
default.
> >
> > The installer contains the
full myphone2 source
> > code. The exe was built with
>
> vs2003. If you wish to build it with a later
> >
version of visual studio,
> > although not tested, you
will need the $ version
> > as the express version does
>
> not seem to support MFC.
> >
> >
Hopefully next week if there are not too many
> > problems we
will do the
> > snapshot and release v1.20.
>
>
> > Simon
> >
> >
>
>
> >
> >
> >
> >
> >
>
------------------------------------------------------------------
>
----------
> >
> > ¿Con Mascota por primera
vez? - Sé un mejor
> > Amigo
> > Entra en
Yahoo! Respuestas.
> >
> >
> >
> >
>
>
> >
>
------------------------------------------------------------------
>
------------
> >
> > ¿Con Mascota por primera vez? -
Sé un mejor
> > Amigo
> > Entra en Yahoo!
Respuestas.
> >
>
>
>
>
>
______________________________________________
> ¿Con Mascota por
primera vez? Sé un mejor Amigo. Entra en Yahoo!
> Respuestas http://es.answers.yahoo.com/info/welcome
¿Con Mascota por primera vez? - Sé un mejor
Amigo
Entra
en Yahoo! Respuestas.
______________________________________________
¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas http://es.answers.yahoo.com/info/welcome
2
1
Hello!
Can't compile Ptlib plugins and H.323 Plus on RHEL4. Please suggest what
should I do.
Ptlib:
make opt
g++ -DP_USE_PRAGMA -D_REENTRANT -fno-exceptions -Wall -fPIC -DPIC
-DNDEBUG -I/usr/local/dev/h323plus/ptlib/include \
-L/usr/local/dev/h323plus/ptlib/lib \
vidinput_names.cxx \
-I. -shared vidinput_v4l2.cxx -o ../pwlib/device/videoinput/v4l2_pwplugin.so
In file included from vidinput_v4l2.cxx:143:
vidinput_v4l2.h:165: error: field `videoCapability' has incomplete type
vidinput_v4l2.h:166: error: field `videoStreamParm' has incomplete type
vidinput_v4l2.cxx:217: error: `V4L2_PIX_FMT_GREY' was not declared in this
scope
vidinput_v4l2.cxx:218: error: `V4L2_PIX_FMT_RGB32' was not declared in this
scope
vidinput_v4l2.cxx:219: error: `V4L2_PIX_FMT_BGR32' was not declared in this
scope
vidinput_v4l2.cxx:220: error: `V4L2_PIX_FMT_RGB24' was not declared in this
scope
vidinput_v4l2.cxx:221: error: `V4L2_PIX_FMT_BGR24' was not declared in this
scope
vidinput_v4l2.cxx:222: error: `V4L2_PIX_FMT_RGB565' was not declared in this
scope
vidinput_v4l2.cxx:223: error: `V4L2_PIX_FMT_RGB555' was not declared in this
scope
vidinput_v4l2.cxx:224: error: `V4L2_PIX_FMT_Y41P' was not declared in this
scope
vidinput_v4l2.cxx:225: error: `V4L2_PIX_FMT_YUV411P' was not declared in
this scope
vidinput_v4l2.cxx:226: error: `V4L2_PIX_FMT_NV21' was not declared in this
scope
vidinput_v4l2.cxx:227: error: `V4L2_PIX_FMT_YUV420' was not declared in this
scope
vidinput_v4l2.cxx:228: error: `V4L2_PIX_FMT_YUYV' was not declared in this
scope
vidinput_v4l2.cxx:229: error: `V4L2_PIX_FMT_YUV422P' was not declared in
this scope
vidinput_v4l2.cxx:230: error: `V4L2_PIX_FMT_YUYV' was not declared in this
scope
vidinput_v4l2.cxx:231: error: `V4L2_PIX_FMT_JPEG' was not declared in this
scope
vidinput_v4l2.cxx:232: error: `v4l2_fourcc' was not declared in this scope
vidinput_v4l2.cxx:233: error: `v4l2_fourcc' was not declared in this scope
vidinput_v4l2.cxx:234: error: `V4L2_PIX_FMT_MJPEG' was not declared in this
scope
vidinput_v4l2.cxx:235: error: `V4L2_PIX_FMT_UYVY' was not declared in this
scope
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::Open(const PString&, BOOL)':
vidinput_v4l2.cxx:270: error: `VIDIOC_QUERYCAP' undeclared (first use this
function)
vidinput_v4l2.cxx:270: error: (Each undeclared identifier is reported only
once for each function it appears in.)
vidinput_v4l2.cxx:270: error: `videoCapability' undeclared (first use this
function)
vidinput_v4l2.cxx:277: error: `V4L2_CAP_READWRITE' undeclared (first use
this function)
vidinput_v4l2.cxx:278: error: `V4L2_CAP_STREAMING' undeclared (first use
this function)
vidinput_v4l2.cxx:279: error: `V4L2_CAP_ASYNCIO' undeclared (first use this
function)
vidinput_v4l2.cxx:287: error: `videoStreamParm' undeclared (first use this
function)
vidinput_v4l2.cxx:287: error: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared
(first use this function)
vidinput_v4l2.cxx:288: error: `VIDIOC_G_PARM' undeclared (first use this
function)
vidinput_v4l2.cxx:295: error: `V4L2_CAP_TIMEPERFRAME' undeclared (first use
this function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::Start()':
vidinput_v4l2.cxx:349: error: aggregate `v4l2_buffer buf' has incomplete
type and cannot be defined
vidinput_v4l2.cxx:353: error: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared
(first use this function)
vidinput_v4l2.cxx:354: error: `V4L2_MEMORY_MMAP' undeclared (first use this
function)
vidinput_v4l2.cxx:357: error: `VIDIOC_QBUF' undeclared (first use this
function)
vidinput_v4l2.cxx:365: error: use of enum `v4l2_buf_type' without previous
declaration
vidinput_v4l2.cxx:365: error: invalid type in declaration before ';' token
vidinput_v4l2.cxx:368: error: `VIDIOC_STREAMON' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::Stop()':
vidinput_v4l2.cxx:385: error: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared
(first use this function)
vidinput_v4l2.cxx:388: error: `VIDIOC_STREAMOFF' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::SetVideoFormat(PVideoDevice::VideoFormat)':
vidinput_v4l2.cxx:434: error: `V4L2_STD_PAL' undeclared (first use this
function)
vidinput_v4l2.cxx:435: error: `V4L2_STD_NTSC' undeclared (first use this
function)
vidinput_v4l2.cxx:436: error: `V4L2_STD_SECAM' undeclared (first use this
function)
vidinput_v4l2.cxx:439: error: `VIDIOC_S_STD' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual int
PVideoInputDevice_V4L2::GetNumChannels()':
vidinput_v4l2.cxx:454: error: aggregate `v4l2_input videoEnumInput' has
incomplete type and cannot be defined
vidinput_v4l2.cxx:457: error: `VIDIOC_ENUMINPUT' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::SetChannel(int)':
vidinput_v4l2.cxx:479: error: `VIDIOC_S_INPUT' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::SetColourFormat(const PString&)':
vidinput_v4l2.cxx:518: error: aggregate `v4l2_format videoFormat' has
incomplete type and cannot be defined
vidinput_v4l2.cxx:519: error: invalid application of `sizeof' to incomplete
type `v4l2_format'
vidinput_v4l2.cxx:520: error: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared
(first use this function)
vidinput_v4l2.cxx:523: error: aggregate `v4l2_streamparm streamParm' has
incomplete type and cannot be defined
vidinput_v4l2.cxx:526: error: `VIDIOC_G_PARM' undeclared (first use this
function)
vidinput_v4l2.cxx:527: error: `V4L2_CAP_TIMEPERFRAME' undeclared (first use
this function)
vidinput_v4l2.cxx:535: error: `VIDIOC_G_FMT' undeclared (first use this
function)
vidinput_v4l2.cxx:543: error: `VIDIOC_S_FMT' undeclared (first use this
function)
vidinput_v4l2.cxx:561: error: `VIDIOC_S_PARM' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::SetFrameRate(unsigned int)':
vidinput_v4l2.cxx:589: error: `videoStreamParm' undeclared (first use this
function)
vidinput_v4l2.cxx:593: error: `VIDIOC_S_PARM' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::GetFrameSizeLimits(unsigned int&, unsigned int&,
unsigned int&, unsigned int&)':
vidinput_v4l2.cxx:619: error: aggregate `v4l2_format fmt' has incomplete
type and cannot be defined
vidinput_v4l2.cxx:620: error: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared
(first use this function)
vidinput_v4l2.cxx:621: error: `VIDIOC_G_FMT' undeclared (first use this
function)
vidinput_v4l2.cxx:626: error: `VIDIOC_TRY_FMT' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `BOOL
PVideoInputDevice_V4L2::SetMapping()':
vidinput_v4l2.cxx:671: error: aggregate `v4l2_requestbuffers reqbuf' has
incomplete type and cannot be defined
vidinput_v4l2.cxx:673: error: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared
(first use this function)
vidinput_v4l2.cxx:674: error: `V4L2_MEMORY_MMAP' undeclared (first use this
function)
vidinput_v4l2.cxx:676: error: `VIDIOC_REQBUFS' undeclared (first use this
function)
vidinput_v4l2.cxx:680: error: missing `>' to terminate the template argument
list
vidinput_v4l2.cxx:680: error: missing `>' to terminate the template argument
list
vidinput_v4l2.cxx:689: error: aggregate `v4l2_buffer buf' has incomplete
type and cannot be defined
vidinput_v4l2.cxx:696: error: `VIDIOC_QUERYBUF' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `void
PVideoInputDevice_V4L2::ClearMapping()':
vidinput_v4l2.cxx:721: error: aggregate `v4l2_buffer buf' has incomplete
type and cannot be defined
vidinput_v4l2.cxx:722: error: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared
(first use this function)
vidinput_v4l2.cxx:723: error: `V4L2_MEMORY_MMAP' undeclared (first use this
function)
vidinput_v4l2.cxx:726: error: `VIDIOC_QUERYBUF' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::GetFrameDataNoDelay(BYTE*, PINDEX*)':
vidinput_v4l2.cxx:758: error: aggregate `v4l2_buffer buf' has incomplete
type and cannot be defined
vidinput_v4l2.cxx:759: error: invalid application of `sizeof' to incomplete
type `v4l2_buffer'
vidinput_v4l2.cxx:760: error: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared
(first use this function)
vidinput_v4l2.cxx:761: error: `V4L2_MEMORY_MMAP' undeclared (first use this
function)
vidinput_v4l2.cxx:764: error: `VIDIOC_DQBUF' undeclared (first use this
function)
vidinput_v4l2.cxx:789: error: `VIDIOC_QBUF' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `BOOL
PVideoInputDevice_V4L2::VerifyHardwareFrameSize(unsigned int, unsigned
int)':
vidinput_v4l2.cxx:832: error: aggregate `v4l2_format videoFormat' has
incomplete type and cannot be defined
vidinput_v4l2.cxx:833: error: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared
(first use this function)
vidinput_v4l2.cxx:834: error: aggregate `v4l2_streamparm streamParm' has
incomplete type and cannot be defined
vidinput_v4l2.cxx:839: error: `VIDIOC_G_FMT' undeclared (first use this
function)
vidinput_v4l2.cxx:846: error: `VIDIOC_G_PARM' undeclared (first use this
function)
vidinput_v4l2.cxx:847: error: `V4L2_CAP_TIMEPERFRAME' undeclared (first use
this function)
vidinput_v4l2.cxx:858: error: `VIDIOC_S_FMT' undeclared (first use this
function)
vidinput_v4l2.cxx:878: error: `VIDIOC_S_PARM' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `int
PVideoInputDevice_V4L2::GetControlCommon(unsigned int, int*)':
vidinput_v4l2.cxx:902: error: aggregate `v4l2_queryctrl q' has incomplete
type and cannot be defined
vidinput_v4l2.cxx:903: error: invalid application of `sizeof' to incomplete
type `v4l2_queryctrl'
vidinput_v4l2.cxx:905: error: `VIDIOC_QUERYCTRL' undeclared (first use this
function)
vidinput_v4l2.cxx:908: error: aggregate `v4l2_control c' has incomplete type
and cannot be defined
vidinput_v4l2.cxx:909: error: invalid application of `sizeof' to incomplete
type `v4l2_control'
vidinput_v4l2.cxx:911: error: `VIDIOC_G_CTRL' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual int
PVideoInputDevice_V4L2::GetBrightness()':
vidinput_v4l2.cxx:920: error: `V4L2_CID_BRIGHTNESS' undeclared (first use
this function)
vidinput_v4l2.cxx: In member function `virtual int
PVideoInputDevice_V4L2::GetWhiteness()':
vidinput_v4l2.cxx:925: error: `V4L2_CID_WHITENESS' undeclared (first use
this function)
vidinput_v4l2.cxx: In member function `virtual int
PVideoInputDevice_V4L2::GetColour()':
vidinput_v4l2.cxx:930: error: `V4L2_CID_SATURATION' undeclared (first use
this function)
vidinput_v4l2.cxx: In member function `virtual int
PVideoInputDevice_V4L2::GetContrast()':
vidinput_v4l2.cxx:935: error: `V4L2_CID_CONTRAST' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual int
PVideoInputDevice_V4L2::GetHue()':
vidinput_v4l2.cxx:940: error: `V4L2_CID_HUE' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `BOOL
PVideoInputDevice_V4L2::SetControlCommon(unsigned int, int)':
vidinput_v4l2.cxx:961: error: aggregate `v4l2_queryctrl q' has incomplete
type and cannot be defined
vidinput_v4l2.cxx:962: error: invalid application of `sizeof' to incomplete
type `v4l2_queryctrl'
vidinput_v4l2.cxx:964: error: `VIDIOC_QUERYCTRL' undeclared (first use this
function)
vidinput_v4l2.cxx:967: error: aggregate `v4l2_control c' has incomplete type
and cannot be defined
vidinput_v4l2.cxx:968: error: invalid application of `sizeof' to incomplete
type `v4l2_control'
vidinput_v4l2.cxx:975: error: `VIDIOC_S_CTRL' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::SetBrightness(unsigned int)':
vidinput_v4l2.cxx:983: error: `V4L2_CID_BRIGHTNESS' undeclared (first use
this function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::SetWhiteness(unsigned int)':
vidinput_v4l2.cxx:991: error: `V4L2_CID_WHITENESS' undeclared (first use
this function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::SetColour(unsigned int)':
vidinput_v4l2.cxx:1000: error: `V4L2_CID_SATURATION' undeclared (first use
this function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::SetContrast(unsigned int)':
vidinput_v4l2.cxx:1008: error: `V4L2_CID_CONTRAST' undeclared (first use
this function)
vidinput_v4l2.cxx: In member function `virtual BOOL
PVideoInputDevice_V4L2::SetHue(unsigned int)':
vidinput_v4l2.cxx:1016: error: `V4L2_CID_HUE' undeclared (first use this
function)
vidinput_v4l2.cxx: In member function `virtual void V4L2Names::Update()':
vidinput_v4l2.cxx:1092: error: aggregate `v4l2_capability videoCaps' has
incomplete type and cannot be defined
vidinput_v4l2.cxx:1095: error: `VIDIOC_QUERYCAP' undeclared (first use this
function)
vidinput_v4l2.cxx:1096: error: `V4L2_CAP_VIDEO_CAPTURE' undeclared (first
use this function)
vidinput_v4l2.cxx: In member function `virtual PString
V4L2Names::BuildUserFriendly(PString)':
vidinput_v4l2.cxx:1144: error: aggregate `v4l2_capability videocap' has
incomplete type and cannot be defined
vidinput_v4l2.cxx:1146: error: `VIDIOC_QUERYCAP' undeclared (first use this
function)
make[2]: *** [../pwlib/device/videoinput/v4l2_pwplugin.so] Error 1
make[2]: Leaving directory
`/usr/local/dev/h323plus/ptlib_v1_12_0/plugins/vidinput_v4l2'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/usr/local/dev/h323plus/ptlib_v1_12_0/plugins'
make: *** [opt] Error 2
H.323 Plus:
make opt
g++ -DP_USE_PRAGMA -D_REENTRANT -fno-exceptions -Wall -fPIC -DPIC
-DNDEBUG -DPTRACING -I/usr/local/dev/h323plus/openh323/include
-I/usr/local/dev/h323plus/ptlib/include -Os -felide-constructors -Wreorder
-c h323filetransfer.cxx -o
/usr/local/dev/h323plus/openh323/lib/obj_linux_x86_r/h323filetransfer.o
h323filetransfer.cxx: In member function `BOOL
H323FileTransferCapability::OnReceivedPDU(const H245_GenericCapability&)':
h323filetransfer.cxx:158: error: passing `const H245_ParameterIdentifier' as
`this' argument of `PASN_Choice::operator PASN_Integer&()' discards
qualifiers
h323filetransfer.cxx:160: error: passing `const H245_ParameterValue' as
`this' argument of `PASN_Choice::operator PASN_Integer&()' discards
qualifiers
h323filetransfer.cxx: In member function `virtual BOOL
H323FileTransferChannel::Start()':
h323filetransfer.cxx:302: warning: casting `H323Capability*' to `const
H323FileTransferCapability&' does not dereference pointer
h323filetransfer.cxx:305: warning: casting `H323Capability*' to `const
H323FileTransferCapability&' does not dereference pointer
h323filetransfer.cxx: In member function `H323FilePacket::opcodes
H323FilePacket::GetPacketType()':
h323filetransfer.cxx:1342: warning: cast to pointer from integer of
different size
make[1]: ***
[/usr/local/dev/h323plus/openh323/lib/obj_linux_x86_r/h323filetransfer.o]
Error 1
make[1]: Leaving directory `/usr/local/dev/h323plus/h323plus/src'
make: *** [opt] Error 2
gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
4
5
I,m sorry, Simon. It was my mistake. Now, it seems to work.
Thank you,
----- Mensaje original ----
De: Simon Horne <s.horne(a)packetizer.com>
Para: JF NP <jfnp090274(a)yahoo.es>
CC: H323plus <h323plus(a)lists.packetizer.com>
Enviado: martes, 12 de febrero, 2008 9:02:48
Asunto: RE: [h323plus] MyPhone 0.4 Released
DIV {
MARGIN:0px;}
Ya'oops when a
decendent is not a descendent. :( I have checked in a fix to h323plus
CVS so the correct H323PluginVideoCodec::SetMaxBitRate() is
called.
Thanks
again
Simon
-----Original Message-----
From:
h323plus-bounces(a)lists.packetizer.com
[mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of JF
NP
Sent: Tuesday, February 12, 2008 5:48 PM
To:
H323plus
Subject: Re: [h323plus] MyPhone 0.4
Released
Hi,
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:
>
MyPhone.exe!H323VideoCodec::SetMaxBitRate(unsigned int bitRate=52428800)
Line 737 C++
MyPhone.exe!CMyPhoneEndPoint::OpenVideoChannel(H323Connection &
connection={...}, int isEncoding=1, H323VideoCodec & codec={...})
Line 522 + 0x1d C++
MyPhone.exe!H323Connection::OpenVideoChannel(int isEncoding=1, H323VideoCodec
& codec={...}) Line 4361
C++
MyPhone.exe!H323VideoCodec::Open(H323Connection & connection={...})
Line 587 C++
MyPhone.exe!H323_RTPChannel::Open() Line 1171 + 0x18
C++
MyPhone.exe!H245NegLogicalChannel::OpenWhileLocked(const H323Capability &
capability={...}, unsigned int sessionID=2, unsigned int replacementFor=0,
unsigned int roleLabel=0) Line 843 + 0x19
C++
MyPhone.exe!H245NegLogicalChannel::Open(const
H323Capability & capability={...}, unsigned int sessionID=2, unsigned int
replacementFor=0, unsigned int roleLabel=0) Line 754 +
0x1b C++
MyPhone.exe!H245NegLogicalChannels::Open(const H323Capability &
capability={...}, unsigned int sessionID=2, H323ChannelNumber &
channelnumber={...}, unsigned int replacementFor=0, unsigned int
roleLabel=0) Line 1285 C++
MyPhone.exe!H245NegLogicalChannels::Open(const H323Capability &
capability={...}, unsigned int sessionID=2, unsigned int
replacementFor=0) Line 1262 + 0x1d
C++
MyPhone.exe!H323Connection::OpenLogicalChannel(const H323Capability &
capability={...}, unsigned int sessionID=2, H323Channel::Directions
dir=IsTransmitter) Line 4026 + 0x21
C++
MyPhone.exe!H323Connection::SelectDefaultLogicalChannel(unsigned int
sessionID=2) Line 3978 + 0x18
C++
MyPhone.exe!H323Connection::OnSelectLogicalChannels() Line
3923 C++
MyPhone.exe!H323Connection::InternalEstablishedConnectionCheck() Line
3887 C++
MyPhone.exe!H323Connection::HandleControlData(PPER_Stream &
strm={...}) Line 3040 C++
MyPhone.exe!H323Connection::HandleReceivedControlPDU(int readStatus=1,
PPER_Stream & strm={...}) Line 2968 + 0x12
C++
MyPhone.exe!H323Connection::HandleControlChannel() Line 2950 +
0x13 C++
MyPhone.exe!H245TransportThread::Main() Line 694
C++
MyPhone.exe!PThread::MainFunction(void *
threadPtr=0x0160fa48) Line 1268
C++
msvcr71d.dll!_threadstartex(void *
ptd=0x0160ff48) Line 241 + 0xd
C
kernel32.dll!7c80b683()
Best regards,
-----
Mensaje original ----
De: Simon Horne
<s.horne(a)packetizer.com>
Para: JF NP
<jfnp090274(a)yahoo.es>
CC: H323plus
<h323plus(a)lists.packetizer.com>
Enviado: martes, 12 de febrero, 2008
2:09:55
Asunto: RE: [h323plus] MyPhone 0.4
Released
H323PluginVideoCodec::SetMaxBitRate() sends a messages
"Max Bit Rate" to the
plugin codec to set the maximum bitrate. This
function also overrides
H323VideoCodec::SetMaxBitRate() since
H323PluginVideoCodec is a descendent
of H323VideoCodec so the problem most
likely is in the plugin codec not
setting the max bit rate. I suggest you
look at the H.263 plugin codec
perhaps there is something
missing.
Simon
> -----Original Message-----
> From: h323plus-bounces(a)lists.packetizer.com
>
[mailto:h323plus-bounces@lists.packetizer.com]On
Behalf Of JF NP
> Sent: Tuesday, February 12, 2008 2:50 AM
> To:
H323plus
> Subject: Re: [h323plus] MyPhone 0.4
Released
>
>
> Hi,
>
> I've downloaded the
latest version of the plugin
> codecs from the CVS, and I've seen that
the frames are
> being grabbed at 10 fps.
> Additional testing has
showed me that the problem
> seems to be with the following line of
code, in
> CMyPhoneEndPoint::OpenVideoChannel:
>
codec.SetMaxBitRate(videoBitRate * 1024);
>
> I think that the
problem is that codec is an instance
> of H323VideoCodec, and the
implementation of
> H323VideoCodec::SetMaxBitRate does nothing but
an
> assignment. I think that what it should be called is
>
H323PluginVideoCodec::SetMaxBitRate, which is in fact
> a descendant of
H323VideoCodec. I've tried to do a
> cast from H323VideoCodec to
H323PluginVideoCodec, but
> I get compilation erros due to the undefined
class
> H323PluginVideoCodec, because in fact it is defined in
> a
*.cxx file, not a *.h.
>
> Am I correct? Or am I missing
something?
>
> Best regards,
>
> --- Simon Horne
<s.horne(a)packetizer.com>
escribió:
>
> > This is strange. The bitrate is sent to the
plugin
> > codec. What codec are you using? what version of
>
> h323plus and how old is your video plugin? I updated
> > the
H.263 plugin about a month or so ago, prior to
> > that it just
ignored these settings so that might be
> > the problem.
>
>
> > From the tracefile make sure the video frames are
>
> being grabbed at the right fps (for 10 fps every
> >
100ms)
> >
> > Simon
> > -----Original
Message-----
> > From: h323plus-bounces(a)lists.packetizer.com
>
> [mailto:h323plus-bounces@lists.packetizer.com]On
>
> Behalf Of JF NP
> > Sent: Friday, February 08, 2008 8:57
PM
> > To: H323plus
> > Subject: Re: [h323plus]
MyPhone 0.4 Released
> >
> >
> > Hi,
Simon:
> >
> > I've downloaded the latest CVS code
with the
> > support for bitrate, fps and Adaptive packet
delay.
> > But it seems that MyPhone2 is not using the
> >
settings. Let me explain this:
> > 1. I've configured the
following vlues for video:
> > fps = 10, Maxbitrate =50 kbit/s. and
quality = 15.
> > Size = QCIF.
> > 2. If I capture the
video packets with Wireskark,
> > I can see that the bitrate is about
300kbit/s.
> >
> > Where is the problem? Am I missing
any additional
> > setup?
> >
> > Best
regards,
> >
> >
> > ----- Mensaje original
----
> > De: Simon Horne <s.horne(a)packetizer.com>
>
> Para: JF NP <jfnp090274(a)yahoo.es>;
H323plus
> > <h323plus(a)lists.packetizer.com>
>
> Enviado: viernes, 8 de febrero, 2008 3:53:05
> >
Asunto: RE: [h323plus] MyPhone 0.4 Released
> >
> >

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

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

>
>
looks
like
you
are
right.
>
>
I
have
added
support
for
bitrate,
fps
and
also
>
>
adaptive
packet
delay
to
the
CVS.
>
>
>
>
Simon
>
>
-----Original
Message-----
>
>
From:
h323plus-bounces(a)lists.packetizer.com
>
>
[mailto:h323plus-bounces@lists.packetizer.com]On
>
>
Behalf
Of
JF
NP
>
>
Sent:
Thursday,
February
07,
2008
8:44
PM
>
>
To:
H323plus
>
>
Subject:
Re:
[h323plus]
MyPhone
0.4
Released
>
>
>
>
>
>
Hi,
>
>
>
>
I'v
been
looking
at
MyPhone2
0.4
source
code,
>
>
and
I
was
wondering
how
is
the
videobitrate,
fps,
>
>
etc...
managed,
because
I've
seen
that
all
of
this
>
>
parameters
are
read
from
the
configuration,
but
they
>
>
are
never
used.
>
>
>
>
Best
regards,
>
>
>
>
>
>
-----
Mensaje
original
----
>
>
De:
Simon
Horne
<s.horne(a)packetizer.com>
>
>
Para:
H323plus
<h323plus(a)lists.packetizer.com>
>
>
Enviado:
viernes,
1
de
febrero,
2008
21:57:15
>
>
Asunto:
[h323plus]
MyPhone
0.4
Released
>
>
>
>
>
>
Guys
>
>
>
>
I
have
uploaded
MyPhone
0.4
installer
to
the
>
>
h323plus
website
to
garnish
>
>
some
feedback
on
the
upcoming
1.20
release
on
>
>
h323plus.
>
>
Download
here
>
>
>
>
>
http://www.h323plus.org/source/download/MyPhoneSetup04.exe
>
>
(2.12Mb)
>
>
>
>
Important
Features
>
>
Native
NAT
traversal
with
GnuGk
:
This
uses
the
>
>
new
GnuGk
NAT
module
now
in
>
>
H323plus.
You
can
send
and
receive
calls
behind
>
>
a
NAT
when
registered
to
>
>
GnuGk
on
the
public
internet.
The
only
>
>
requirement
is
that
you
enable
>
>
SupportNatedEndpoints
in
GnuGk.
Note
this
is
the
>
>
GnuGk
NAT
Method
>
>
http://www.gnugk.org/nat-traversal.html.
It
is
>
>
not
the
standard
H.460.18/19.
>
>
>
>
Built
off
the
latest
h323plus
CVS.
(hopefully
>
>
the
baseline
for
v1.20)
>
>
>
>
Notes:
>
>
To
run
in
debug
mode
start
myphone
with
>
>
commandline
switches
-ttttt
(number
>
>
of
t
indicate
tracelevel)
>
>
After
Install
adjust
the
audio
and
video
codecs
>
>
to
your
preferred
order.
>
>
G.711
&
H.261
are
the
default.
>
>
>
>
The
installer
contains
the
full
myphone2
source
>
>
code.
The
exe
was
built
with
>
>
vs2003.
If
you
wish
to
build
it
with
a
later
>
>
version
of
visual
studio,
>
>
although
not
tested,
you
will
need
the
$
version
>
>
as
the
express
version
does
>
>
not
seem
to
support
MFC.
>
>
>
>
Hopefully
next
week
if
there
are
not
too
many
>
>
problems
we
will
do
the
>
>
snapshot
and
release
v1.20.
>
>
>
>
Simon
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
------------------------------------------------------------------
>
----------
>
>
>
>
¿Con
Mascota
por
primera
vez?
-
Sé
un
mejor
>
>
Amigo
>
>
Entra
en
Yahoo!
Respuestas.
>
>
>
>
>
>
>
>
>
>
>
>
>
------------------------------------------------------------------
>
------------
>
>
>
>
¿Con
Mascota
por
primera
vez?
-
Sé
un
mejor
>
>
Amigo
>
>
Entra
en
Yahoo!
Respuestas.
>
>
>
>
>
>
>
______________________________________________
>
¿Con
Mascota
por
primera
vez?
Sé
un
mejor
Amigo.
Entra
en
Yahoo!
>
Respuestas
http://es.answers.yahoo.com/info/welcome
______________________________________________
¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas http://es.answers.yahoo.com/info/welcome
2
1