OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 void OnIncomingSSRCChanged(uint32_t ssrc) override; | 387 void OnIncomingSSRCChanged(uint32_t ssrc) override; |
388 void OnIncomingCSRCChanged(uint32_t CSRC, bool added) override; | 388 void OnIncomingCSRCChanged(uint32_t CSRC, bool added) override; |
389 | 389 |
390 // From Transport (called by the RTP/RTCP module) | 390 // From Transport (called by the RTP/RTCP module) |
391 bool SendRtp(const uint8_t* data, | 391 bool SendRtp(const uint8_t* data, |
392 size_t len, | 392 size_t len, |
393 const PacketOptions& packet_options) override; | 393 const PacketOptions& packet_options) override; |
394 bool SendRtcp(const uint8_t* data, size_t len) override; | 394 bool SendRtcp(const uint8_t* data, size_t len) override; |
395 | 395 |
396 // From MixerParticipant | 396 // From MixerParticipant |
397 int32_t GetAudioFrame(int32_t id, AudioFrame* audioFrame) override; | 397 MixerParticipant::AudioFrameInfo GetAudioFrameWithMuted( |
| 398 int32_t id, |
| 399 AudioFrame* audioFrame) override; |
398 int32_t NeededFrequency(int32_t id) const override; | 400 int32_t NeededFrequency(int32_t id) const override; |
399 | 401 |
400 // From FileCallback | 402 // From FileCallback |
401 void PlayNotification(int32_t id, uint32_t durationMs) override; | 403 void PlayNotification(int32_t id, uint32_t durationMs) override; |
402 void RecordNotification(int32_t id, uint32_t durationMs) override; | 404 void RecordNotification(int32_t id, uint32_t durationMs) override; |
403 void PlayFileEnded(int32_t id) override; | 405 void PlayFileEnded(int32_t id) override; |
404 void RecordFileEnded(int32_t id) override; | 406 void RecordFileEnded(int32_t id) override; |
405 | 407 |
406 uint32_t InstanceId() const { return _instanceId; } | 408 uint32_t InstanceId() const { return _instanceId; } |
407 int32_t ChannelId() const { return _channelId; } | 409 int32_t ChannelId() const { return _channelId; } |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 PacketRouter* packet_router_ = nullptr; | 575 PacketRouter* packet_router_ = nullptr; |
574 std::unique_ptr<TransportFeedbackProxy> feedback_observer_proxy_; | 576 std::unique_ptr<TransportFeedbackProxy> feedback_observer_proxy_; |
575 std::unique_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; | 577 std::unique_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; |
576 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; | 578 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; |
577 }; | 579 }; |
578 | 580 |
579 } // namespace voe | 581 } // namespace voe |
580 } // namespace webrtc | 582 } // namespace webrtc |
581 | 583 |
582 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ | 584 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ |
OLD | NEW |