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

Refine SrsTcpClient.timeout in time unit.

This commit is contained in:
winlin 2019-04-18 07:58:37 +08:00
parent 33c66b64c5
commit 288bed6e26
5 changed files with 11 additions and 10 deletions

View file

@ -109,8 +109,8 @@ public:
virtual srs_error_t write(SrsFormat* format);
public:
// Get the fragment relative home and filename.
// The basetime is the absolute time in ms, while the sn(sequence number) is basetime/fragment.
virtual srs_error_t get_fragment(bool video, std::string& home, std::string& filename, int64_t& sn, uint64_t& basetime);
// The basetime is the absolute time in srs_utime_t, while the sn(sequence number) is basetime/fragment.
virtual srs_error_t get_fragment(bool video, std::string& home, std::string& filename, int64_t& sn, srs_utime_t& basetime);
};
/**