I want to generate different types of traffic for analyzing OFDMA transmission in NS3. How can I simulate video and audio calls?
The first three options that come to mind are:
OnOffApplication
. The OnOffApplication
allows you to set onTime
, offTime
, and a DataRate
(among other variables). You can determine the rate at which data is sent for your audio or video program, and then provide those rates to the OnOffApplication
. You may find the OnOffHelper
convenient to set various parameters of an OnOffApplication
. Application
. This option may be of particular interest since you could simulate variable bitrate audio/video calls. If you choose this option, I highly suggest you checkout the ns-3 tutorial for the walkthrough of fifth.cc
to learn more about how to create your own Application
.The second option is probably easiest to use, but may not be as accurate as the first, or as flexible as the third.