Sunday, June 6, 2021

Routing h264 streams through one of the two available LTE interfaces based on lowest latency / quality of the connection

My edge device running Linux has 2 network interfaces, each connected to a 4G/LTE modem and the objective is to route h264 streams from cameras to a server through the lowest-latency interface and the most stable one.

The question is how to programmatically determine which interface should be selected for my streaming software to use.

I'm thinking of implementing a feedback loop on both interfaces and then have the server transmit metrics such as number of packets received and determining the percentage of lost packets, as well as measuring the round-trip to determine the latency. I'm looking as well into software such as netperf and similar to help me rate the connection.

Before diving deeper into this topic I was wondering if anyone can point me in the right direction regarding which techniques are commonly used and if there are any open source solutions I can make use of, and if not, what to focus on when writing my own. Not really sure if I'm on the right track here.



No comments:

Post a Comment