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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 bool rtcp); | 491 bool rtcp); |
492 ~VideoChannel(); | 492 ~VideoChannel(); |
493 bool Init_w(const std::string* bundle_transport_name); | 493 bool Init_w(const std::string* bundle_transport_name); |
494 | 494 |
495 // downcasts a MediaChannel | 495 // downcasts a MediaChannel |
496 VideoMediaChannel* media_channel() const override { | 496 VideoMediaChannel* media_channel() const override { |
497 return static_cast<VideoMediaChannel*>(BaseChannel::media_channel()); | 497 return static_cast<VideoMediaChannel*>(BaseChannel::media_channel()); |
498 } | 498 } |
499 | 499 |
500 bool SetSink(uint32_t ssrc, rtc::VideoSinkInterface<VideoFrame>* sink); | 500 bool SetSink(uint32_t ssrc, rtc::VideoSinkInterface<VideoFrame>* sink); |
501 void SetSource(uint32_t ssrc, | |
502 rtc::VideoSourceInterface<cricket::VideoFrame>* source); | |
503 // Get statistics about the current media session. | 501 // Get statistics about the current media session. |
504 bool GetStats(VideoMediaInfo* stats); | 502 bool GetStats(VideoMediaInfo* stats); |
505 | 503 |
506 sigslot::signal2<VideoChannel*, const std::vector<ConnectionInfo>&> | 504 sigslot::signal2<VideoChannel*, const std::vector<ConnectionInfo>&> |
507 SignalConnectionMonitor; | 505 SignalConnectionMonitor; |
508 | 506 |
509 void StartMediaMonitor(int cms); | 507 void StartMediaMonitor(int cms); |
510 void StopMediaMonitor(); | 508 void StopMediaMonitor(); |
511 sigslot::signal2<VideoChannel*, const VideoMediaInfo&> SignalMediaMonitor; | 509 sigslot::signal2<VideoChannel*, const VideoMediaInfo&> SignalMediaMonitor; |
512 | 510 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 // SetSendParameters. | 674 // SetSendParameters. |
677 DataSendParameters last_send_params_; | 675 DataSendParameters last_send_params_; |
678 // Last DataRecvParameters sent down to the media_channel() via | 676 // Last DataRecvParameters sent down to the media_channel() via |
679 // SetRecvParameters. | 677 // SetRecvParameters. |
680 DataRecvParameters last_recv_params_; | 678 DataRecvParameters last_recv_params_; |
681 }; | 679 }; |
682 | 680 |
683 } // namespace cricket | 681 } // namespace cricket |
684 | 682 |
685 #endif // WEBRTC_PC_CHANNEL_H_ | 683 #endif // WEBRTC_PC_CHANNEL_H_ |
OLD | NEW |