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
|
@ -212,7 +212,7 @@ int SrsFlvSegment::write_metadata(SrsSharedPtrMessage* metadata)
|
|||
return ret;
|
||||
}
|
||||
|
||||
SrsStream stream;
|
||||
SrsBuffer stream;
|
||||
if ((ret = stream.initialize(metadata->payload, metadata->size)) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
}
|
||||
|
@ -357,7 +357,7 @@ int SrsFlvSegment::update_flv_metadata()
|
|||
char* buf = new char[SrsAmf0Size::number()];
|
||||
SrsAutoFree(char, buf);
|
||||
|
||||
SrsStream stream;
|
||||
SrsBuffer stream;
|
||||
if ((ret = stream.initialize(buf, SrsAmf0Size::number())) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue