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

Side by Side Diff: extensions/renderer/api/display_source/wifi_display/wifi_display_media_manager.h

Issue 1817503002: [chrome.displaySource][WiFi Display] Audio formats capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | extensions/renderer/api/display_source/wifi_display/wifi_display_media_manager.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA_MA NAGER_H_ 5 #ifndef EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA_MA NAGER_H_
6 #define EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA_MA NAGER_H_ 6 #define EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA_MA NAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 void SendIDRPicture() override; 50 void SendIDRPicture() override;
51 51
52 std::string GetSessionId() const override; 52 std::string GetSessionId() const override;
53 53
54 private: 54 private:
55 blink::WebMediaStreamTrack video_track_; 55 blink::WebMediaStreamTrack video_track_;
56 blink::WebMediaStreamTrack audio_track_; 56 blink::WebMediaStreamTrack audio_track_;
57 57
58 std::pair<int, int> sink_rtp_ports_; 58 std::pair<int, int> sink_rtp_ports_;
59 wds::H264VideoFormat optimal_video_format_; 59 wds::H264VideoFormat optimal_video_format_;
60 wds::AudioCodec optimal_audio_codec_;
60 61
61 ErrorCallback error_callback_; 62 ErrorCallback error_callback_;
62 63
63 DISALLOW_COPY_AND_ASSIGN(WiFiDisplayMediaManager); 64 DISALLOW_COPY_AND_ASSIGN(WiFiDisplayMediaManager);
64 }; 65 };
65 66
66 } // namespace extensions 67 } // namespace extensions
67 68
68 #endif // EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA _MANAGER_H_ 69 #endif // EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA _MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | extensions/renderer/api/display_source/wifi_display/wifi_display_media_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698