Research Article

A New QoS Management Scheme for VoIP Application over Wireless Ad Hoc Networks

Algorithm 1

OLSR-VA_LVA_adaptation_function(, ).
   Input: node , Local VoIP Activity .
   Output: HELLO interval of   
(1)  Begin
(2)   if    then
(3)    read codec parameters: sample_size, sample_interval
(4)    if  sample_size is high then
(5)     Increase
(6)     else if  sample_interval is high then
(7)      decrease
(8)     end if
(9)    end if
(10)  end if
(11)  
(12)  return
(13) End