media queue optim