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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 virtual webrtc::RtpParameters GetRtpSendParameters(uint32_t ssrc) const = 0; | 901 virtual webrtc::RtpParameters GetRtpSendParameters(uint32_t ssrc) const = 0; |
902 virtual bool SetRtpSendParameters( | 902 virtual bool SetRtpSendParameters( |
903 uint32_t ssrc, | 903 uint32_t ssrc, |
904 const webrtc::RtpParameters& parameters) = 0; | 904 const webrtc::RtpParameters& parameters) = 0; |
905 virtual webrtc::RtpParameters GetRtpReceiveParameters( | 905 virtual webrtc::RtpParameters GetRtpReceiveParameters( |
906 uint32_t ssrc) const = 0; | 906 uint32_t ssrc) const = 0; |
907 virtual bool SetRtpReceiveParameters( | 907 virtual bool SetRtpReceiveParameters( |
908 uint32_t ssrc, | 908 uint32_t ssrc, |
909 const webrtc::RtpParameters& parameters) = 0; | 909 const webrtc::RtpParameters& parameters) = 0; |
910 // Starts or stops playout of received audio. | 910 // Starts or stops playout of received audio. |
911 virtual bool SetPlayout(bool playout) = 0; | 911 virtual void SetPlayout(bool playout) = 0; |
912 // Starts or stops sending (and potentially capture) of local audio. | 912 // Starts or stops sending (and potentially capture) of local audio. |
913 virtual void SetSend(bool send) = 0; | 913 virtual void SetSend(bool send) = 0; |
914 // Configure stream for sending. | 914 // Configure stream for sending. |
915 virtual bool SetAudioSend(uint32_t ssrc, | 915 virtual bool SetAudioSend(uint32_t ssrc, |
916 bool enable, | 916 bool enable, |
917 const AudioOptions* options, | 917 const AudioOptions* options, |
918 AudioSource* source) = 0; | 918 AudioSource* source) = 0; |
919 // Gets current energy levels for all incoming streams. | 919 // Gets current energy levels for all incoming streams. |
920 virtual bool GetActiveStreams(AudioInfo::StreamList* actives) = 0; | 920 virtual bool GetActiveStreams(AudioInfo::StreamList* actives) = 0; |
921 // Get the current energy level of the stream sent to the speaker. | 921 // Get the current energy level of the stream sent to the speaker. |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 // Signal when the media channel is ready to send the stream. Arguments are: | 1130 // Signal when the media channel is ready to send the stream. Arguments are: |
1131 // writable(bool) | 1131 // writable(bool) |
1132 sigslot::signal1<bool> SignalReadyToSend; | 1132 sigslot::signal1<bool> SignalReadyToSend; |
1133 // Signal for notifying that the remote side has closed the DataChannel. | 1133 // Signal for notifying that the remote side has closed the DataChannel. |
1134 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; | 1134 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; |
1135 }; | 1135 }; |
1136 | 1136 |
1137 } // namespace cricket | 1137 } // namespace cricket |
1138 | 1138 |
1139 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1139 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
OLD | NEW |