[ns] How to simulation mpeg-2 video transmission...
yu cow
sscow2000 at yahoo.com.tw
Thu Dec 13 21:22:34 PST 2007
Hi ALL...
Can someone tell me? I want to simulation mpeg-2 video transmission with the CBR+UDP. The frames of the MPEG traces are packetized to 188 bytes. A ethernet fame have date is 1316 bytes(7*188 bytes).
The TCL code is below. And I have to question.
1.Is the parameters in below code correct?
2.Does "$udp1 set packetSize_ 1316" contain UDP header?
set udp1 [new Agent/UDP]
$udp1 set class_ 1
$udp1 set packetSize_ 1316
$ns attach-agent $source1 $udp1
set cbr1 [new Application/Traffic/CBR]
$cbr1 attach-agent $udp1
$cbr1 set packetSize_ 188
$cbr1 set type_ CBR
$cbr1 set rate_ 3mb
___________________________________________________________________
ÅéÅç¥þ·sYahoo!©_¼¯¹q¤l«H½c2.0 - °¨¤WÅéÅç¡I
More information about the Ns-users
mailing list