OLD | NEW |
1 function [t, TS] = plotReceiveTrace(filename, flat) | 1 function [t, TS] = plotReceiveTrace(filename, flat) |
2 fid=fopen(filename); | 2 fid=fopen(filename); |
3 %DEBUG ; ( 8:32:33:375 | 0) VIDEO:1 ; 5260; First pa
cket of frame 1869537938 | 3 %DEBUG ; ( 8:32:33:375 | 0) VIDEO:1 ; 5260; First pa
cket of frame 1869537938 |
4 %DEBUG ; ( 8:32:33:375 | 0) VIDEO CODING:1 ; 5260; Decoding
timestamp 1869534934 | 4 %DEBUG ; ( 8:32:33:375 | 0) VIDEO CODING:1 ; 5260; Decoding
timestamp 1869534934 |
5 %DEBUG ; ( 8:32:33:375 | 0) VIDEO:1 ; 5260; Render f
rame 1869534934 at 20772610 | 5 %DEBUG ; ( 8:32:33:375 | 0) VIDEO:1 ; 5260; Render f
rame 1869534934 at 20772610 |
6 %DEBUG ; ( 8:32:33:375 | 0) VIDEO CODING:-1 ; 5260; Frame de
coded: timeStamp=1870511259 decTime=0 maxDecTime=0, at 19965 | 6 %DEBUG ; ( 8:32:33:375 | 0) VIDEO CODING:-1 ; 5260; Frame de
coded: timeStamp=1870511259 decTime=0 maxDecTime=0, at 19965 |
7 %DEBUG ; ( 7:59:42:500 | 0) VIDEO:-1 ; 2500; Received
complete frame timestamp 1870514263 frame type 1 frame size 7862 at time 19965,
jitter estimate was 130 | 7 %DEBUG ; ( 7:59:42:500 | 0) VIDEO:-1 ; 2500; Received
complete frame timestamp 1870514263 frame type 1 frame size 7862 at time 19965,
jitter estimate was 130 |
8 %DEBUG ; ( 8: 5:51:774 | 0) VIDEO:-1 ; 3968; Extrapol
ateLocalTime(1870967878)=24971 ms | 8 %DEBUG ; ( 8: 5:51:774 | 0) VIDEO:-1 ; 3968; Extrapol
ateLocalTime(1870967878)=24971 ms |
9 | 9 |
10 if nargin == 1 | 10 if nargin == 1 |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 targetDelay = max(renderTime(:, 3) + renderTime(:, 4) + renderTime(:, 5), re
nderTime(:, 6)); | 204 targetDelay = max(renderTime(:, 3) + renderTime(:, 4) + renderTime(:, 5), re
nderTime(:, 6)); |
205 plot(renderTime(:, 1) - firstTime, renderTime(:, 3), 'r-'); | 205 plot(renderTime(:, 1) - firstTime, renderTime(:, 3), 'r-'); |
206 plot(renderTime(:, 1) - firstTime, renderTime(:, 4), 'b-'); | 206 plot(renderTime(:, 1) - firstTime, renderTime(:, 4), 'b-'); |
207 plot(renderTime(:, 1) - firstTime, renderTime(:, 5), 'g-'); | 207 plot(renderTime(:, 1) - firstTime, renderTime(:, 5), 'g-'); |
208 plot(renderTime(:, 1) - firstTime, renderTime(:, 6), 'k-'); | 208 plot(renderTime(:, 1) - firstTime, renderTime(:, 6), 'k-'); |
209 plot(renderTime(:, 1) - firstTime, targetDelay, 'c-'); | 209 plot(renderTime(:, 1) - firstTime, targetDelay, 'c-'); |
210 xlabel('RTP timestamp'); | 210 xlabel('RTP timestamp'); |
211 ylabel('Time (ms)'); | 211 ylabel('Time (ms)'); |
212 legend('Render delay', 'Jitter delay', 'Decode delay', 'Extra delay', 'Min t
otal delay'); | 212 legend('Render delay', 'Jitter delay', 'Decode delay', 'Extra delay', 'Min t
otal delay'); |
213 end | 213 end |
OLD | NEW |