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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 bool UpdateRemoteStreams_w(const std::vector<StreamParams>& streams, | 322 bool UpdateRemoteStreams_w(const std::vector<StreamParams>& streams, |
323 ContentAction action, | 323 ContentAction action, |
324 std::string* error_desc); | 324 std::string* error_desc); |
325 virtual bool SetLocalContent_w(const MediaContentDescription* content, | 325 virtual bool SetLocalContent_w(const MediaContentDescription* content, |
326 ContentAction action, | 326 ContentAction action, |
327 std::string* error_desc) = 0; | 327 std::string* error_desc) = 0; |
328 virtual bool SetRemoteContent_w(const MediaContentDescription* content, | 328 virtual bool SetRemoteContent_w(const MediaContentDescription* content, |
329 ContentAction action, | 329 ContentAction action, |
330 std::string* error_desc) = 0; | 330 std::string* error_desc) = 0; |
331 bool SetRtpTransportParameters(const MediaContentDescription* content, | 331 bool SetRtpTransportParameters(const MediaContentDescription* content, |
332 ContentAction action, | 332 ContentAction action, ContentSource src, |
333 ContentSource src, | 333 const RtpHeaderExtensions& extensions, std::string* error_desc); |
334 std::string* error_desc); | |
335 bool SetRtpTransportParameters_n(const MediaContentDescription* content, | 334 bool SetRtpTransportParameters_n(const MediaContentDescription* content, |
336 ContentAction action, | 335 ContentAction action, ContentSource src, |
337 ContentSource src, | 336 const RtpHeaderExtensions& encrypted_extensions, std::string* error_desc); |
338 std::string* error_desc); | |
339 | 337 |
340 // Helper method to get RTP Absoulute SendTime extension header id if | 338 // Helper method to get RTP Absoulute SendTime extension header id if |
341 // present in remote supported extensions list. | 339 // present in remote supported extensions list. |
342 void MaybeCacheRtpAbsSendTimeHeaderExtension_w( | 340 void MaybeCacheRtpAbsSendTimeHeaderExtension_w( |
343 const std::vector<webrtc::RtpExtension>& extensions); | 341 const std::vector<webrtc::RtpExtension>& extensions); |
344 | 342 |
345 bool CheckSrtpConfig_n(const std::vector<CryptoParams>& cryptos, | 343 bool CheckSrtpConfig_n(const std::vector<CryptoParams>& cryptos, |
346 bool* dtls, | 344 bool* dtls, |
347 std::string* error_desc); | 345 std::string* error_desc); |
348 bool SetSrtp_n(const std::vector<CryptoParams>& params, | 346 bool SetSrtp_n(const std::vector<CryptoParams>& params, |
349 ContentAction action, | 347 ContentAction action, |
350 ContentSource src, | 348 ContentSource src, |
| 349 const RtpHeaderExtensions& encrypted_extensions, |
351 std::string* error_desc); | 350 std::string* error_desc); |
352 bool SetRtcpMux_n(bool enable, | 351 bool SetRtcpMux_n(bool enable, |
353 ContentAction action, | 352 ContentAction action, |
354 ContentSource src, | 353 ContentSource src, |
355 std::string* error_desc); | 354 std::string* error_desc); |
356 | 355 |
357 // From MessageHandler | 356 // From MessageHandler |
358 void OnMessage(rtc::Message* pmsg) override; | 357 void OnMessage(rtc::Message* pmsg) override; |
359 | 358 |
360 const rtc::CryptoOptions& crypto_options() const { | 359 const rtc::CryptoOptions& crypto_options() const { |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 // SetSendParameters. | 744 // SetSendParameters. |
746 DataSendParameters last_send_params_; | 745 DataSendParameters last_send_params_; |
747 // Last DataRecvParameters sent down to the media_channel() via | 746 // Last DataRecvParameters sent down to the media_channel() via |
748 // SetRecvParameters. | 747 // SetRecvParameters. |
749 DataRecvParameters last_recv_params_; | 748 DataRecvParameters last_recv_params_; |
750 }; | 749 }; |
751 | 750 |
752 } // namespace cricket | 751 } // namespace cricket |
753 | 752 |
754 #endif // WEBRTC_PC_CHANNEL_H_ | 753 #endif // WEBRTC_PC_CHANNEL_H_ |
OLD | NEW |