winlin

fix bug for api, level should be string.

@@ -146,7 +146,7 @@ int SrsStatisticStream::dumps(stringstream& ss) @@ -146,7 +146,7 @@ int SrsStatisticStream::dumps(stringstream& ss)
146 ss << SRS_JFIELD_NAME("video") << SRS_JOBJECT_START 146 ss << SRS_JFIELD_NAME("video") << SRS_JOBJECT_START
147 << SRS_JFIELD_STR("codec", srs_codec_video2str(vcodec)) << SRS_JFIELD_CONT 147 << SRS_JFIELD_STR("codec", srs_codec_video2str(vcodec)) << SRS_JFIELD_CONT
148 << SRS_JFIELD_STR("profile", srs_codec_avc_profile2str(avc_profile)) << SRS_JFIELD_CONT 148 << SRS_JFIELD_STR("profile", srs_codec_avc_profile2str(avc_profile)) << SRS_JFIELD_CONT
149 - << SRS_JFIELD_ORG("level", srs_codec_avc_level2str(avc_level)) 149 + << SRS_JFIELD_STR("level", srs_codec_avc_level2str(avc_level))
150 << SRS_JOBJECT_END 150 << SRS_JOBJECT_END
151 << SRS_JFIELD_CONT; 151 << SRS_JFIELD_CONT;
152 } 152 }