In high-speed mobile scenarios characteristic of the Fifth Generation Mobile Networks (5G) environment, the user video experience may be compromised due to concurrent access by numerous users and frequent base station transitions. Addressing this issue, this study introduces a cross-layer resource allocation model that integrates environmental awareness and is tailored for the exigencies of high-speed mobile networks. The paper delves into the challenges engendered by rapid mobility and extensive user access within the 5G environment and critiques the constraints of prevalent resource allocation methodologies. The model delineated herein is conceptualized as an optimization challenge and characterized as a nonlinear, NP-hard problem. In response to this challenge, this study advocates a novel streaming media transmission algorithm underpinned by edge computing, in tandem with an environment-aware wireless resource allocation algorithm. The article articulates the foundational principles and operational modalities of these algorithms, underscoring the significance of environmental cognizance in resource distribution and the efficacy of edge computing in increasing video transmission efficiency. Empirical validation, achieved through simulation experiments, corroborates the efficacy of the proposed approach. Comparative analysis reveals that, relative to conventional methodologies, the proposed framework significantly improves video transmission quality and user experience, particularly in contexts characterized by frequent network fluctuations and high user densities. This research contributes novel insights and pragmatic solutions to optimize video transmission in existing 5G and prospective network paradigms.