media scheduling example