[Common-dev] RE: Resend new network API implementation for Symbian

[Common-dev] RE: Resend new network API implementation for Symbian

Greg Wright gwright at real.com
Tue Aug 16 12:06:59 PDT 2005


6K reduction in image size, nice.

However, no attachments came through. Could you please
resend with the attachments? Also, there is a size limit
on attachments when sending to Helix mailing lists.

You might have to send separate .txt files to each mailing
list separately (or zip them).

--greg.


Ashish.As.Gupta at nokia.com wrote:
> 
>> -----Original Message-----
>>From: 	Gupta Ashish.As (Nokia-TP-MSW/Irving)  
>>Sent:	15 August, 2005 14:00
>>To:	'client-dev at helixcommunity.org'; 'common-dev at helixcommunity.org'
>>Subject:	CR: Resend new network API implementation for Symbian
>>
>>
>>
>> -----Original Message-----
>>From: 	Gupta Ashish.As (Nokia-TP-MSW/Irving)  
>>Sent:	05 August, 2005 15:40
>>To:	client-dev at helixcommunity.org; common-dev at helixcommunity.org
>>Subject:	CR:new network API implementation for Symbian
>>
>>
>>Since rtspclient was failing in RTSPClientSession::Init when doing QI for IID_IHXConnectionBWInfo, these changes were tested by taking HXConnectionBWInfo::Create (in hxcleng.cpp) outside the HELIX_FEATURE_AUTO_BANDWIDTH_DETECTION. As Greg mentioned that right thing would be to wrap other parts of rtspclnt.cpp in that define and that I believe is outside the scope of this CR.
>>
>>
>> << File: client_core_diff.txt >>  << File: client_netwksvc_diff.txt >>  << File: common_netio_diff.txt >>  << File: build_diff.txt >> 
>>tar.gz contains all the modified and new files. Diffs are included for the modified files. << File: client.tar.gz >>  << File: common.tar.gz >>  << File: build.tar.gz >> 
>>
>>"Nokia is bound by the terms of a commercial contribution agreement with RealNetworks, and I am authorized to contribute this code under said agreement."
>>
>>Modified by:  ashish.as.gupta at nokia.com
>>
>>Reviewed by:
>>
>>Date: 08-05-2005.
>>
>>Project: Helix plugin for Symbian
>>
>>Synopsis: Implement new network API for the symbian
>>
>>This change provides the implementation for the new network API. It is defined by several new interfaces in common/include/hxnet.h. IHXSocket interface implementation provides the TCP/UDP socket functionality required by protocol and other modules. IHXSockAddrIN4 and IHXSockAddrIN6 implementation adds the support for ipv4 and ipv6 address classes. DNS resolution happens using IHXResolver interface. IHXNetServices is the glue that holds them together. 
>>
>>Asynchronous events are sent using EventPending API. Client should always be prepared to handle the blocking errors in the read call. There is only one read operation could be outstanding any point of time. Multiple writes were required to be handled with the API. Therefore, a queue is used to handle such write calls. This implementation includes following:
>>
>>-AccessPointManager uses RConnection for connecting to access point. Asynchronous network connection is always completed before using Socket and other classes. At present, the client side Bind is not asynchronous but logic is in place to make Bind asynchronous in the socket implementation. Therefore, Bind assumes that network is connected which is true in almost all the cases. GetRConnection and GetRSocketServ are exposed from the AccessPointManager.
>>
>>-Multicast socket operations are implemented.
>>
>>-CHXSockAddrIN6 address class provides the IPV6 address functionality.
>>
>>-SHIM is disabled in build/umakepf/helix-client-s60-common.pfi.
>>
>>-KSockReadConitunation flag is used to reduce the excessive use of heap on high bit rate clips. This avoids the possible loss of datagram fragment due to truncation. Socket user will receive a datagram in multiple fragments if datagram size is larger than UDP_READ_SIZE_READCONTINUATION (4k).
>>
>>
>>TODO:
>>
>>-asynchronous handling of Bind at the client side.
>>-Testing is required for IPV6 based streaming.
>>
>>
>>Testing was done with Helix Server, IMP server and QTSS. Clips tested includes 3GPP and RealMedia where the bit rate varied from 5kbps to 128 kbps.
>>
>>Files Modified: 
>>
>>client/netwksvc/symbian.pcf
>>client/netwksvc/platform/symbian/hxsymbianapman.cpp
>>client/netwksvc/pub/platform/symbian/hxsymbianapman.h
>>client/core/clntcorelib_symbian.pcf
>>client/core/hxcleng.cpp
>>common/netio/symbian.pcf
>>build/umakepf/helix-client-s60-common.pfi
>>
>>Files Added:
>>
>>common/netio/platform/symbian/hxsymbiannet.cpp
>>common/netio/platform/symbian/hxsymbiansocket.cpp
>>common/netio/platform/symbian/hxsymbianresolver.cpp
>>common/netio/platform/symbian/hxsymbiansockaddr.cpp
>>
>>common/netio/pub/platform/symbian/hxsymbiannet.h
>>common/netio/pub/platform/symbian/hxsymbiansocket.h
>>common/netio/pub/platform/symbian/hxsymbianresolver.h
>>common/netio/pub/platform/symbian/hxsymbiansockaddr.h
>>
>>client/netwksvc/platform/symbian/hxsymbianapmanao.cpp
>>client/netwksvc/platform/symbian/hxsymbianapmanao.h
>>
>>Image Size and Heap Use impact: clntcore.dll size reduced by 6420 bytes, HEAP usage reduced
>>
>>Platforms and Profiles Build Verified: helix-client-s60-basic
>>
>>Platforms and Profiles Functionality verified: thumb, emulator
>>
>>Branch: helix-restricted 
>>	 
>>Thanks
>>Ashish
> 
> 
> _______________________________________________
> Common-dev mailing list
> Common-dev at helixcommunity.org
> http://lists.helixcommunity.org/mailman/listinfo/common-dev
> 



More information about the Common-dev mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.