15 Get number of available paths from Home Agent
20 For each available network path
30  Get current bandwidth from path monitoring sub-system
40  Get max bandwidth min bandwidth from route history file
50    If < lowest known bandwidth , else
60    If > highest known bandwidth , else
65 Next path
70 Base-layer target rate  = 
80 Extraction target rate  = 
90 If real time streaming encode scalable bit stream using
100 Perform rate distortion calculations to each NAL unit
110 Assign quality level for each NAL unit to simple_priority_id in NAL header as defined in [32]
120 Extract scalable bit stream at target
Algorithm 1: Stream preprocessing algorithm (H.264/SVC version).