Cast: improve AV sync in sender application
commit8bbbb5c399950c800d5d00e8bb44245d070f5015
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Apr 2014 03:44:30 +0000 (25 03:44 +0000)
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Apr 2014 03:44:30 +0000 (25 03:44 +0000)
tree65c216bdac162abd04573f5c33d7e53ae555f947
parent7faaf3619050b7e6cd47a914ea54225dde2031db
Cast: improve AV sync in sender application

This change is to improve AV sync for transcoding.

The algorithm is now changed to schedule for trancoding every 10ms.
And then trasncoding audio into 10 ms blocks and send to the network.
Video is then transcoded according to the audio timeline.

I have also added looping support.

Review URL: https://codereview.chromium.org/255473005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266125 0039d316-1c4b-4281-b951-d872f2087c98
media/cast/test/sender.cc