[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-filesystem-dev
Subject: [Filesystem-dev] Re: [Nokia-private-dev] CR: Enabling HD Streaming
From: Qiang Luo <qluo () real ! com>
Date: 2011-04-14 2:23:29
Message-ID: 4DA65AA1.3070700 () real ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Looks good.
I'm sure other platforms (say, android) can also benefit with this
change in http streaming of high bit-rate contents.
Qiang
On 4/13/2011 5:18 PM, girish.shetty@nokia.com wrote:
>
> "Nokia submits this code under the terms of a commercial contribution
> agreement with RealNetworks, and I am authorized to contribute this
> code under said agreement."
>
> Modified by: _Shubham.Baheti@nokia.com <mailto:girish.shetty@nokia.com>_
>
> Reviewed by:
>
> Date: 04/13/2011
>
> Project: SymbianMmf_wm, Symbian_client_apps
>
> Error Id: NA
>
> Synopsis: Enabling HD Streaming through http filesystem
>
> Overview:
>
> Currently, when we stream HD contents through http, we get continuous buffering \
> after every 2-3 seconds of data. This is caused by not prerolling/buffering enough \
> data by the filesystem before giving the data back to the player. And also, HTTP \
> Buffer Ahead Amount and HTTP Memory Cache Size defined currently is not suffeciant \
> enough for reading and buffering enough data from the server.
> There is also a bug in the HTTP parser, for the Key Value pair which comes as part \
> of the HTTP response. When the client select HD content, server redirects with a \
> new URI (for the HD content), which contains , as part of the URI and current \
> parser uses , as the delimiter for the next Value.
>
> Solution:
>
> Increased TCP read buffer size from 1.5K to 64K (which is the MAX size of IP \
> Packet) And also increased MAX BUFFER before Process Idle to 1 MB compare to \
> earlier value of 64 KB
> All these changes are protected under SYMBIAN flag, so that it wont break the \
> functionality of other platforms.
> Also, taken care of a possible memory leak in case of error case in
> base controller.
>
> Files added:
>
> NONE
>
> Files modified:
>
> /cvsroot/clientapps/symbiancommon/config/R1_Mobile_4_0_Factory.cfg
> /cvsroot/clientapps/symbianMmf/common/hxmmfbasectrl.cpp
> /cvsroot/common/include/hxnet.h
> /cvsroot/filesystem/http/httpfsys.cpp
> /cvsroot/protocol/http/httppars.cpp
>
>
> Image size and heap use impact: Negligible
>
> Module release testing (STIF):
>
> Test case(s) added: No
>
> Memory leak check performed: NA
>
> Platforms and profiles build verified:
> helix-client-s60-52-mmf-mdf-dsp, helix-client-symbian-4
>
> Platforms and profiles functionality verified: armv5
>
> Branch: 210CayS, 420Brizo, HEAD
>
> Diff: <attached>
>
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Looks good.<br>
<br>
I'm sure other platforms (say, android) can also benefit with this
change in http streaming of high bit-rate contents.<br>
<br>
Qiang<br>
<br>
On 4/13/2011 5:18 PM, <a class="moz-txt-link-abbreviated" \
href="mailto:girish.shetty@nokia.com">girish.shetty@nokia.com</a> wrote: <blockquote
cite="mid:16EDD0D433A1D0498F4A33532517B6B201170E@008-AM1MPN1-015.mgdnok.nokia.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">"Nokia submits this code under the
terms of a commercial contribution agreement with
RealNetworks, and I am authorized to contribute this code
under said agreement."<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Modified by:
<u>Shubham.Baheti<a moz-do-not-send="true"
href="mailto:girish.shetty@nokia.com"><span
style="color: \
windowtext;">@nokia.com</span></a><o:p></o:p></u></span></p> <p \
class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier \
New";"> <o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: \
10pt; font-family: "Courier New";">Reviewed by:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Date: 04/1<span style="color:
rgb(31, 73, 125);">3</span>/2011<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Project: SymbianMmf_wm,
Symbian_client_apps<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Error Id: NA<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Synopsis: Enabling HD Streaming
through http filesystem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<pre>Overview: <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Currently, when we stream HD contents through http, we get continuous \
buffering after every 2-3 seconds of data.<o:p></o:p></pre>
<pre>This is caused by not prerolling/buffering enough data by the filesystem \
before giving the data back to the player.<o:p></o:p></pre> <pre>And also, HTTP \
Buffer Ahead Amount and HTTP Memory Cache Size defined currently is not suffeciant \
enough for reading and buffering enough data from the server.<o:p></o:p></pre> \
<pre><o:p> </o:p></pre>
<pre>There is also a bug in the HTTP parser, for the Key Value pair which \
comes as part of the HTTP response.<o:p></o:p></pre> <pre>When the client select HD \
content, server redirects with a new URI (for the HD content), which contains , as \
part of the URI and current parser uses , as the delimiter for the next \
Value.<o:p></o:p></pre> <pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Solution: <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Increased TCP read buffer size from 1.5K to 64K (which is the MAX size \
of IP Packet)<o:p></o:p></pre>
<pre>And also increased MAX BUFFER before Process Idle to 1 MB compare to \
earlier value of 64 KB<o:p></o:p></pre> <pre><o:p> </o:p></pre>
<pre>All these changes are protected under SYMBIAN flag, so that it wont \
break the functionality of other platforms.<o:p></o:p></pre> <p \
class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier \
New";"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size: \
10pt; font-family: "Courier New";">Also, taken care of a possible
memory leak in case of error case in base \
controller.<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 10pt; \
font-family: "Courier New";"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Files added:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">NONE<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<pre>Files modified: <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>/cvsroot/clientapps/symbiancommon/config/R1_Mobile_4_0_Factory.cfg \
<o:p></o:p></pre>
<pre>/cvsroot/clientapps/symbianMmf/common/hxmmfbasectrl.cpp \
<o:p></o:p></pre> <pre>/cvsroot/common/include/hxnet.h<o:p></o:p></pre>
<pre>/cvsroot/filesystem/http/httpfsys.cpp<o:p></o:p></pre>
<pre>/cvsroot/protocol/http/httppars.cpp<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Image size and heap use impact:
Negligible<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Module release testing (STIF): \
<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 10pt; \
font-family: "Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Test case(s) added: No
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Memory leak check performed: \
NA<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 10pt; \
font-family: "Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Platforms and profiles build
verified: helix-client-s60-52-mmf-mdf-dsp,
helix-client-symbian-4<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Platforms and profiles
functionality verified: armv5
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Branch: 210CayS, 420Brizo, HEAD
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";">Diff: <attached><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New";"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
</body>
</html>
_______________________________________________
Filesystem-dev mailing list
Filesystem-dev@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/filesystem-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic