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 |
11 #ifndef WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 11 #ifndef WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
12 #define WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 12 #define WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/api/rtpparameters.h" | 18 #include "webrtc/api/rtpparameters.h" |
19 #include "webrtc/base/basictypes.h" | 19 #include "webrtc/base/basictypes.h" |
| 20 #include "webrtc/base/buffer.h" |
20 #include "webrtc/base/copyonwritebuffer.h" | 21 #include "webrtc/base/copyonwritebuffer.h" |
21 #include "webrtc/base/dscp.h" | 22 #include "webrtc/base/dscp.h" |
22 #include "webrtc/base/logging.h" | 23 #include "webrtc/base/logging.h" |
23 #include "webrtc/base/networkroute.h" | 24 #include "webrtc/base/networkroute.h" |
24 #include "webrtc/base/optional.h" | 25 #include "webrtc/base/optional.h" |
25 #include "webrtc/base/sigslot.h" | 26 #include "webrtc/base/sigslot.h" |
26 #include "webrtc/base/socket.h" | 27 #include "webrtc/base/socket.h" |
27 #include "webrtc/base/window.h" | 28 #include "webrtc/base/window.h" |
28 #include "webrtc/media/base/codec.h" | 29 #include "webrtc/media/base/codec.h" |
29 #include "webrtc/media/base/mediaconstants.h" | 30 #include "webrtc/media/base/mediaconstants.h" |
30 #include "webrtc/media/base/streamparams.h" | 31 #include "webrtc/media/base/streamparams.h" |
31 #include "webrtc/media/base/videosinkinterface.h" | 32 #include "webrtc/media/base/videosinkinterface.h" |
32 #include "webrtc/media/base/videosourceinterface.h" | 33 #include "webrtc/media/base/videosourceinterface.h" |
33 // TODO(juberti): re-evaluate this include | 34 // TODO(juberti): re-evaluate this include |
34 #include "webrtc/pc/audiomonitor.h" | 35 #include "webrtc/pc/audiomonitor.h" |
35 | 36 |
36 namespace rtc { | 37 namespace rtc { |
37 class Buffer; | |
38 class RateLimiter; | 38 class RateLimiter; |
39 class Timing; | 39 class Timing; |
40 } | 40 } |
41 | 41 |
42 namespace webrtc { | 42 namespace webrtc { |
43 class AudioSinkInterface; | 43 class AudioSinkInterface; |
44 } | 44 } |
45 | 45 |
46 namespace cricket { | 46 namespace cricket { |
47 | 47 |
(...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1126 // Signal when the media channel is ready to send the stream. Arguments are: | 1126 // Signal when the media channel is ready to send the stream. Arguments are: |
1127 // writable(bool) | 1127 // writable(bool) |
1128 sigslot::signal1<bool> SignalReadyToSend; | 1128 sigslot::signal1<bool> SignalReadyToSend; |
1129 // Signal for notifying that the remote side has closed the DataChannel. | 1129 // Signal for notifying that the remote side has closed the DataChannel. |
1130 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; | 1130 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; |
1131 }; | 1131 }; |
1132 | 1132 |
1133 } // namespace cricket | 1133 } // namespace cricket |
1134 | 1134 |
1135 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1135 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
OLD | NEW |