[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] RealAudio source...
you need to adjust the file "fratecdf" accordingly.
this file specifies the probability distribution of flow
rate. The format for that file:
1st column: flow rate
2nd column: accumulated # of sample
3rd column: accumulated probability
the current example file you saw in ~ns/tcl/ex/realaudio
is only used for flow rate 1-8K
And please read the reference in
http://www.isi.edu/nsnam/saman/paper.html
if you wonder how the model works.
Thanks.
Kun-chan Lan
On Wed, 11 Apr 2001, [ISO-8859-2] Rafa� Wielicki wrote:
> Hi All
> Is there anybody who can send me an example of using RealAudio source, I
> tried to simulate 128kb/s sources:
> <---- cut
> set Sr(1) [$ns node]
> set udp01 [new Agent/UDP]
> $ns attach-agent $Sr(1) $udp01
> $ns connect $udp01 $null1
> set realaudio [new Application/Traffic/RealAudio]
> $realaudio set packetSize_ 245
> $realaudio set burst_time_ 0.05ms
> $realaudio set idle_time_ 1800ms
> $realaudio($i) set rate_ 128Kb
> $realaudio($i) attach-agent $udp01
> $ns at 0.5 "$realaudio($i) start"
> <---- end
> this code is taken from eample, problem is that generated rate is 40Mb/s
> and I can't change it. Should I do something more (I don't understand
> minCDF_ and maxCDF_ parameters, what are they for ?).
> Sample code is welcomed
> Greetings R.W.
>
>