%% Generate VoIP Application Traffic Pattern and Data Packet
% Create a VoIP application traffic pattern object to generate a VoIP data packet.

cfgVoIP = networkTrafficVoIP('GeneratePacket',true);

% Generate a VoIP application traffic pattern and data packet.

[dt,packetSize,packet] = generate(cfgVoIP); 

% Copyright 2020 The MathWorks, Inc.