diff options
Diffstat (limited to 'media/cast/audio_sender/audio_encoder.cc')
-rw-r--r-- | media/cast/audio_sender/audio_encoder.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/cast/audio_sender/audio_encoder.cc b/media/cast/audio_sender/audio_encoder.cc index a82d1de..c71329a 100644 --- a/media/cast/audio_sender/audio_encoder.cc +++ b/media/cast/audio_sender/audio_encoder.cc @@ -23,7 +23,9 @@ namespace cast { void LogAudioEncodedEvent(CastEnvironment* const cast_environment, const base::TimeTicks& recorded_time) { // TODO(mikhal): Resolve timestamp calculation for audio. - cast_environment->Logging()->InsertFrameEvent(kAudioFrameEncoded, + base::TimeTicks now = cast_environment->Clock()->NowTicks(); + + cast_environment->Logging()->InsertFrameEvent(now, kAudioFrameEncoded, GetVideoRtpTimestamp(recorded_time), kFrameIdUnknown); } |