| OLD | NEW |
| 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 15 matching lines...) Expand all Loading... |
| 26 // in the future will create and own RtpSenders and RtpReceivers. | 26 // in the future will create and own RtpSenders and RtpReceivers. |
| 27 class MediaControllerInterface { | 27 class MediaControllerInterface { |
| 28 public: | 28 public: |
| 29 static MediaControllerInterface* Create( | 29 static MediaControllerInterface* Create( |
| 30 const cricket::MediaConfig& config, | 30 const cricket::MediaConfig& config, |
| 31 rtc::Thread* worker_thread, | 31 rtc::Thread* worker_thread, |
| 32 cricket::ChannelManager* channel_manager); | 32 cricket::ChannelManager* channel_manager); |
| 33 | 33 |
| 34 virtual ~MediaControllerInterface() {} | 34 virtual ~MediaControllerInterface() {} |
| 35 virtual void Close() = 0; | 35 virtual void Close() = 0; |
| 36 virtual webrtc::Call* call_w() = 0; | 36 virtual webrtc::Call* call() = 0; |
| 37 virtual cricket::ChannelManager* channel_manager() const = 0; | 37 virtual cricket::ChannelManager* channel_manager() const = 0; |
| 38 virtual const cricket::MediaConfig& config() const = 0; | 38 virtual const cricket::MediaConfig& config() const = 0; |
| 39 }; | 39 }; |
| 40 } // namespace webrtc | 40 } // namespace webrtc |
| 41 | 41 |
| 42 #endif // WEBRTC_API_MEDIACONTROLLER_H_ | 42 #endif // WEBRTC_API_MEDIACONTROLLER_H_ |
| OLD | NEW |