mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
rename SrsStream to SrsBuffer
This commit is contained in:
parent
ca3577e11b
commit
0e52fc6d5b
42 changed files with 440 additions and 440 deletions
|
@ -42,7 +42,7 @@ SrsAacEncoder::SrsAacEncoder()
|
|||
{
|
||||
_fs = NULL;
|
||||
got_sequence_header = false;
|
||||
tag_stream = new SrsStream();
|
||||
tag_stream = new SrsBuffer();
|
||||
aac_object = SrsAacObjectTypeReserved;
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@ int SrsAacEncoder::write_audio(int64_t timestamp, char* data, int size)
|
|||
|
||||
timestamp &= 0x7fffffff;
|
||||
|
||||
SrsStream* stream = tag_stream;
|
||||
SrsBuffer* stream = tag_stream;
|
||||
if ((ret = stream->initialize(data, size)) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue