Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Side by Side Diff: media/cast/cast_sender.h

Issue 493823002: Implement adaptive target delay extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This is the main interface for the cast sender. 5 // This is the main interface for the cast sender.
6 // 6 //
7 // The AudioFrameInput, VideoFrameInput and PacketReciever interfaces should 7 // The AudioFrameInput, VideoFrameInput and PacketReciever interfaces should
8 // be accessed from the main thread. 8 // be accessed from the main thread.
9 9
10 #ifndef MEDIA_CAST_CAST_SENDER_H_ 10 #ifndef MEDIA_CAST_CAST_SENDER_H_
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const AudioSenderConfig& audio_config, 79 const AudioSenderConfig& audio_config,
80 const CastInitializationCallback& cast_initialization_cb) = 0; 80 const CastInitializationCallback& cast_initialization_cb) = 0;
81 81
82 // Initialize the video stack. Must be called in order to send video frames. 82 // Initialize the video stack. Must be called in order to send video frames.
83 // Status of the initialization will be returned on cast_initialization_cb. 83 // Status of the initialization will be returned on cast_initialization_cb.
84 virtual void InitializeVideo( 84 virtual void InitializeVideo(
85 const VideoSenderConfig& video_config, 85 const VideoSenderConfig& video_config,
86 const CastInitializationCallback& cast_initialization_cb, 86 const CastInitializationCallback& cast_initialization_cb,
87 const CreateVideoEncodeAcceleratorCallback& create_vea_cb, 87 const CreateVideoEncodeAcceleratorCallback& create_vea_cb,
88 const CreateVideoEncodeMemoryCallback& create_video_encode_mem_cb) = 0; 88 const CreateVideoEncodeMemoryCallback& create_video_encode_mem_cb) = 0;
89
90 // Change the target delay. This is only valid if the receiver
91 // supports the "adaptive_target_delay" rtp extension.
92 virtual void SetTargetPlayoutDelay(
93 base::TimeDelta new_target_playout_delay) = 0;
89 }; 94 };
90 95
91 } // namespace cast 96 } // namespace cast
92 } // namespace media 97 } // namespace media
93 98
94 #endif // MEDIA_CAST_CAST_SENDER_H_ 99 #endif // MEDIA_CAST_CAST_SENDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698