Re: [Live-devel] display issue about "totSessionBW parameter should not be zero!"

2015-03-13 Thread terry
Thank Ross. I misunderstand the purpose of this prompt. You are right, it is a "out" parameter. 本邮件(包括所附附件)所含信息为保密信息,且仅为特定收件人之用。如果您不是特定收件人,切勿披露、复制、打印、转发或分发本邮件或其任何内容,亦请切勿依本邮件之任何内容而采取任何行动。如果本邮件误发送给您,请立即通知发件人并删除此邮件。谢谢! This e-mail and a

Re: [Live-devel] display issue about "totSessionBW parameter should not be zero!"

2015-03-13 Thread Ross Finlayson
Also, if you look at the existing subclasses of “OnDemandServerMediaSubsession” (in the “liveMedia” directory), you’ll see that their implementation of “createNewStreamSource()” sets this ‘estimated bitrate’ parameter (‘out’ variable). Ross Finlayson Live Networks, Inc. http://www.live555.com/

Re: [Live-devel] display issue about "totSessionBW parameter should not be zero!"

2015-03-13 Thread Ross Finlayson
> I found an uninitialized local variable is as follow: No. The “streamBitrate” parameter is an ‘out’ parameter to the “createNewStreamSource()” (virtual) function. It should be set (to the stream’s estimated bitrate, in kbps) by your “OnDemandServerMediaSubsession” subclass. Ross Finlayson

[Live-devel] display issue about "totSessionBW parameter should not be zero!"

2015-03-13 Thread terry
I found an uninitialized local variable is as follow: Index: liveMedia/OnDemandServerMediaSubsession.cpp === --- liveMedia/OnDemandServerMediaSubsession.cpp +++ liveMedia/OnDemandServerMediaSubsession.cpp @@ -109,7 +109,7 @@ stre