Re: Просмотр с ресивера Триколор
Posted: Mon Sep 21, 2020 1:06 pm
В оригинальном приложении сразу после запуска (до получения списка каналов, гида и номера текущего канала) идёт такой обмен
OPTIONS /ping HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 204 No Content
Date: Thu, 25 Apr 2019 17:32:34 GMT
GET /v1.3/receiver-info HTTP/1.1
Accept-Language: ru
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Content-Length: 147
Content-Type: application/json
Date: Thu, 25 Apr 2019 17:32:34 GMT
{"modelName":"b533m","userFriendlyModelName":"GS B533M","hardwareId":"rev01","softwareVersion":"3.19.171","serialNumber":"60050720170228534821861"}
OPTIONS /v1.3/streaming/sessions HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: POST
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:35 GMT
OPTIONS /v1.3/streaming/sessions/live HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:35 GMT
OPTIONS /v1.3/schedule/records HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: POST, GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:36 GMT
OPTIONS /v1.3/media/movies HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:36 GMT
OPTIONS /v1.3/media/records HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:36 GMT
OPTIONS /v1.3/schedule/records HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: POST, GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:36 GMT
OPTIONS /v1.3/schedule/viewings HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: POST, GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:36 GMT
Это что-то типа инициализации сервера?
OPTIONS /ping HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 204 No Content
Date: Thu, 25 Apr 2019 17:32:34 GMT
GET /v1.3/receiver-info HTTP/1.1
Accept-Language: ru
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Content-Length: 147
Content-Type: application/json
Date: Thu, 25 Apr 2019 17:32:34 GMT
{"modelName":"b533m","userFriendlyModelName":"GS B533M","hardwareId":"rev01","softwareVersion":"3.19.171","serialNumber":"60050720170228534821861"}
OPTIONS /v1.3/streaming/sessions HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: POST
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:35 GMT
OPTIONS /v1.3/streaming/sessions/live HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:35 GMT
OPTIONS /v1.3/schedule/records HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: POST, GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:36 GMT
OPTIONS /v1.3/media/movies HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:36 GMT
OPTIONS /v1.3/media/records HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:36 GMT
OPTIONS /v1.3/schedule/records HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: POST, GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:36 GMT
OPTIONS /v1.3/schedule/viewings HTTP/1.1
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; Lenovo TB2-X30L Build/LenovoTB2-X30L)
Host: 192.168.0.100:50000
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Allow: POST, GET
Content-Length: 0
Date: Thu, 25 Apr 2019 17:32:36 GMT
Это что-то типа инициализации сервера?