mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #301, hls support h.264+mp3, ok for vlc. 2.0.107
This commit is contained in:
parent
2c42350489
commit
919a85b103
7 changed files with 24 additions and 9 deletions
|
@ -118,6 +118,12 @@ private:
|
|||
* current writing segment.
|
||||
*/
|
||||
SrsHlsSegment* current;
|
||||
/**
|
||||
* the current audio codec, when open new muxer,
|
||||
* set the muxer audio codec.
|
||||
* @see https://github.com/winlinvip/simple-rtmp-server/issues/301
|
||||
*/
|
||||
SrsCodecAudio acodec;
|
||||
public:
|
||||
SrsHlsMuxer();
|
||||
virtual ~SrsHlsMuxer();
|
||||
|
@ -144,7 +150,7 @@ public:
|
|||
*/
|
||||
virtual bool is_segment_absolutely_overflow();
|
||||
public:
|
||||
virtual int update_acodec(SrsCodecAudio acodec);
|
||||
virtual int update_acodec(SrsCodecAudio ac);
|
||||
virtual int flush_audio(SrsMpegtsFrame* af, SrsSimpleBuffer* ab);
|
||||
virtual int flush_video(SrsMpegtsFrame* af, SrsSimpleBuffer* ab, SrsMpegtsFrame* vf, SrsSimpleBuffer* vb);
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue