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 |
11 /* | 11 /* |
12 * Parses an rtpdump file and outputs a text table parsable by parseLog.m. | 12 * Parses an rtpdump file and outputs a text table parsable by parseLog.m. |
13 * The output file will have .txt appended to the specified base name. | 13 * The output file will have .txt appended to the specified base name. |
14 * $ rtp_to_text [-d] <input_rtp_file> <output_base_name> | 14 * $ rtp_to_text [-d] <input_rtp_file> <output_base_name> |
15 * | 15 * |
16 * -d RTP headers only | 16 * -d RTP headers only |
17 * | 17 * |
18 */ | 18 */ |
19 | 19 |
20 #include "webrtc/system_wrappers/interface/data_log.h" | 20 #include "webrtc/system_wrappers/include/data_log.h" |
21 #include "NETEQTEST_DummyRTPpacket.h" | 21 #include "NETEQTEST_DummyRTPpacket.h" |
22 #include "NETEQTEST_RTPpacket.h" | 22 #include "NETEQTEST_RTPpacket.h" |
23 | 23 |
24 #include <stdio.h> | 24 #include <stdio.h> |
25 #include <string.h> | 25 #include <string.h> |
26 | 26 |
27 #include <iostream> | 27 #include <iostream> |
28 #include <string> | 28 #include <string> |
29 #include <vector> | 29 #include <vector> |
30 | 30 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 DataLog::NextRow(table_name); | 115 DataLog::NextRow(table_name); |
116 return -1; | 116 return -1; |
117 } | 117 } |
118 | 118 |
119 DataLog::ReturnLog(); | 119 DataLog::ReturnLog(); |
120 | 120 |
121 fclose(inFile); | 121 fclose(inFile); |
122 | 122 |
123 return 0; | 123 return 0; |
124 } | 124 } |
OLD | NEW |