[Cast] Halt AudioSender transmission when too many frames are in-flight.
The approach here is to literally copy most of the logic in VideoSender over into AudioSender, since VideoSender already solves a number of transmission/re-transmission issues using heuristics that should work well for audio. (This also brings us much closer to being able to merge AudioSender and VideoSender into one implementation.) Testing: Confirmed correct halting and recovery behavior between cast_sender_app and cast_receiver_app (SIGSTOPP'ed and SIGCONT'ed each to simulate a temporary outage). Also tested a Chromium sender with a Chromecast receiver. BUG=380023 Review URL: https://codereview.chromium.org/340903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278323 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment