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

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

Issue 2614263002: Remove BaseChannel's dependency on TransportController. (Closed)
Patch Set: cr comments Created 3 years, 11 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 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 class BaseChannel 73 class BaseChannel
74 : public rtc::MessageHandler, public sigslot::has_slots<>, 74 : public rtc::MessageHandler, public sigslot::has_slots<>,
75 public MediaChannel::NetworkInterface, 75 public MediaChannel::NetworkInterface,
76 public ConnectionStatsGetter { 76 public ConnectionStatsGetter {
77 public: 77 public:
78 // |rtcp| represents whether or not this channel uses RTCP. 78 // |rtcp| represents whether or not this channel uses RTCP.
79 // If |srtp_required| is true, the channel will not send or receive any 79 // If |srtp_required| is true, the channel will not send or receive any
80 // RTP/RTCP packets without using SRTP (either using SDES or DTLS-SRTP). 80 // RTP/RTCP packets without using SRTP (either using SDES or DTLS-SRTP).
81 BaseChannel(rtc::Thread* worker_thread, 81 BaseChannel(rtc::Thread* worker_thread,
82 rtc::Thread* network_thread, 82 rtc::Thread* network_thread,
83 rtc::Thread* signaling_thread,
83 MediaChannel* channel, 84 MediaChannel* channel,
84 TransportController* transport_controller,
85 const std::string& content_name, 85 const std::string& content_name,
86 bool rtcp, 86 bool rtcp,
87 bool srtp_required); 87 bool srtp_required);
88 virtual ~BaseChannel(); 88 virtual ~BaseChannel();
89 bool Init_w(const std::string* bundle_transport_name); 89 bool Init_w(TransportChannel* rtp_transport,
90 TransportChannel* rtcp_transport);
90 // Deinit may be called multiple times and is simply ignored if it's already 91 // Deinit may be called multiple times and is simply ignored if it's already
91 // done. 92 // done.
92 void Deinit(); 93 void Deinit();
93 94
94 rtc::Thread* worker_thread() const { return worker_thread_; } 95 rtc::Thread* worker_thread() const { return worker_thread_; }
95 rtc::Thread* network_thread() const { return network_thread_; } 96 rtc::Thread* network_thread() const { return network_thread_; }
96 const std::string& content_name() const { return content_name_; } 97 const std::string& content_name() const { return content_name_; }
97 const std::string& transport_name() const { return transport_name_; } 98 const std::string& transport_name() const { return transport_name_; }
98 bool enabled() const { return enabled_; } 99 bool enabled() const { return enabled_; }
99 100
100 // This function returns true if we are using SRTP. 101 // This function returns true if we are using SRTP.
101 bool secure() const { return srtp_filter_.IsActive(); } 102 bool secure() const { return srtp_filter_.IsActive(); }
102 // The following function returns true if we are using 103 // The following function returns true if we are using
103 // DTLS-based keying. If you turned off SRTP later, however 104 // DTLS-based keying. If you turned off SRTP later, however
104 // you could have secure() == false and dtls_secure() == true. 105 // you could have secure() == false and dtls_secure() == true.
105 bool secure_dtls() const { return dtls_keyed_; } 106 bool secure_dtls() const { return dtls_keyed_; }
106 107
107 bool writable() const { return writable_; } 108 bool writable() const { return writable_; }
108 109
109 // Activate RTCP mux, regardless of the state so far. Once 110 // Activate RTCP mux, regardless of the state so far. Once
110 // activated, it can not be deactivated, and if the remote 111 // activated, it can not be deactivated, and if the remote
111 // description doesn't support RTCP mux, setting the remote 112 // description doesn't support RTCP mux, setting the remote
112 // description will fail. 113 // description will fail.
113 void ActivateRtcpMux(); 114 void ActivateRtcpMux();
114 bool SetTransport(const std::string& transport_name); 115 bool SetTransport(TransportChannel* rtp_transport,
116 TransportChannel* rtcp_transport);
115 bool PushdownLocalDescription(const SessionDescription* local_desc, 117 bool PushdownLocalDescription(const SessionDescription* local_desc,
116 ContentAction action, 118 ContentAction action,
117 std::string* error_desc); 119 std::string* error_desc);
118 bool PushdownRemoteDescription(const SessionDescription* remote_desc, 120 bool PushdownRemoteDescription(const SessionDescription* remote_desc,
119 ContentAction action, 121 ContentAction action,
120 std::string* error_desc); 122 std::string* error_desc);
121 // Channel control 123 // Channel control
122 bool SetLocalContent(const MediaContentDescription* content, 124 bool SetLocalContent(const MediaContentDescription* content,
123 ContentAction action, 125 ContentAction action,
124 std::string* error_desc); 126 std::string* error_desc);
(...skipping 27 matching lines...) Expand all
152 sigslot::signal2<BaseChannel*, bool> SignalDtlsSrtpSetupFailure; 154 sigslot::signal2<BaseChannel*, bool> SignalDtlsSrtpSetupFailure;
153 void SignalDtlsSrtpSetupFailure_n(bool rtcp); 155 void SignalDtlsSrtpSetupFailure_n(bool rtcp);
154 void SignalDtlsSrtpSetupFailure_s(bool rtcp); 156 void SignalDtlsSrtpSetupFailure_s(bool rtcp);
155 157
156 // Used for latency measurements. 158 // Used for latency measurements.
157 sigslot::signal1<BaseChannel*> SignalFirstPacketReceived; 159 sigslot::signal1<BaseChannel*> SignalFirstPacketReceived;
158 160
159 // Forward TransportChannel SignalSentPacket to worker thread. 161 // Forward TransportChannel SignalSentPacket to worker thread.
160 sigslot::signal1<const rtc::SentPacket&> SignalSentPacket; 162 sigslot::signal1<const rtc::SentPacket&> SignalSentPacket;
161 163
162 // Only public for unit tests. Otherwise, consider private. 164 // Emitted whenever the rtcp-mux is active and the rtcp-transport can be
163 TransportChannel* transport_channel() const { return transport_channel_; } 165 // destroyed.
Taylor Brandstetter 2017/01/13 01:41:20 Would be helpful to comment that this is fired on
164 TransportChannel* rtcp_transport_channel() const { 166 sigslot::signal1<const std::string&> SignalDestroyRtcpTransport;
165 return rtcp_transport_channel_; 167
166 } 168 TransportChannel* rtp_transport() const { return rtp_transport_; }
169 TransportChannel* rtcp_transport() const { return rtcp_transport_; }
170
171 bool NeedsRtcpTransport();
167 172
168 // Made public for easier testing. 173 // Made public for easier testing.
169 // 174 //
170 // Updates "ready to send" for an individual channel, and informs the media 175 // Updates "ready to send" for an individual channel, and informs the media
171 // channel that the transport is ready to send if each channel (in use) is 176 // channel that the transport is ready to send if each channel (in use) is
172 // ready to send. This is more specific than just "writable"; it means the 177 // ready to send. This is more specific than just "writable"; it means the
173 // last send didn't return ENOTCONN. 178 // last send didn't return ENOTCONN.
174 // 179 //
175 // This should be called whenever a channel's ready-to-send state changes, 180 // This should be called whenever a channel's ready-to-send state changes,
176 // or when RTCP muxing becomes active/inactive. 181 // or when RTCP muxing becomes active/inactive.
177 void SetTransportChannelReadyToSend(bool rtcp, bool ready); 182 void SetTransportChannelReadyToSend(bool rtcp, bool ready);
178 183
179 // Only public for unit tests. Otherwise, consider protected. 184 // Only public for unit tests. Otherwise, consider protected.
180 int SetOption(SocketType type, rtc::Socket::Option o, int val) 185 int SetOption(SocketType type, rtc::Socket::Option o, int val)
181 override; 186 override;
182 int SetOption_n(SocketType type, rtc::Socket::Option o, int val); 187 int SetOption_n(SocketType type, rtc::Socket::Option o, int val);
183 188
184 SrtpFilter* srtp_filter() { return &srtp_filter_; } 189 SrtpFilter* srtp_filter() { return &srtp_filter_; }
185 190
186 virtual cricket::MediaType media_type() = 0; 191 virtual cricket::MediaType media_type() = 0;
187 192
188 bool SetCryptoOptions(const rtc::CryptoOptions& crypto_options); 193 bool SetCryptoOptions(const rtc::CryptoOptions& crypto_options);
189 194
190 // This function returns true if we require SRTP for call setup. 195 // This function returns true if we require SRTP for call setup.
191 bool srtp_required_for_testing() const { return srtp_required_; } 196 bool srtp_required_for_testing() const { return srtp_required_; }
192 197
193 protected: 198 protected:
194 virtual MediaChannel* media_channel() const { return media_channel_; } 199 virtual MediaChannel* media_channel() const { return media_channel_; }
195 200
196 // Sets the |transport_channel_| (and |rtcp_transport_channel_|, if 201 // Sets the |rtp_transport_| (and |rtcp_transport_|, if
197 // |rtcp_enabled_| is true). Gets the transport channels from 202 // |rtcp_enabled_| is true).
198 // |transport_controller_|.
199 // This method also updates writability and "ready-to-send" state. 203 // This method also updates writability and "ready-to-send" state.
200 bool SetTransport_n(const std::string& transport_name); 204 bool SetTransport_n(TransportChannel* rtp_transport,
205 TransportChannel* rtcp_transport);
201 206
202 // This does not update writability or "ready-to-send" state; it just 207 // This does not update writability or "ready-to-send" state; it just
203 // disconnects from the old channel and connects to the new one. 208 // disconnects from the old channel and connects to the new one.
204 void SetTransportChannel_n(bool rtcp, TransportChannel* new_channel); 209 void SetTransportChannel_n(bool rtcp, TransportChannel* new_transport);
205 210
206 bool was_ever_writable() const { return was_ever_writable_; } 211 bool was_ever_writable() const { return was_ever_writable_; }
207 void set_local_content_direction(MediaContentDirection direction) { 212 void set_local_content_direction(MediaContentDirection direction) {
208 local_content_direction_ = direction; 213 local_content_direction_ = direction;
209 } 214 }
210 void set_remote_content_direction(MediaContentDirection direction) { 215 void set_remote_content_direction(MediaContentDirection direction) {
211 remote_content_direction_ = direction; 216 remote_content_direction_ = direction;
212 } 217 }
213 // These methods verify that: 218 // These methods verify that:
214 // * The required content description directions have been set. 219 // * The required content description directions have been set.
215 // * The channel is enabled. 220 // * The channel is enabled.
216 // * And for sending: 221 // * And for sending:
217 // - The SRTP filter is active if it's needed. 222 // - The SRTP filter is active if it's needed.
218 // - The transport has been writable before, meaning it should be at least 223 // - The transport has been writable before, meaning it should be at least
219 // possible to succeed in sending a packet. 224 // possible to succeed in sending a packet.
220 // 225 //
221 // When any of these properties change, UpdateMediaSendRecvState_w should be 226 // When any of these properties change, UpdateMediaSendRecvState_w should be
222 // called. 227 // called.
223 bool IsReadyToReceiveMedia_w() const; 228 bool IsReadyToReceiveMedia_w() const;
224 bool IsReadyToSendMedia_w() const; 229 bool IsReadyToSendMedia_w() const;
225 rtc::Thread* signaling_thread() { 230 rtc::Thread* signaling_thread() { return signaling_thread_; }
226 return transport_controller_->signaling_thread();
227 }
228 231
229 void ConnectToTransportChannel(TransportChannel* tc); 232 void ConnectToTransportChannel(TransportChannel* tc);
230 void DisconnectFromTransportChannel(TransportChannel* tc); 233 void DisconnectFromTransportChannel(TransportChannel* tc);
231 234
232 void FlushRtcpMessages_n(); 235 void FlushRtcpMessages_n();
233 236
234 // NetworkInterface implementation, called by MediaEngine 237 // NetworkInterface implementation, called by MediaEngine
235 bool SendPacket(rtc::CopyOnWriteBuffer* packet, 238 bool SendPacket(rtc::CopyOnWriteBuffer* packet,
236 const rtc::PacketOptions& options) override; 239 const rtc::PacketOptions& options) override;
237 bool SendRtcp(rtc::CopyOnWriteBuffer* packet, 240 bool SendRtcp(rtc::CopyOnWriteBuffer* packet,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 const std::vector<ConnectionInfo>& infos) = 0; 355 const std::vector<ConnectionInfo>& infos) = 0;
353 356
354 // Helper function for invoking bool-returning methods on the worker thread. 357 // Helper function for invoking bool-returning methods on the worker thread.
355 template <class FunctorT> 358 template <class FunctorT>
356 bool InvokeOnWorker(const rtc::Location& posted_from, 359 bool InvokeOnWorker(const rtc::Location& posted_from,
357 const FunctorT& functor) { 360 const FunctorT& functor) {
358 return worker_thread_->Invoke<bool>(posted_from, functor); 361 return worker_thread_->Invoke<bool>(posted_from, functor);
359 } 362 }
360 363
361 private: 364 private:
362 bool InitNetwork_n(const std::string* bundle_transport_name); 365 bool InitNetwork_n(TransportChannel* rtp_transport,
366 TransportChannel* rtcp_transport);
363 void DisconnectTransportChannels_n(); 367 void DisconnectTransportChannels_n();
364 void DestroyTransportChannels_n();
365 void SignalSentPacket_n(rtc::PacketTransportInterface* transport, 368 void SignalSentPacket_n(rtc::PacketTransportInterface* transport,
366 const rtc::SentPacket& sent_packet); 369 const rtc::SentPacket& sent_packet);
367 void SignalSentPacket_w(const rtc::SentPacket& sent_packet); 370 void SignalSentPacket_w(const rtc::SentPacket& sent_packet);
368 bool IsReadyToSendMedia_n() const; 371 bool IsReadyToSendMedia_n() const;
369 void CacheRtpAbsSendTimeHeaderExtension_n(int rtp_abs_sendtime_extn_id); 372 void CacheRtpAbsSendTimeHeaderExtension_n(int rtp_abs_sendtime_extn_id);
370 int GetTransportOverheadPerPacket() const; 373 int GetTransportOverheadPerPacket() const;
371 void UpdateTransportOverhead(); 374 void UpdateTransportOverhead();
372 375
373 rtc::Thread* const worker_thread_; 376 rtc::Thread* const worker_thread_;
374 rtc::Thread* const network_thread_; 377 rtc::Thread* const network_thread_;
378 rtc::Thread* const signaling_thread_;
375 rtc::AsyncInvoker invoker_; 379 rtc::AsyncInvoker invoker_;
376 380
377 const std::string content_name_; 381 const std::string content_name_;
378 std::unique_ptr<ConnectionMonitor> connection_monitor_; 382 std::unique_ptr<ConnectionMonitor> connection_monitor_;
379 383
380 // Transport related members that should be accessed from network thread.
381 TransportController* const transport_controller_;
382 std::string transport_name_; 384 std::string transport_name_;
383 // Is RTCP used at all by this type of channel? 385 // Is RTCP used at all by this type of channel?
384 // Expected to be true (as of typing this) for everything except data 386 // Expected to be true (as of typing this) for everything except data
385 // channels. 387 // channels.
386 const bool rtcp_enabled_; 388 const bool rtcp_enabled_;
387 // TODO(johan): Replace TransportChannel* with rtc::PacketTransportInterface*. 389 // TODO(johan): Replace TransportChannel* with rtc::PacketTransportInterface*.
388 TransportChannel* transport_channel_ = nullptr; 390 TransportChannel* rtp_transport_ = nullptr;
389 std::vector<std::pair<rtc::Socket::Option, int> > socket_options_; 391 std::vector<std::pair<rtc::Socket::Option, int> > socket_options_;
390 TransportChannel* rtcp_transport_channel_ = nullptr; 392 TransportChannel* rtcp_transport_ = nullptr;
391 std::vector<std::pair<rtc::Socket::Option, int> > rtcp_socket_options_; 393 std::vector<std::pair<rtc::Socket::Option, int> > rtcp_socket_options_;
392 SrtpFilter srtp_filter_; 394 SrtpFilter srtp_filter_;
393 RtcpMuxFilter rtcp_mux_filter_; 395 RtcpMuxFilter rtcp_mux_filter_;
394 BundleFilter bundle_filter_; 396 BundleFilter bundle_filter_;
395 bool rtp_ready_to_send_ = false; 397 bool rtp_ready_to_send_ = false;
396 bool rtcp_ready_to_send_ = false; 398 bool rtcp_ready_to_send_ = false;
397 bool writable_ = false; 399 bool writable_ = false;
398 bool was_ever_writable_ = false; 400 bool was_ever_writable_ = false;
399 bool has_received_packet_ = false; 401 bool has_received_packet_ = false;
400 bool dtls_keyed_ = false; 402 bool dtls_keyed_ = false;
(...skipping 14 matching lines...) Expand all
415 MediaContentDirection remote_content_direction_ = MD_INACTIVE; 417 MediaContentDirection remote_content_direction_ = MD_INACTIVE;
416 CandidatePairInterface* selected_candidate_pair_; 418 CandidatePairInterface* selected_candidate_pair_;
417 }; 419 };
418 420
419 // VoiceChannel is a specialization that adds support for early media, DTMF, 421 // VoiceChannel is a specialization that adds support for early media, DTMF,
420 // and input/output level monitoring. 422 // and input/output level monitoring.
421 class VoiceChannel : public BaseChannel { 423 class VoiceChannel : public BaseChannel {
422 public: 424 public:
423 VoiceChannel(rtc::Thread* worker_thread, 425 VoiceChannel(rtc::Thread* worker_thread,
424 rtc::Thread* network_thread, 426 rtc::Thread* network_thread,
427 rtc::Thread* signaling_thread,
425 MediaEngineInterface* media_engine, 428 MediaEngineInterface* media_engine,
426 VoiceMediaChannel* channel, 429 VoiceMediaChannel* channel,
427 TransportController* transport_controller,
428 const std::string& content_name, 430 const std::string& content_name,
429 bool rtcp, 431 bool rtcp,
430 bool srtp_required); 432 bool srtp_required);
431 ~VoiceChannel(); 433 ~VoiceChannel();
432 bool Init_w(const std::string* bundle_transport_name); 434 bool Init_w(TransportChannel* rtp_transport,
435 TransportChannel* rtcp_transport);
433 436
434 // Configure sending media on the stream with SSRC |ssrc| 437 // Configure sending media on the stream with SSRC |ssrc|
435 // If there is only one sending stream SSRC 0 can be used. 438 // If there is only one sending stream SSRC 0 can be used.
436 bool SetAudioSend(uint32_t ssrc, 439 bool SetAudioSend(uint32_t ssrc,
437 bool enable, 440 bool enable,
438 const AudioOptions* options, 441 const AudioOptions* options,
439 AudioSource* source); 442 AudioSource* source);
440 443
441 // downcasts a MediaChannel 444 // downcasts a MediaChannel
442 VoiceMediaChannel* media_channel() const override { 445 VoiceMediaChannel* media_channel() const override {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 AudioSendParameters last_send_params_; 536 AudioSendParameters last_send_params_;
534 // Last AudioRecvParameters sent down to the media_channel() via 537 // Last AudioRecvParameters sent down to the media_channel() via
535 // SetRecvParameters. 538 // SetRecvParameters.
536 AudioRecvParameters last_recv_params_; 539 AudioRecvParameters last_recv_params_;
537 }; 540 };
538 541
539 // VideoChannel is a specialization for video. 542 // VideoChannel is a specialization for video.
540 class VideoChannel : public BaseChannel { 543 class VideoChannel : public BaseChannel {
541 public: 544 public:
542 VideoChannel(rtc::Thread* worker_thread, 545 VideoChannel(rtc::Thread* worker_thread,
543 rtc::Thread* netwokr_thread, 546 rtc::Thread* network_thread,
547 rtc::Thread* signaling_thread,
544 VideoMediaChannel* channel, 548 VideoMediaChannel* channel,
545 TransportController* transport_controller,
546 const std::string& content_name, 549 const std::string& content_name,
547 bool rtcp, 550 bool rtcp,
548 bool srtp_required); 551 bool srtp_required);
549 ~VideoChannel(); 552 ~VideoChannel();
550 bool Init_w(const std::string* bundle_transport_name); 553 bool Init_w(TransportChannel* rtp_transport,
554 TransportChannel* rtcp_transport);
551 555
552 // downcasts a MediaChannel 556 // downcasts a MediaChannel
553 VideoMediaChannel* media_channel() const override { 557 VideoMediaChannel* media_channel() const override {
554 return static_cast<VideoMediaChannel*>(BaseChannel::media_channel()); 558 return static_cast<VideoMediaChannel*>(BaseChannel::media_channel());
555 } 559 }
556 560
557 bool SetSink(uint32_t ssrc, 561 bool SetSink(uint32_t ssrc,
558 rtc::VideoSinkInterface<webrtc::VideoFrame>* sink); 562 rtc::VideoSinkInterface<webrtc::VideoFrame>* sink);
559 // Get statistics about the current media session. 563 // Get statistics about the current media session.
560 bool GetStats(VideoMediaInfo* stats); 564 bool GetStats(VideoMediaInfo* stats);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 // Last VideoRecvParameters sent down to the media_channel() via 617 // Last VideoRecvParameters sent down to the media_channel() via
614 // SetRecvParameters. 618 // SetRecvParameters.
615 VideoRecvParameters last_recv_params_; 619 VideoRecvParameters last_recv_params_;
616 }; 620 };
617 621
618 // RtpDataChannel is a specialization for data. 622 // RtpDataChannel is a specialization for data.
619 class RtpDataChannel : public BaseChannel { 623 class RtpDataChannel : public BaseChannel {
620 public: 624 public:
621 RtpDataChannel(rtc::Thread* worker_thread, 625 RtpDataChannel(rtc::Thread* worker_thread,
622 rtc::Thread* network_thread, 626 rtc::Thread* network_thread,
623 DataMediaChannel* media_channel, 627 rtc::Thread* signaling_thread,
624 TransportController* transport_controller, 628 DataMediaChannel* channel,
625 const std::string& content_name, 629 const std::string& content_name,
626 bool rtcp, 630 bool rtcp,
627 bool srtp_required); 631 bool srtp_required);
628 ~RtpDataChannel(); 632 ~RtpDataChannel();
629 bool Init_w(const std::string* bundle_transport_name); 633 bool Init_w(TransportChannel* rtp_transport,
634 TransportChannel* rtcp_transport);
630 635
631 virtual bool SendData(const SendDataParams& params, 636 virtual bool SendData(const SendDataParams& params,
632 const rtc::CopyOnWriteBuffer& payload, 637 const rtc::CopyOnWriteBuffer& payload,
633 SendDataResult* result); 638 SendDataResult* result);
634 639
635 void StartMediaMonitor(int cms); 640 void StartMediaMonitor(int cms);
636 void StopMediaMonitor(); 641 void StopMediaMonitor();
637 642
638 // Should be called on the signaling thread only. 643 // Should be called on the signaling thread only.
639 bool ready_to_send_data() const { 644 bool ready_to_send_data() const {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 // SetSendParameters. 727 // SetSendParameters.
723 DataSendParameters last_send_params_; 728 DataSendParameters last_send_params_;
724 // Last DataRecvParameters sent down to the media_channel() via 729 // Last DataRecvParameters sent down to the media_channel() via
725 // SetRecvParameters. 730 // SetRecvParameters.
726 DataRecvParameters last_recv_params_; 731 DataRecvParameters last_recv_params_;
727 }; 732 };
728 733
729 } // namespace cricket 734 } // namespace cricket
730 735
731 #endif // WEBRTC_PC_CHANNEL_H_ 736 #endif // WEBRTC_PC_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698