Objectives:To propose an IoT-based design in an edge computing environment for short ranges and long ranges of real-time data streaming to the client. Methods: Multimedia data is used in this work. Here we have used Opnet for creating a physical architecture and to analyze the quality-of-service parameters like delay, throughput, and jitter for different Ad-hoc routing protocols like Ad-hoc on-Demand Distance vector routing, Dynamic source routing, Optimized Link State Routing, Temporally ordered routing algorithm and Geographic Routing Protocol for edge-based short length in edge computing devices for short ranges and long ranges. Riverbed academic modeler (formerly known as OPNET) has been used as a simulation tool to analyze the latency and bandwidth for edge computing under the pre-configured set-up. The simulation is accomplished using MATLAB to find the fluctuation of the delay, throughput, and jitter for edge-based short length in edge computing devices for short ranges and long ranges by applying the datasets in the edge computing environment. Findings: The results we got through simulations from different routing protocols like AODV, DSR, OLSR, TORA, and GRP of delay, throughput, and jitter shows that the proposed system strengthens the existing cloud-based system, leading to greater QoS.AODV surpasses all other protocols with a minimal delay of 0.24 msec and OLSR achieves the best performance with an average delay of 0.3 msec, better throughput of 180 bits/sec, and a load of 1410 bits/sec for the three key parameters of latency, throughput, and jitter. Novelty: The study compares the performance of different routing protocols and shows a reduction in the delay of 0.24 msec with respect to time as compared to other existing works. The proposed research is designed for a media streaming application based on the mobile nodes regarded as an edge devices for https://www.indjst.org/ different QoS parameters like throughput, delay, and load, and by comparing the existing work we found that AODV outperforms all other routing protocols with a minimum delay.