mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #316, add stream codec info. 2.0.135
This commit is contained in:
parent
885b9af122
commit
2e9f2753c9
6 changed files with 109 additions and 17 deletions
|
@ -59,9 +59,9 @@ public:
|
|||
bool has_video;
|
||||
SrsCodecVideo vcodec;
|
||||
// profile_idc, H.264-AVC-ISO_IEC_14496-10.pdf, page 45.
|
||||
u_int8_t avc_profile;
|
||||
SrsAvcProfile avc_profile;
|
||||
// level_idc, H.264-AVC-ISO_IEC_14496-10.pdf, page 45.
|
||||
u_int8_t avc_level;
|
||||
SrsAvcLevel avc_level;
|
||||
public:
|
||||
bool has_audio;
|
||||
SrsCodecAudio acodec;
|
||||
|
@ -113,7 +113,7 @@ public:
|
|||
* when got video info for stream.
|
||||
*/
|
||||
virtual int on_video_info(SrsRequest* req,
|
||||
SrsCodecVideo vcodec, u_int8_t avc_profile, u_int8_t avc_level
|
||||
SrsCodecVideo vcodec, SrsAvcProfile avc_profile, SrsAvcLevel avc_level
|
||||
);
|
||||
/**
|
||||
* when got audio info for stream.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue