mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #299, refine the signature of api for hls/dash
This commit is contained in:
parent
711b58e0b2
commit
ede1c34a25
6 changed files with 54 additions and 32 deletions
|
@ -68,7 +68,7 @@ int SrsMpegDash::on_publish()
|
|||
return ret;
|
||||
}
|
||||
|
||||
int SrsMpegDash::on_audio(SrsSharedPtrMessage* shared_audio)
|
||||
int SrsMpegDash::on_audio(SrsSharedPtrMessage* shared_audio, SrsFormat* format)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
|
@ -79,7 +79,7 @@ int SrsMpegDash::on_audio(SrsSharedPtrMessage* shared_audio)
|
|||
return ret;
|
||||
}
|
||||
|
||||
int SrsMpegDash::on_video(SrsSharedPtrMessage* shared_video, bool is_sequence_header)
|
||||
int SrsMpegDash::on_video(SrsSharedPtrMessage* shared_video, SrsFormat* format)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue