<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Simon,<br><br>Thanks for your quick answer, just noticed that I had a bad thread name;)<br><br>Well, I have the codec.SetFrameSize(w, h); in my OpenVideoChannel<br><br>When adding capabilities I use<br><br><b>AddAllCapabilities(0, P_MAX_INDEX, "*");<br>
SetVideoFrameSize(H323Capability::cifMPI);</b><br><br>Capabilities table shows as <br><b><br></b><i><b>Set 0: 0: audio<br> 1: H.261-CIF{sw}</b><br></i><br>
I receive an OpenVideoChannel for encoder, I open channel and attach
video reader + colourConverter, just after that I receive a close video
signal from a H245Negotation, here I join Call Stack<br><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1">> testApp.exe!mmDDSVideoOutputBridge::close2() Ligne 359 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!mmVideoInputDevice::~mmVideoInputDevice() Ligne 43 + 0x1b C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!mmVideoInputDevice::`scalar deleting destructor'() + 0x2b C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!PVideoChannel::CloseVideoReader() Ligne 203 + 0x24 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!PVideoChannel::Close() Ligne 145 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!H323Codec::CloseRawDataChannel() Ligne 488 + 0x11 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!H323VideoCodec::Close() Ligne 747 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!H323Channel::CleanUpOnTermination() Ligne 716 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!H323_RTPChannel::CleanUpOnTermination() Ligne 1160 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!H245NegLogicalChannel::Release() Ligne 1219 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1">
testApp.exe!H245NegLogicalChannel::HandleCloseAck(const
H245_CloseLogicalChannelAck & __formal={...}) Ligne 1086 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1">
testApp.exe!H245NegLogicalChannels::HandleCloseAck(const
H245_CloseLogicalChannelAck & pdu={...}) Ligne 1372 + 0xf C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!H323Connection::OnH245Response(const H323ControlPDU & pdu={...}) Ligne 3293 + 0x22 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!H323Connection::HandleControlPDU(const H323ControlPDU & pdu={...}) Ligne 3189 + 0x12 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!H323Connection::HandleControlData(PPER_Stream & strm={...}) Ligne 3170 + 0x18 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1">
testApp.exe!H323Connection::HandleReceivedControlPDU(bool
readStatus=true, PPER_Stream & strm={...}) Ligne 3103 + 0x12 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!H323Connection::HandleControlChannel() Ligne 3085 + 0x13 C++</font><font style="font-size: 8pt;" size="1"><br>
</font><font style="font-size: 8pt;" size="1"> testApp.exe!H245TransportThread::Main() Ligne 700 C++</font><b><br></b><br><br>If I remove the
"SetVideoFrameSize(H323Capability::cifMPI);", I get the following capabilities set<br><br><b>1: H.261-CIF{sw}<br>
H.261-QCIF{sw}<br>
H.261{sw}</b><br><br>with exactly same strange behaviour, QCIF is not sending while CIF is being received, by the way qcif endpoint says<br><br>Local Video Codec - H.261-CIF{sw}<br>
Local Resolution - 176x144<br><br>Remote Video Codec - H.261-CIF{sw}<br>Remote Resolution - 352x288<br>
<br><br>I tried a "ReorderCapabilities(PStringArray("QCIF"));" after my
addcapabilities, I ended up with both endpoints using QCIF and ignoring
my SetFrameSize anyway!!<br><br>Is there a glitch using H323Plus video plugins? my code works perfectly on openh323 stack.<br><br>"SetVideoFrameSize(H323Capability::cifMPI);" is supposed to define a maximum video resolution?! as you said in API doc <b>"... to set the maximum framesize allowed to
the specified value "</b><br><br>Is
that usual to have H.261-CIF with a QCIF resolution? On which order
codec plugins can be added to avoid such problems of negotiation?<br><br>
Regards<br><br><hr id="stopSpelling">From: s.horne@packetizer.com<br>To: unazona@hotmail.com; h323plus@lists.packetizer.com<br>Subject: RE: [h323plus] Valid sessionID in OpenLogicalChannel command<br>Date: Fri, 15 Jan 2010 08:12:54 +1000<br><br>
<style>
.ExternalClass .ecxhmmessage P
{padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;}
.ExternalClass BODY.ecxhmmessage
{font-family:Verdana;font-size:10pt;}
</style>
<div dir="ltr" align="left"><font face="Arial"><span class="ecx442210022-14012010">Carlos</span></font></div>
<div dir="ltr" align="left"><font face="Arial"><span class="ecx442210022-14012010"></span></font> </div>
<div dir="ltr" align="left"><span class="ecx442210022-14012010">
<font face="Arial"><span class="ecx442210022-14012010">In your
derived</span></font><br>
<font face="Arial"><span class="ecx442210022-14012010"></span>H323EndPoint::OpenVideoChannel(<span class="ecx442210022-14012010">()</span></font><br>
<font face="Arial"><span class="ecx442210022-14012010"></span></font> <br>
<font face="Arial"><span class="ecx442210022-14012010">(isEncoding)</span></font><br><span class="ecx442210022-14012010">
<font face="Arial"><span class="ecx442210022-14012010">
</span>codec.SetFrameSize(w,h);</font><br>
<br>
<span class="ecx442210022-14012010"><font face="Arial">Simon</font></span><br>
<br>
<br>
<br></span></span></div><br>
<div dir="ltr" class="ecxOutlookMessageHeader" align="left" lang="en-us">
<hr>
<font face="Tahoma"><b>From:</b> h323plus-bounces@lists.packetizer.com
[mailto:h323plus-bounces@lists.packetizer.com] <b>On Behalf Of </b>Carlos
Haj<br><b>Sent:</b> Friday, 15 January 2010 12:59 AM<br><b>To:</b>
h323plus@lists.packetizer.com<br><b>Subject:</b> Re: [h323plus] Valid sessionID
in OpenLogicalChannel command<br></font><br></div>
<div id="ecxMsgContainer" class="ecxExternalClass">
<style>
.ExternalClass .ecxhmmessage P
{padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;}
.ExternalClass BODY.ecxhmmessage
{font-family:Verdana;font-size:10pt;}
</style>
Hello Guys,<br><br>I would like to have different frame sizes for two endpoints,
first I tried to play around with H323Endpoint::SetVideoFrameSize, but it seems
that part changes the maximum allowed size, which means that if I switch the
videoFrameSize to qCIF, I wouldn't be able to receive CIF from the other
endpoint. my test only received QCIF.<br><br>I tried also to modify the
OpalMediaFormat by using a GetWritableMediaFormat for a capability, that ended
with unusual CIF format while having a QCIF resolution.<br><br>On the other
hand, I looked Opal examples where they use an OpalManager, but unfortuntly that
seems incompatible with h323plus, while old openh323 tutorials and exampls don't
have any video plugins support.<br><br>How I can manage to receive and send
different resolutions (frame sizes) using H323plus?<br><br>I appreciate a lot
your help<br>Carlos<br><br><br></div><a href="http://clk.atdmt.com/FRM/go/182932252/direct/01/"></a> <br /><hr />Discute avec tes amis partout, grâce à Messenger sur ton mobile. <a href='http://www.messengersurvotremobile.com/' target='_new'>Cliquez ici !</a></body>
</html>