Thank Ross.
I misunderstand the purpose of this prompt.
You are right, it is a "out" parameter.
本邮件(包括所附附件)所含信息为保密信息,且仅为特定收件人之用。如果您不是特定收件人,切勿披露、复制、打印、转发或分发本邮件或其任何内容,亦请切勿依本邮件之任何内容而采取任何行动。如果本邮件误发送给您,请立即通知发件人并删除此邮件。谢谢!
This e-mail and a
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/
> 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
I found an uninitialized local variable is as follow:
Index: liveMedia/OnDemandServerMediaSubsession.cpp
===
--- liveMedia/OnDemandServerMediaSubsession.cpp
+++ liveMedia/OnDemandServerMediaSubsession.cpp
@@ -109,7 +109,7 @@
stre