mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, support merge multiple slices/NALUs to one NALU/RTP/FUA
This commit is contained in:
parent
5d23bb6a8a
commit
96059e0d42
7 changed files with 230 additions and 13 deletions
|
@ -409,6 +409,14 @@ srs_error_t SrsSample::parse_bframe()
|
|||
return err;
|
||||
}
|
||||
|
||||
SrsSample* SrsSample::copy()
|
||||
{
|
||||
SrsSample* p = new SrsSample();
|
||||
p->bytes = bytes;
|
||||
p->size = size;
|
||||
return p;
|
||||
}
|
||||
|
||||
SrsCodecConfig::SrsCodecConfig()
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue