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

Side by Side Diff: webrtc/pc/trackmediainfomap.h

Issue 2690793003: Move trackmediainfomap files from api/ to pc/. (Closed)
Patch Set: Created 3 years, 10 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 | « webrtc/pc/rtcstatscollector.h ('k') | webrtc/pc/trackmediainfomap.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 /* 1 /*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_API_TRACKMEDIAINFOMAP_H_ 11 #ifndef WEBRTC_PC_TRACKMEDIAINFOMAP_H_
12 #define WEBRTC_API_TRACKMEDIAINFOMAP_H_ 12 #define WEBRTC_PC_TRACKMEDIAINFOMAP_H_
13 13
14 #include <map> 14 #include <map>
15 #include <memory> 15 #include <memory>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/api/mediastreaminterface.h" 18 #include "webrtc/api/mediastreaminterface.h"
19 #include "webrtc/api/rtpreceiverinterface.h" 19 #include "webrtc/api/rtpreceiverinterface.h"
20 #include "webrtc/api/rtpsenderinterface.h" 20 #include "webrtc/api/rtpsenderinterface.h"
21 #include "webrtc/base/refcount.h" 21 #include "webrtc/base/refcount.h"
22 #include "webrtc/media/base/mediachannel.h" 22 #include "webrtc/media/base/mediachannel.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 std::map<const AudioTrackInterface*, cricket::VoiceReceiverInfo*> 77 std::map<const AudioTrackInterface*, cricket::VoiceReceiverInfo*>
78 voice_info_by_remote_track_; 78 voice_info_by_remote_track_;
79 std::map<const VideoTrackInterface*, std::vector<cricket::VideoSenderInfo*>> 79 std::map<const VideoTrackInterface*, std::vector<cricket::VideoSenderInfo*>>
80 video_infos_by_local_track_; 80 video_infos_by_local_track_;
81 std::map<const VideoTrackInterface*, cricket::VideoReceiverInfo*> 81 std::map<const VideoTrackInterface*, cricket::VideoReceiverInfo*>
82 video_info_by_remote_track_; 82 video_info_by_remote_track_;
83 // These maps map info objects to their corresponding tracks. They are always 83 // These maps map info objects to their corresponding tracks. They are always
84 // the inverse of the maps above. One info object always maps to only one 84 // the inverse of the maps above. One info object always maps to only one
85 // track. 85 // track.
86 std::map<const cricket::VoiceSenderInfo*, 86 std::map<const cricket::VoiceSenderInfo*,
87 rtc::scoped_refptr<AudioTrackInterface>> audio_track_by_sender_info_; 87 rtc::scoped_refptr<AudioTrackInterface>>
88 audio_track_by_sender_info_;
88 std::map<const cricket::VoiceReceiverInfo*, 89 std::map<const cricket::VoiceReceiverInfo*,
89 rtc::scoped_refptr<AudioTrackInterface>> audio_track_by_receiver_info_; 90 rtc::scoped_refptr<AudioTrackInterface>>
91 audio_track_by_receiver_info_;
90 std::map<const cricket::VideoSenderInfo*, 92 std::map<const cricket::VideoSenderInfo*,
91 rtc::scoped_refptr<VideoTrackInterface>> video_track_by_sender_info_; 93 rtc::scoped_refptr<VideoTrackInterface>>
94 video_track_by_sender_info_;
92 std::map<const cricket::VideoReceiverInfo*, 95 std::map<const cricket::VideoReceiverInfo*,
93 rtc::scoped_refptr<VideoTrackInterface>> video_track_by_receiver_info_; 96 rtc::scoped_refptr<VideoTrackInterface>>
97 video_track_by_receiver_info_;
94 }; 98 };
95 99
96 } // namespace webrtc 100 } // namespace webrtc
97 101
98 #endif // WEBRTC_API_TRACKMEDIAINFOMAP_H_ 102 #endif // WEBRTC_PC_TRACKMEDIAINFOMAP_H_
OLDNEW
« no previous file with comments | « webrtc/pc/rtcstatscollector.h ('k') | webrtc/pc/trackmediainfomap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698