winshining / nginx-http-flv-module

A media streaming server based on nginx-rtmp-module. In addtion to the features nginx-rtmp-module provides, HTTP-FLV, GOP cache, VHosts (one IP for multi domain names) and JSON style statistics are supported now.
BSD 2-Clause "Simplified" License
2.72k stars 567 forks source link

求助:播放端想获取当前播放点的timestamp应该怎么获取呢,就像rtmp一样,就是从直播开始到当前的时间 #178

Closed lxlnn closed 3 years ago

winshining commented 3 years ago

nginx-http-flv-module 将每个播放的流的 timestamp 都调整为从0开始,所以不管 HTTP-FLV 流还是 RTMP 流,当前的 timestamp 就是从直播开始到当前的时间。