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

Side by Side Diff: content/public/renderer/media_stream_utils.h

Issue 2788613003: Remove GetCurrentVideoTrackFormat dead code. (Closed)
Patch Set: no change. just remove unnecessary dependency on other patchset Created 3 years, 8 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
« no previous file with comments | « no previous file | content/public/renderer/media_stream_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_UTILS_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_UTILS_H_
6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_UTILS_H_ 6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_UTILS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // channel mixing. 42 // channel mixing.
43 CONTENT_EXPORT bool AddAudioTrackToMediaStream( 43 CONTENT_EXPORT bool AddAudioTrackToMediaStream(
44 scoped_refptr<media::AudioCapturerSource> audio_source, 44 scoped_refptr<media::AudioCapturerSource> audio_source,
45 int sample_rate, 45 int sample_rate,
46 media::ChannelLayout channel_layout, 46 media::ChannelLayout channel_layout,
47 int frames_per_buffer, 47 int frames_per_buffer,
48 bool is_remote, 48 bool is_remote,
49 bool is_readonly, 49 bool is_readonly,
50 blink::WebMediaStream* web_media_stream); 50 blink::WebMediaStream* web_media_stream);
51 51
52 // On success returns pointer to the current format of the given video track;
53 // returns nullptr on failure (if the argument is invalid or if the format
54 // cannot be retrieved at the moment).
55 CONTENT_EXPORT const media::VideoCaptureFormat* GetCurrentVideoTrackFormat(
56 const blink::WebMediaStreamTrack& video_track);
57
58 // Requests that a refresh frame be sent "soon" (e.g., to resolve picture loss 52 // Requests that a refresh frame be sent "soon" (e.g., to resolve picture loss
59 // or quality issues). 53 // or quality issues).
60 CONTENT_EXPORT void RequestRefreshFrameFromVideoTrack( 54 CONTENT_EXPORT void RequestRefreshFrameFromVideoTrack(
61 const blink::WebMediaStreamTrack& video_track); 55 const blink::WebMediaStreamTrack& video_track);
62 56
63 } // namespace content 57 } // namespace content
64 58
65 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_UTILS_H_ 59 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | content/public/renderer/media_stream_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698