
The purpose is to make _rtpReceiver mostly agnostic to if it processes audio or video, and make its delegates responsible for that. This patch makes the actual interfaces and interactions between the classes a lot clearer which will probably help straighten out the rather convoluted business logic in here. There are a number of rough edges I hope to address in coming patches. In particular, I think there are a lot of audio-specific hacks, especially when it comes to telephone event handling. I think we will see a lot of benefit once that stuff moves out of rtp_receiver altogether. The new strategy I introduced doesn't quite pull its own weight yet, but I think I will be able to remove a lot of that interface later once the responsibilities of the classes becomes move cohesive (e.g. that audio specific stuff actually lives in the audio class, and so on). Also I think it should be possible to extract payload type management to a helper class later on. BUG= TEST=vie/voe_auto_test, trybots Review URL: https://webrtc-codereview.appspot.com/1001006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3306 4adac7df-926f-26a2-2b94-8c16560cd09d
101 lines
2.9 KiB
Python
101 lines
2.9 KiB
Python
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'rtp_rtcp',
|
|
'type': '<(library)',
|
|
'dependencies': [
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
'<(webrtc_root)/modules/modules.gyp:remote_bitrate_estimator',
|
|
'<(webrtc_root)/modules/modules.gyp:paced_sender',
|
|
],
|
|
'include_dirs': [
|
|
'../interface',
|
|
'../../interface',
|
|
],
|
|
'direct_dependent_settings': {
|
|
'include_dirs': [
|
|
'../interface',
|
|
'../../interface',
|
|
],
|
|
},
|
|
'sources': [
|
|
# Common
|
|
'../interface/rtp_rtcp.h',
|
|
'../interface/rtp_rtcp_defines.h',
|
|
'bitrate.cc',
|
|
'Bitrate.h',
|
|
'rtp_rtcp_config.h',
|
|
'rtp_rtcp_impl.cc',
|
|
'rtp_rtcp_impl.h',
|
|
'rtcp_receiver.cc',
|
|
'rtcp_receiver.h',
|
|
'rtcp_receiver_help.cc',
|
|
'rtcp_receiver_help.h',
|
|
'rtcp_sender.cc',
|
|
'rtcp_sender.h',
|
|
'rtcp_utility.cc',
|
|
'rtcp_utility.h',
|
|
'rtp_header_extension.cc',
|
|
'rtp_header_extension.h',
|
|
'rtp_receiver.cc',
|
|
'rtp_receiver.h',
|
|
'rtp_sender.cc',
|
|
'rtp_sender.h',
|
|
'rtp_utility.cc',
|
|
'rtp_utility.h',
|
|
'ssrc_database.cc',
|
|
'ssrc_database.h',
|
|
'tmmbr_help.cc',
|
|
'tmmbr_help.h',
|
|
# Audio Files
|
|
'dtmf_queue.cc',
|
|
'dtmf_queue.h',
|
|
'rtp_receiver_audio.cc',
|
|
'rtp_receiver_audio.h',
|
|
'rtp_sender_audio.cc',
|
|
'rtp_sender_audio.h',
|
|
# Video Files
|
|
'fec_private_tables_random.h',
|
|
'fec_private_tables_bursty.h',
|
|
'forward_error_correction.cc',
|
|
'forward_error_correction.h',
|
|
'forward_error_correction_internal.cc',
|
|
'forward_error_correction_internal.h',
|
|
'producer_fec.cc',
|
|
'producer_fec.h',
|
|
'rtp_packet_history.cc',
|
|
'rtp_packet_history.h',
|
|
'rtp_receiver_strategy.cc',
|
|
'rtp_receiver_stragegy.h',
|
|
'rtp_receiver_video.cc',
|
|
'rtp_receiver_video.h',
|
|
'rtp_sender_video.cc',
|
|
'rtp_sender_video.h',
|
|
'receiver_fec.cc',
|
|
'receiver_fec.h',
|
|
'video_codec_information.h',
|
|
'rtp_format_vp8.cc',
|
|
'rtp_format_vp8.h',
|
|
'vp8_partition_aggregator.cc',
|
|
'vp8_partition_aggregator.h',
|
|
# Mocks
|
|
'../mocks/mock_rtp_rtcp.h',
|
|
], # source
|
|
},
|
|
],
|
|
}
|
|
|
|
# Local Variables:
|
|
# tab-width:2
|
|
# indent-tabs-mode:nil
|
|
# End:
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|