You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm playing an rtsp stream (over UDP) from a network camera with vlc which uses live555 for receiving packets. And once in a while it sends out a Receiver Report (RR) with stats.
I would like to make live555 to send out RRs once every N packets (e.g. N=50) received from the sender. How can I do this?
In the network there can be switches with lower bandwidth (like wifi) than immediate camera or pc links. This results in congestions where UDP packets overflow some switch's buffer (128kB in my case) and get dropped. So, I'm thinking about having some sort of a flow control (with a short reaction time) on the sender side based on RRs from receiver but without resending lost packets (like TCP would do).
So, I've checked the code and liveMedia/MultiFramedRTPSource.cpp looks like a good place:
...
receptionStatsDB().noteIncomingPacket(...);
// code begin
if ((receptionStatsDB().totNumPacketsReceived()%50)==0){
someRTCPInstance.sendReport();
}
// code end
...
Haven't figure out what that someRTCPInstance should be.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I'm playing an rtsp stream (over UDP) from a network camera with vlc which uses live555 for receiving packets. And once in a while it sends out a Receiver Report (RR) with stats.
I would like to make live555 to send out RRs once every N packets (e.g. N=50) received from the sender. How can I do this?
In the network there can be switches with lower bandwidth (like wifi) than immediate camera or pc links. This results in congestions where UDP packets overflow some switch's buffer (128kB in my case) and get dropped. So, I'm thinking about having some sort of a flow control (with a short reaction time) on the sender side based on RRs from receiver but without resending lost packets (like TCP would do).
So, I've checked the code and liveMedia/MultiFramedRTPSource.cpp looks like a good place:
Haven't figure out what that someRTCPInstance should be.
Thanks.
The text was updated successfully, but these errors were encountered: