Update to the neteq_rtpplay utility to support RtcEventLog input files.

This CL adds support for simulating neteq using stored RTP packets as well as calls to GetAudio from an RtcEventLog, using the stored timestamps.
The type of the input file is detected automatically.
BUG=webrtc:4741

Review URL: https://codereview.webrtc.org/1316903002

Cr-Commit-Position: refs/heads/master@{#9886}
This commit is contained in:
ivoc
2015-09-08 03:28:46 -07:00
committed by Commit bot
parent f3ecdb981c
commit caa5f4b3d2
4 changed files with 311 additions and 47 deletions

View File

@ -7,24 +7,42 @@
# be found in the AUTHORS file in the root of the source tree.
{
'conditions': [
['enable_protobuf==1', {
'targets': [
{
'target_name': 'rtc_event_log_source',
'type': 'static_library',
'dependencies': [
'<(webrtc_root)/webrtc.gyp:rtc_event_log',
'<(webrtc_root)/webrtc.gyp:rtc_event_log_proto',
],
'sources': [
'tools/rtc_event_log_source.h',
'tools/rtc_event_log_source.cc',
],
},
{
'target_name': 'neteq_rtpplay',
'type': 'executable',
'dependencies': [
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
'<(webrtc_root)/test/test.gyp:test_support_main',
'rtc_event_log_source',
'neteq',
'neteq_unittest_tools',
'pcm16b',
],
'sources': [
'tools/neteq_rtpplay.cc',
],
'defines': [
],
}, # neteq_rtpplay
],
}],
],
'targets': [
{
'target_name': 'neteq_rtpplay',
'type': 'executable',
'dependencies': [
'<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
'<(webrtc_root)/test/test.gyp:test_support_main',
'neteq',
'neteq_unittest_tools',
'pcm16b',
],
'sources': [
'tools/neteq_rtpplay.cc',
],
'defines': [
],
}, # neteq_rtpplay
{
'target_name': 'RTPencode',
'type': 'executable',