| OLD | NEW |
| 1 function rtpAnalyze( input_file ) | 1 function rtpAnalyze( input_file ) |
| 2 %RTP_ANALYZE Analyze RTP stream(s) from a txt file | 2 %RTP_ANALYZE Analyze RTP stream(s) from a txt file |
| 3 % The function takes the output from the command line tool rtp_analyze | 3 % The function takes the output from the command line tool rtp_analyze |
| 4 % and analyzes the stream(s) therein. First, process your rtpdump file | 4 % and analyzes the stream(s) therein. First, process your rtpdump file |
| 5 % through rtp_analyze (from command line): | 5 % through rtp_analyze (from command line): |
| 6 % $ out/Debug/rtp_analyze my_file.rtp my_file.txt | 6 % $ out/Debug/rtp_analyze my_file.rtp my_file.txt |
| 7 % Then load it with this function (in Matlab): | 7 % Then load it with this function (in Matlab): |
| 8 % >> rtpAnalyze('my_file.txt') | 8 % >> rtpAnalyze('my_file.txt') |
| 9 | 9 |
| 10 % Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 10 % Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 %% Allocate imported array to column variable names | 242 %% Allocate imported array to column variable names |
| 243 SeqNo = dataArray{:, 1}; | 243 SeqNo = dataArray{:, 1}; |
| 244 TimeStamp = dataArray{:, 2}; | 244 TimeStamp = dataArray{:, 2}; |
| 245 SendTime = dataArray{:, 3}; | 245 SendTime = dataArray{:, 3}; |
| 246 Size = dataArray{:, 4}; | 246 Size = dataArray{:, 4}; |
| 247 PT = dataArray{:, 5}; | 247 PT = dataArray{:, 5}; |
| 248 M = dataArray{:, 6}; | 248 M = dataArray{:, 6}; |
| 249 SSRC = dataArray{:, 7}; | 249 SSRC = dataArray{:, 7}; |
| 250 end | 250 end |
| 251 | 251 |
| OLD | NEW |