Optimal Resource Allocation for Distributed Video Communication