OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 class Timing; | 44 class Timing; |
45 } | 45 } |
46 | 46 |
47 namespace webrtc { | 47 namespace webrtc { |
48 class AudioSinkInterface; | 48 class AudioSinkInterface; |
49 } | 49 } |
50 | 50 |
51 namespace cricket { | 51 namespace cricket { |
52 | 52 |
53 class AudioSource; | 53 class AudioSource; |
54 class ScreencastId; | |
55 class VideoCapturer; | 54 class VideoCapturer; |
56 struct RtpHeader; | 55 struct RtpHeader; |
57 struct VideoFormat; | 56 struct VideoFormat; |
58 | 57 |
59 const int kScreencastDefaultFps = 5; | 58 const int kScreencastDefaultFps = 5; |
60 | 59 |
61 template <class T> | 60 template <class T> |
62 static std::string ToStringIfSet(const char* key, const rtc::Optional<T>& val) { | 61 static std::string ToStringIfSet(const char* key, const rtc::Optional<T>& val) { |
63 std::string str; | 62 std::string str; |
64 if (val) { | 63 if (val) { |
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 // Signal when the media channel is ready to send the stream. Arguments are: | 1133 // Signal when the media channel is ready to send the stream. Arguments are: |
1135 // writable(bool) | 1134 // writable(bool) |
1136 sigslot::signal1<bool> SignalReadyToSend; | 1135 sigslot::signal1<bool> SignalReadyToSend; |
1137 // Signal for notifying that the remote side has closed the DataChannel. | 1136 // Signal for notifying that the remote side has closed the DataChannel. |
1138 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; | 1137 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; |
1139 }; | 1138 }; |
1140 | 1139 |
1141 } // namespace cricket | 1140 } // namespace cricket |
1142 | 1141 |
1143 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1142 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
OLD | NEW |