webrtc/talk
wu@webrtc.org 94454b71ad Fix the chain that propagates the audio frame's rtp and ntp timestamp including:
* In AudioCodingModuleImpl::PlayoutData10Ms, don't reset the timestamp got from GetAudio.
* When there're more than one participant, set AudioFrame's RTP timestamp to 0.
* Copy ntp_time_ms_ in AudioFrame::CopyFrom method.
* In RemixAndResample, pass src frame's timestamp_ and ntp_time_ms_ to the dst frame.
* Fix how |elapsed_time_ms| is computed in channel.cc by adding GetPlayoutFrequency.

Tweaks on ntp_time_ms_:
* Init ntp_time_ms_ to -1 in AudioFrame ctor.
* When there're more than one participant, set AudioFrame's ntp_time_ms_ to an invalid value. I.e. we don't support ntp_time_ms_ in multiple participants case before the mixing is moved to chrome.

Added elapsed_time_ms to AudioFrame and pass it to chrome, where we don't have the information about the rtp timestmp's sample rate, i.e. can't convert rtp timestamp to ms.

BUG=3111
R=henrik.lundin@webrtc.org, turaj@webrtc.org, xians@webrtc.org
TBR=andrew
andrew to take another look on audio_conference_mixer_impl.cc

Review URL: https://webrtc-codereview.appspot.com/14559004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6346 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-05 20:34:08 +00:00
..
app/webrtc Fix the chain that propagates the audio frame's rtp and ntp timestamp including: 2014-06-05 20:34:08 +00:00
base (Auto)update libjingle 68562943-> 68571194 2014-06-04 21:57:16 +00:00
build Enable -Wall, -Wextra and -Wunused-variable for talk/ on clang. 2014-06-02 07:58:30 +00:00
examples AppRTCDemo(android): remove HTML/regex hackery in favor of JSON struct. 2014-06-05 20:31:41 +00:00
media Remove static initializer from WebRtcVideoEngine2. 2014-06-05 09:10:55 +00:00
p2p (Auto)update libjingle 68275107-> 68379861 2014-06-02 15:48:10 +00:00
session (Auto)update libjingle 68203780-> 68206793 2014-05-29 22:54:24 +00:00
sound Update libjingle to 55618622. 2013-10-25 21:18:33 +00:00
third_party/libudev Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
xmllite Cleanups in libjingle to make it compile with chromium_code=1 2014-03-25 00:31:35 +00:00
xmpp (Auto)update libjingle 66326258-> 66340694 2014-05-07 00:29:05 +00:00
COPYING Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
libjingle_examples.gyp Fix AppRTC target configuration in libjingle_examples.gyp. 2014-05-30 23:04:39 +00:00
libjingle_media_unittest.isolate Revert 5274 "Update talk to 58113193 together with https://webrt..." 2013-12-12 22:54:25 +00:00
libjingle_p2p_unittest.isolate Revert 5274 "Update talk to 58113193 together with https://webrt..." 2013-12-12 22:54:25 +00:00
libjingle_peerconnection_unittest.isolate Revert 5274 "Update talk to 58113193 together with https://webrt..." 2013-12-12 22:54:25 +00:00
libjingle_sound_unittest.isolate Revert 5274 "Update talk to 58113193 together with https://webrt..." 2013-12-12 22:54:25 +00:00
libjingle_tests.gyp Closes the DataChannel when the send buffer is full or on transport errors. 2014-05-29 15:33:54 +00:00
libjingle_unittest.isolate Revert 5274 "Update talk to 58113193 together with https://webrt..." 2013-12-12 22:54:25 +00:00
libjingle.gyp Add empty webrtcmediaengine.cc. 2014-06-03 14:51:34 +00:00
LICENSE_THIRD_PARTY Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
OWNERS Make everyone an OWNER for .gyp/.gypi add/delete purposes, talk/ edition. 2014-04-14 20:31:16 +00:00
PRESUBMIT.py PRESUBMIT.py: accept variants on the copyright message that are present in the codebase. 2014-05-23 17:27:18 +00:00