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:
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user