1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix #1506, support directly turn FLV timestamp to TS DTS. 3.0.68

This commit is contained in:
winlin 2019-12-05 20:47:23 +08:00
parent 31f341e205
commit b4870a6d6f
7 changed files with 47 additions and 2 deletions

View file

@ -825,6 +825,8 @@ public:
// Get the size of bytes to read from cdn network, for the on_hls_notify callback,
// that is, to read max bytes of the bytes from the callback, or timeout or error.
virtual int get_vhost_hls_nb_notify(std::string vhost);
// Whether turn the FLV timestamp to TS DTS.
virtual bool get_vhost_hls_dts_directly(std::string vhost);
// hds section
private:
// Get the hds directive of vhost.