优酷直播抓包分析

世界杯的时候,用wireshark分析了下流,服务器是Tengine,协议是HLS,格式是H264+AAC。

协议

GET/fifa_live/encrypt-1528797608654_20180613_8001426_1_sjb648.m3u8?title=2018%E5%B9%B4%E4%B8%96%E7%95%8C%E6%9D%AF+%E9%98%BF%E6%A0%B9%E5%BB%B7VS%E5%86%B0%E5%B2%9B&ver=1.0.0&uid=0&log_type=log_type&aliyun_uuid=WqkdhAAAXHUDAF882llCettF&cdnQuality=720p¤tQuality=hd3&ccode=live03010101&expire=21600&psid=30830261871529154178&ups_client_netip=192.168.0.105&ups_ts=1529154177&ups_userid=0&utid=WqkdhAAAXHUDAF882llCettF&vid=8000932_8000888&fn=encrypt-1528797608654_20180613_8001426_1_sjb648&vkey=B8fcaed2e2da92020d3f0ab7b973e9e04&drmtype=1HTTP/1.1

User-Agent: Lavf/57.83.100

Accept: */*

Connection: close

Host: dmd-fifa-native-major.youku.com

Icy-MetaData: 1

 

HTTP/1.1 200 OK

Server: Tengine

Date: Sat, 16 Jun 2018 13:08:18 GMT

Content-Type: application/vnd.apple.mpegurl

Transfer-Encoding: chunked

Connection: close

X-Cache: HIT TCP_MEM_HIT dirn:-2:-2 mlen:-1

Via: liveossproxy011171136034.et15[7],live5.l2et2[0,304-0,H], live1.l2et2[1,0], live11.cn1471[0,200-0,H],live19.cn1471[,200200]

Last-Modified: Sat, 16 Jun 2018 13:08:13GMT

Cache-Control: max-age=1

X-Swift-SaveTime: Sat, 16 Jun 2018 13:08:17GMT

X-Swift-CacheTime: 2

Access-Control-Allow-Origin: *

Timing-Allow-Origin: *

EagleId: 700d51a715291544988524851e

 

8

#EXTM3U

 

11

#EXT-X-VERSION:3

 

1b

#EXT-X-MEDIA-SEQUENCE:2286

 

18

#EXT-X-TARGETDURATION:9

 

f

#EXTINF:8.000,

 

157

/fifa_live/encrypt-1528797608654_20180613_8001426_1_sjb648/1529154477_382243949.ts?ccode=live03010101&expire=21600&fn=encrypt-1528797608654_20180613_8001426_1_sjb648&psid=30830261871529154178&ups_client_netip=192.168.0.105&ups_ts=1529154177&ups_userid=0&utid=WqkdhAAAXHUDAF882llCettF&vid=8000932_8000888&vkey=B8fcaed2e2da92020d3f0ab7b973e9e04

 

f

#EXTINF:8.000,

 

157

/fifa_live/encrypt-1528797608654_20180613_8001426_1_sjb648/1529154485_382243950.ts?ccode=live03010101&expire=21600&fn=encrypt-1528797608654_20180613_8001426_1_sjb648&psid=30830261871529154178&ups_client_netip=192.168.0.105&ups_ts=1529154177&ups_userid=0&utid=WqkdhAAAXHUDAF882llCettF&vid=8000932_8000888&vkey=B8fcaed2e2da92020d3f0ab7b973e9e04

 

f

#EXTINF:8.000,

 

157

/fifa_live/encrypt-1528797608654_20180613_8001426_1_sjb648/1529154493_382243951.ts?ccode=live03010101&expire=21600&fn=encrypt-1528797608654_20180613_8001426_1_sjb648&psid=30830261871529154178&ups_client_netip=192.168.0.105&ups_ts=1529154177&ups_userid=0&utid=WqkdhAAAXHUDAF882llCettF&vid=8000932_8000888&vkey=B8fcaed2e2da92020d3f0ab7b973e9e04

 

0

下载

curl -L -o 1.ts "http://dmd-fifa-native-major.youku.com/fifa_live/encrypt-1528797608654_20180613_8001426_1_sjb648/1529154477_382243949.ts?ccode=live03010101&expire=21600&fn=encrypt-1528797608654_20180613_8001426_1_sjb648&psid=30830261871529154178&ups_client_netip=192.168.0.105&ups_ts=1529154177&ups_userid=0&utid=WqkdhAAAXHUDAF882llCettF&vid=8000932_8000888&vkey=B8fcaed2e2da92020d3f0ab7b973e9e04"

 

 

 

 

 

 

你可能感兴趣的:(优酷直播抓包分析)