mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bug for api, level should be string.
This commit is contained in:
parent
5660e24953
commit
26d328e7f2
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ int SrsStatisticStream::dumps(stringstream& ss)
|
||||||
ss << SRS_JFIELD_NAME("video") << SRS_JOBJECT_START
|
ss << SRS_JFIELD_NAME("video") << SRS_JOBJECT_START
|
||||||
<< SRS_JFIELD_STR("codec", srs_codec_video2str(vcodec)) << SRS_JFIELD_CONT
|
<< SRS_JFIELD_STR("codec", srs_codec_video2str(vcodec)) << SRS_JFIELD_CONT
|
||||||
<< SRS_JFIELD_STR("profile", srs_codec_avc_profile2str(avc_profile)) << SRS_JFIELD_CONT
|
<< SRS_JFIELD_STR("profile", srs_codec_avc_profile2str(avc_profile)) << SRS_JFIELD_CONT
|
||||||
<< SRS_JFIELD_ORG("level", srs_codec_avc_level2str(avc_level))
|
<< SRS_JFIELD_STR("level", srs_codec_avc_level2str(avc_level))
|
||||||
<< SRS_JOBJECT_END
|
<< SRS_JOBJECT_END
|
||||||
<< SRS_JFIELD_CONT;
|
<< SRS_JFIELD_CONT;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue