| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 bool recv_audio; | 153 bool recv_audio; |
| 154 bool recv_video; | 154 bool recv_video; |
| 155 DataChannelType data_channel_type; | 155 DataChannelType data_channel_type; |
| 156 bool is_muc; | 156 bool is_muc; |
| 157 bool vad_enabled; | 157 bool vad_enabled; |
| 158 bool rtcp_mux_enabled; | 158 bool rtcp_mux_enabled; |
| 159 bool bundle_enabled; | 159 bool bundle_enabled; |
| 160 // bps. -1 == auto. | 160 // bps. -1 == auto. |
| 161 int video_bandwidth; | 161 int video_bandwidth; |
| 162 int data_bandwidth; | 162 int data_bandwidth; |
| 163 bool enable_ice_renomination = false; |
| 163 // content name ("mid") => options. | 164 // content name ("mid") => options. |
| 164 std::map<std::string, TransportOptions> transport_options; | 165 std::map<std::string, TransportOptions> transport_options; |
| 165 std::string rtcp_cname; | 166 std::string rtcp_cname; |
| 166 rtc::CryptoOptions crypto_options; | 167 rtc::CryptoOptions crypto_options; |
| 167 | 168 |
| 168 struct Stream { | 169 struct Stream { |
| 169 Stream(MediaType type, | 170 Stream(MediaType type, |
| 170 const std::string& id, | 171 const std::string& id, |
| 171 const std::string& sync_label, | 172 const std::string& sync_label, |
| 172 int num_sim_layers) | 173 int num_sim_layers) |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 void GetSupportedVideoCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, | 609 void GetSupportedVideoCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, |
| 609 std::vector<std::string>* crypto_suite_names); | 610 std::vector<std::string>* crypto_suite_names); |
| 610 void GetSupportedDataCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, | 611 void GetSupportedDataCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, |
| 611 std::vector<std::string>* crypto_suite_names); | 612 std::vector<std::string>* crypto_suite_names); |
| 612 void GetDefaultSrtpCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, | 613 void GetDefaultSrtpCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, |
| 613 std::vector<std::string>* crypto_suite_names); | 614 std::vector<std::string>* crypto_suite_names); |
| 614 | 615 |
| 615 } // namespace cricket | 616 } // namespace cricket |
| 616 | 617 |
| 617 #endif // WEBRTC_PC_MEDIASESSION_H_ | 618 #endif // WEBRTC_PC_MEDIASESSION_H_ |
| OLD | NEW |