mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
FLV: Support set default has_av and disable guessing. v5.0.110 (#3311)
* FLV: Support set default has_av and disable guessing. v5.0.110 1. Support config default has_audio and has_video. 2. Support disable guessing has_audio or has_video. * FLV: Reset to false if start to guess has_av. * FLV: Add regression test for FLV header av metadata.
This commit is contained in:
parent
4551200e95
commit
a36cb57949
11 changed files with 624 additions and 84 deletions
|
@ -1066,6 +1066,12 @@ public:
|
|||
virtual srs_utime_t get_vhost_http_remux_fast_cache(std::string vhost);
|
||||
// Whether drop packet if not match header.
|
||||
bool get_vhost_http_remux_drop_if_not_match(std::string vhost);
|
||||
// Whether stream has audio track.
|
||||
bool get_vhost_http_remux_has_audio(std::string vhost);
|
||||
// Whether stream has video track.
|
||||
bool get_vhost_http_remux_has_video(std::string vhost);
|
||||
// Whether guessing stream about audio or video track
|
||||
bool get_vhost_http_remux_guess_has_av(std::string vhost);
|
||||
// Get the http flv live stream mount point for vhost.
|
||||
// used to generate the flv stream mount path.
|
||||
virtual std::string get_vhost_http_remux_mount(std::string vhost);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue