media prepare async