## 8 Simulation Environment
### Experimental Results  
We particularly observed the effect of node density on real-time traffic delivery latency. We simulated the reference scenarios by constantly increasing the number of nodes, and the simulation was repeated 20 runs for each test. The collected confidence intervals were always under \(\pm\)5% of the estimated average. In Figure 6, we can see that the s-RCA algorithm has improved in terms of receiving real-time data after we make a packet labeling as an emergency packet. In addition, the data packets showed continuity in improvements when passing between the nodes among networks from the selected path, which, according to the s-RCA algorithm, is booked between the source and destination. However, in Figure 7 shows different cases such as where the topology might face sudden rerouting because of any failure occurring without any notification for normal packets received by the selected node to be booked. In this case, the algorithm can reroute the traffic according to the adjacent node which is already selected from the routing table; although the delay time will increase. This is because the rerouting path can be longer than the previous one. However, the rerouting will help to keep the data packets receiving without any disconnections. The throughput is based on the number of packets received among all experiments. As we showed in our results, the throughput increased because the service will keep working even if the failure occurred. In addition, the path between source and destination will be only using for forwarding the labeled packets which will reduce the loss of packets as no congestion will occurr. Furthermore, because the delay will be reduced and the path between source and destination will be reserved for the emergency packets, then the loss of packets will be reduced, and the throughput will increase. Conversely, the mean packet ratio value increases as the node buffer size, but their range is below the range of threshold values of delay and jitters for surgery. For example, the threshold values of delay and jitters are 250 ms and 20 ms respectively, and our proposed algorithm provides 250 ms delay and 0.60 ms jitters. In addition, from experimental results it is clear that if any one parameter from the node buffer size and reroute varies disproportionately to each other, the performance of the proposed s-RCA will be affected. After experimental analysis it is found that our proposed algorithm performs better than the window-based rate control algorithm (w-RCA) optimal smoothing algorithm with a window size of 600 frames, playback delay of 20 s, and node buffer size of 16 MB, optimized with better QoS during the transmission system. The experimental results are demonstrated in Table 1 and Figure 6.  
The s-RCA reduces the waiting time in the buffer according to the number of emergency packets received. If the buffer size increases, then PMR and loss of packets decrease, while delay increases for both algorithms. The performance of the s-RCA is better than the w-RCA and rerouting for normal traffic, because using a larger buffer size and increasing node buffer size shows a dramatic reduction in delay and rerouting for s-RCA compared to w-RCA. The delay of s-RCA meets the requirements of medical applications such as tele-surgery and tele-consultation, with threshold values of delay and jitters for real-time video medical applications of 250 ms and 20 ms respectively; our proposed s-RCA provides delay values of 250 ms and 0.60 ms respectively for the two cases sending directly, including the buffer time. Figures 7 and 8 reveal the loss packet ratio, and delay of different algorithms versus buffer size. Figure 7 compares the packet loss of w-RCA and rerouting packet compared at different buffer sizes, and it is observed that the packet loss of s-RCA is more reduced with increased buffer size than the w-RCA and rerouting. w-RCA and rerouting data packets results in larger delays, while s-RCA has less delay. Figure 6: Packet live streaming vs. buffer size. Figure 7: Packets ratio vs. delay.