mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
* H265: Support HEVC over HLS.(#465) * HLS: Support HEVC over HLS. v6.0.11 (#465) Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
4bfc4de710
commit
fff8d9863c
6 changed files with 58 additions and 29 deletions
|
@ -1259,7 +1259,7 @@ class SrsTsContextWriter
|
|||
private:
|
||||
// User must config the codec in right way.
|
||||
// @see https://github.com/ossrs/srs/issues/301
|
||||
SrsVideoCodecId vcodec;
|
||||
SrsVideoCodecId vcodec_;
|
||||
SrsAudioCodecId acodec_;
|
||||
private:
|
||||
SrsTsContext* context;
|
||||
|
@ -1275,8 +1275,8 @@ public:
|
|||
virtual srs_error_t write_video(SrsTsMessage* video);
|
||||
public:
|
||||
// Get or update the video codec of ts muxer.
|
||||
virtual SrsVideoCodecId video_codec();
|
||||
virtual void update_video_codec(SrsVideoCodecId v);
|
||||
virtual SrsVideoCodecId vcodec();
|
||||
virtual void set_vcodec(SrsVideoCodecId v);
|
||||
public:
|
||||
// Get and set the audio codec.
|
||||
SrsAudioCodecId acodec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue