# Supporting Immersive Video Streaming via V2X Communication
## 2 Bandwidth Allocation for Diverse Streaming Services in V2X Communication
### Bandwidth Assignment Coordination  
Upon receiving information regarding user service levels, vehicle location, estimated time to traverse road sections, and requirements for the base and enhancement layers of the LCEVC-enhanced video application, this module will assess whether any CF XL-MIMO wireless access points can meet the bandwidth demands of the application. If suitable, the controlling CF XL-MIMO wireless access point unit will then establish an access point cluster [41] to allocate sufficient bandwidth based on the expected requirements of the application. During configuration, special attention will be given to ensuring that bandwidth for the base layer is prioritized before allocating resources to the enhancement layer, given that these layers can be transmitted separately. If the application involves real-time video and encounters insufficient allocated bandwidth due to network congestion, this module will prompt the CF XL-MIMO access point control unit to redistribute bandwidth originally allocated to non-real-time applications. Real-time video requires continuous and sufficient bandwidth for a smooth user experience. Should bandwidth remain insufficient after reallocation, priority will be given to meeting the needs of premium users by reallocating bandwidth initially assigned to regular users. If any applications still lack adequate bandwidth thereafter, the \"Vehicle Fleet Bandwidth Coordination\" module will activate. It will seek CF XL-MIMO access points in other non-congested road sections to supplement the lack of bandwidth. The execution steps of this module are as follows:* After receiving the bandwidth requirements for the vehicle passengers' application, categorize the type of video application. * If the application is real-time video, continue to the next step. Otherwise, activate the \"Bandwidth Allocation for Non-Real-Time Applications\" module. Then conclude the execution of this module. * Based on the specifications of the live video application and the estimated time taken to traverse road sections, calculate the bandwidth required for the real-time application along the vehicle route. * Determine if any CF XL-MIMO access point(s) within the communication range of the vehicle can supply bandwidth for the live video application: \[dub_{t_{j}^{\sigma,v}}=\beta^{\sigma,v}\cdot\left[\sum_{\sigma^{\prime},v}ub_ {t_{j}^{\sigma,v}}^{\sigma,v}-(1-\psi^{\sigma,v})\cdot\left(uvr_{t_{j}^{\sigma,v }}^{B}+\partial^{\sigma,v}\cdot uvr_{t_{j}^{\sigma,v}}^{E}\right)\cdot\text{f} ^{\sigma,v}-\psi^{\sigma,v}\cdot upc_{t_{j}^{\sigma,v}}^{\sigma,v}\right],\ \ 1\leq j\leq e^{ \sigma,v}\] (19)  
\[ursu_{t_{j}^{\sigma,v}}= \begin{cases}rsu_{t_{j}^{\sigma,v}}&if\ dub_{t_{j}^{ \sigma,v}}<0,\ rt_{t_{j}^{\sigma,v}}\leq t_{j}^{\sigma,v}\leq rt_{t_{t+1}^{ \sigma}},\ 1\leq j\leq e^{\sigma,v},1\leq i<h^{\sigma}\\ 0&\text{others}\end{cases}  \tag{20}\]  
\[ddb_{t_{j}^{\sigma,v}}=\sum_{\beta^{\sigma,v}}db_{t_{j}^{\sigma,v}}^{\beta^{ \sigma,v}}-(1-\psi^{\sigma,v})\cdot\left(dvr_{t_{j}^{\sigma,v}}^{B}+\partial^ {\sigma,v}\cdot dvr_{t_{j}^{\sigma,v}}^{E}\right)\cdot\text{f}^{\sigma,v}-\psi ^{\sigma,v}\cdot dpc_{t_{j}^{\sigma,v}}\cdot\text{f}^{\sigma,v},\ 1\leq j\leq e^{ \sigma,v} \tag{21}\]  
\[drsu_{t_{j}^{\sigma,v}}= \begin{cases}rsu_{t_{j}^{\sigma,v}}&if\ dd_{t_{j}^{ \sigma,v}}<0,\ rt_{t_{j}^{\sigma,v}}\leq t_{j}^{\sigma,v}\leq rt_{t_{j+1}^{ \sigma}},\ 1\leq j\leq e^{\sigma,v},1\leq i<h^{\sigma}\\ 0&\text{others}\end{cases}