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

Side by Side Diff: webrtc/api/rtpparameters.h

Issue 2052233002: Enable passing receive stream ID to the decoder factory. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: pthatcher1's solution implemented Created 4 years, 6 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 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 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
(...skipping 29 matching lines...) Expand all
40 bool operator==(const RtpCodecParameters& o) const { 40 bool operator==(const RtpCodecParameters& o) const {
41 return payload_type == o.payload_type && mime_type == o.mime_type && 41 return payload_type == o.payload_type && mime_type == o.mime_type &&
42 clock_rate == o.clock_rate && channels == o.channels; 42 clock_rate == o.clock_rate && channels == o.channels;
43 } 43 }
44 bool operator!=(const RtpCodecParameters& o) const { return !(*this == o); } 44 bool operator!=(const RtpCodecParameters& o) const { return !(*this == o); }
45 }; 45 };
46 46
47 struct RtpParameters { 47 struct RtpParameters {
48 std::vector<RtpEncodingParameters> encodings; 48 std::vector<RtpEncodingParameters> encodings;
49 std::vector<RtpCodecParameters> codecs; 49 std::vector<RtpCodecParameters> codecs;
50 std::vector<uint32_t> ssrcs;
pthatcher1 2016/06/15 19:40:00 This should match the standard here: http://w3c.g
perkj_webrtc 2016/06/15 20:25:52 Why is this needed?
pthatcher1 2016/06/15 21:08:17 It's part of the standard. If you want an explana
50 51
51 bool operator==(const RtpParameters& o) const { 52 bool operator==(const RtpParameters& o) const {
52 return encodings == o.encodings && codecs == o.codecs; 53 return encodings == o.encodings && codecs == o.codecs && ssrcs == o.ssrcs;
53 } 54 }
54 bool operator!=(const RtpParameters& o) const { return !(*this == o); } 55 bool operator!=(const RtpParameters& o) const { return !(*this == o); }
55 }; 56 };
56 57
57 } // namespace webrtc 58 } // namespace webrtc
58 59
59 #endif // WEBRTC_API_RTPPARAMETERS_H_ 60 #endif // WEBRTC_API_RTPPARAMETERS_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvideodecoderfactory.h » ('j') | webrtc/media/engine/webrtcvideodecoderfactory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698