mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #304, fix hls bug, write pts/dts error. 2.0.124.
This commit is contained in:
parent
a3648063d5
commit
1cb8e44b1b
4 changed files with 14 additions and 5 deletions
|
@ -928,6 +928,8 @@ int SrsHls::on_audio(SrsSharedPtrMessage* __audio)
|
|||
return ret;
|
||||
}
|
||||
}
|
||||
srs_info("audio decoded, type=%d, codec=%d, cts=%d, size=%d, time=%"PRId64,
|
||||
sample->frame_type, codec->audio_codec_id, sample->cts, audio->size, audio->timestamp);
|
||||
SrsCodecAudio acodec = (SrsCodecAudio)codec->audio_codec_id;
|
||||
|
||||
// ts support audio codec: aac/mp3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue