manage media resource