<div dir="ltr"><div>Some test results. Yes, for a TS with multiple programs, there are a lot of http requests (14 in this test).<br><br></div>For TS with single program, four requests is enough, and one of the requests is to check if file size has changed.<br><br>
<div><div><div>==========================================================================<br>Input #0, mpegts, from '<a href="http://localhost/bar.ts">http://localhost/bar.ts</a>':<br>  Duration: 00:17:38.26, start: 41177.694378, bitrate: 21643 kb/s<br>  Program 82 <br>    Metadata:<br>      service_name    : J2<br>      service_provider: TVB<br>    Stream #0:8[0x335]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 50 tbc<br>    Stream #0:9[0x336]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s<br>    Stream #0:7[0x337]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s<br>    Stream #0:10[0x339](CHI): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)<br>    Stream #0:11[0x33a](CHS): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)<br>    Stream #0:6[0x3e9]: Unknown: none ([11][0][0][0] / 0x000B)<br>  Program 83 <br>    Metadata:<br>      service_name    : Interactive Information Channel<br>      service_provider: TVB<br>    Stream #0:0[0x33f]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 50 tbc<br>  Program 85 <br>    Metadata:<br>      service_name    : High Definition Jade<br>      service_provider: TVB<br>    Stream #0:1[0x353]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc<br>    Stream #0:2[0x354]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s<br>    Stream #0:3[0x355]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s<br>    Stream #0:4[0x357](CHI): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)<br>    Stream #0:5[0x358](CHS): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)<br>    Stream #0:6[0x3e9]: Unknown: none ([11][0][0][0] / 0x000B)<br>Unsupported codec with id 0 for input stream 6<br><br>==========================================================================<br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>Range: bytes=0-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 2863037951
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 0-2863037950/2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>If-Match: "56eb9a08-aaa67dff"
<br>Range: bytes=2862802951-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 235000
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 2862802951-2863037950/2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>If-Match: "56eb9a08-aaa67dff"
<br>Range: bytes=2863037951-
<br> <br><br>HTTP/1.1 416 Requested Range Not Satisfiable
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: text/html
<br>Content-Length: 213
<br>Connection: keep-alive
<br>Content-Range: bytes */2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>Range: bytes=208116-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 2862829835
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 208116-2863037950/2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>If-Match: "56eb9a08-aaa67dff"
<br>Range: bytes=0-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 2863037951
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 0-2863037950/2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>If-Match: "56eb9a08-aaa67dff"
<br>Range: bytes=253236-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 2862784715
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 253236-2863037950/2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>If-Match: "56eb9a08-aaa67dff"
<br>Range: bytes=2862802951-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 235000
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 2862802951-2863037950/2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>If-Match: "56eb9a08-aaa67dff"
<br>Range: bytes=2863037951-
<br> <br><br>HTTP/1.1 416 Requested Range Not Satisfiable
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: text/html
<br>Content-Length: 213
<br>Connection: keep-alive
<br>Content-Range: bytes */2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>Range: bytes=253236-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 2862784715
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 253236-2863037950/2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>If-Match: "56eb9a08-aaa67dff"
<br>Range: bytes=0-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 2863037951
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 0-2863037950/2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>If-Match: "56eb9a08-aaa67dff"
<br>Range: bytes=298356-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 2862739595
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 298356-2863037950/2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>If-Match: "56eb9a08-aaa67dff"
<br>Range: bytes=2862802951-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 235000
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 2862802951-2863037950/2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>If-Match: "56eb9a08-aaa67dff"
<br>Range: bytes=2863037951-
<br> <br><br>HTTP/1.1 416 Requested Range Not Satisfiable
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: text/html
<br>Content-Length: 213
<br>Connection: keep-alive
<br>Content-Range: bytes */2863037951
<br> <br><br>GET /bar.ts HTTP/1.1
<br>Host: localhost
<br>Accept: */*
<br>Accept-Language: en_US
<br>User-Agent: VLC/3.0.0-git LibVLC/3.0.0-git
<br>Range: bytes=298356-
<br> <br><br>HTTP/1.1 206 Partial Content
<br>Server: nginx/1.9.13
<br>Date: Fri, 18 Mar 2016 06:12:08 GMT
<br>Content-Type: video/mp2t
<br>Content-Length: 2862739595
<br>Last-Modified: Fri, 18 Mar 2016 06:02:48 GMT
<br>Connection: keep-alive
<br>ETag: "56eb9a08-aaa67dff"
<br>Content-Range: bytes 298356-2863037950/2863037951
<br> <br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 18, 2016 at 12:24 AM, Francois Cartegnie <span dir="ltr"><<a href="mailto:fcvlcdev@free.fr" target="_blank">fcvlcdev@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 17/03/2016 23:06, Zhao Zhili a écrit :<br>
> ping?<br>
><br>
Unsure if increasing the number of probings can really work over http<br>
without slowing down the whole thing.<br>
Need more tests, especially with multiple programs.<br>
<br>
<br>
Francois<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div><br></div>