| 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 24 matching lines...) Expand all Loading... |
| 35 class RateLimiter; | 35 class RateLimiter; |
| 36 class Timing; | 36 class Timing; |
| 37 } | 37 } |
| 38 | 38 |
| 39 namespace webrtc { | 39 namespace webrtc { |
| 40 class AudioSinkInterface; | 40 class AudioSinkInterface; |
| 41 } | 41 } |
| 42 | 42 |
| 43 namespace cricket { | 43 namespace cricket { |
| 44 | 44 |
| 45 class AudioRenderer; | 45 class AudioSource; |
| 46 class ScreencastId; | 46 class ScreencastId; |
| 47 class VideoCapturer; | 47 class VideoCapturer; |
| 48 class VideoFrame; | 48 class VideoFrame; |
| 49 struct RtpHeader; | 49 struct RtpHeader; |
| 50 struct VideoFormat; | 50 struct VideoFormat; |
| 51 | 51 |
| 52 const int kMinRtpHeaderExtensionId = 1; | 52 const int kMinRtpHeaderExtensionId = 1; |
| 53 const int kMaxRtpHeaderExtensionId = 255; | 53 const int kMaxRtpHeaderExtensionId = 255; |
| 54 const int kScreencastDefaultFps = 5; | 54 const int kScreencastDefaultFps = 5; |
| 55 | 55 |
| (...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 899 virtual bool SetSendParameters(const AudioSendParameters& params) = 0; | 899 virtual bool SetSendParameters(const AudioSendParameters& params) = 0; |
| 900 virtual bool SetRecvParameters(const AudioRecvParameters& params) = 0; | 900 virtual bool SetRecvParameters(const AudioRecvParameters& params) = 0; |
| 901 // Starts or stops playout of received audio. | 901 // Starts or stops playout of received audio. |
| 902 virtual bool SetPlayout(bool playout) = 0; | 902 virtual bool SetPlayout(bool playout) = 0; |
| 903 // Starts or stops sending (and potentially capture) of local audio. | 903 // Starts or stops sending (and potentially capture) of local audio. |
| 904 virtual bool SetSend(SendFlags flag) = 0; | 904 virtual bool SetSend(SendFlags flag) = 0; |
| 905 // Configure stream for sending. | 905 // Configure stream for sending. |
| 906 virtual bool SetAudioSend(uint32_t ssrc, | 906 virtual bool SetAudioSend(uint32_t ssrc, |
| 907 bool enable, | 907 bool enable, |
| 908 const AudioOptions* options, | 908 const AudioOptions* options, |
| 909 AudioRenderer* renderer) = 0; | 909 AudioSource* source) = 0; |
| 910 // Gets current energy levels for all incoming streams. | 910 // Gets current energy levels for all incoming streams. |
| 911 virtual bool GetActiveStreams(AudioInfo::StreamList* actives) = 0; | 911 virtual bool GetActiveStreams(AudioInfo::StreamList* actives) = 0; |
| 912 // Get the current energy level of the stream sent to the speaker. | 912 // Get the current energy level of the stream sent to the speaker. |
| 913 virtual int GetOutputLevel() = 0; | 913 virtual int GetOutputLevel() = 0; |
| 914 // Get the time in milliseconds since last recorded keystroke, or negative. | 914 // Get the time in milliseconds since last recorded keystroke, or negative. |
| 915 virtual int GetTimeSinceLastTyping() = 0; | 915 virtual int GetTimeSinceLastTyping() = 0; |
| 916 // Temporarily exposed field for tuning typing detect options. | 916 // Temporarily exposed field for tuning typing detect options. |
| 917 virtual void SetTypingDetectionParameters(int time_window, | 917 virtual void SetTypingDetectionParameters(int time_window, |
| 918 int cost_per_typing, int reporting_threshold, int penalty_decay, | 918 int cost_per_typing, int reporting_threshold, int penalty_decay, |
| 919 int type_event_delay) = 0; | 919 int type_event_delay) = 0; |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1110 // Signal when the media channel is ready to send the stream. Arguments are: | 1110 // Signal when the media channel is ready to send the stream. Arguments are: |
| 1111 // writable(bool) | 1111 // writable(bool) |
| 1112 sigslot::signal1<bool> SignalReadyToSend; | 1112 sigslot::signal1<bool> SignalReadyToSend; |
| 1113 // Signal for notifying that the remote side has closed the DataChannel. | 1113 // Signal for notifying that the remote side has closed the DataChannel. |
| 1114 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; | 1114 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; |
| 1115 }; | 1115 }; |
| 1116 | 1116 |
| 1117 } // namespace cricket | 1117 } // namespace cricket |
| 1118 | 1118 |
| 1119 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1119 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
| OLD | NEW |