mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix the bug of flv stream, metadata type should be 18
This commit is contained in:
parent
0ff49fd299
commit
5c3c38684b
4 changed files with 7 additions and 5 deletions
|
@ -394,7 +394,7 @@ int SrsFlvStreamEncoder::write_video(int64_t timestamp, char* data, int size)
|
|||
|
||||
int SrsFlvStreamEncoder::write_metadata(int64_t timestamp, char* data, int size)
|
||||
{
|
||||
return enc->write_metadata(timestamp, data, size);
|
||||
return enc->write_metadata(SrsCodecFlvTagScript, data, size);
|
||||
}
|
||||
|
||||
bool SrsFlvStreamEncoder::has_cache()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue