mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
GB28181 code crashed in ffmpeg after commit "RTC: Use FFmpeg to transcode aac to opus" <d5a0ad3dd8
>. (#2057)
Change the size from 64K to 256K.
This commit is contained in:
parent
d3e153e504
commit
3d5c18c25a
1 changed files with 2 additions and 0 deletions
|
@ -1278,6 +1278,8 @@ SrsGb28181RtmpMuxer::SrsGb28181RtmpMuxer(SrsGb28181Manger* c, std::string id, bo
|
|||
|
||||
pprint = SrsPithyPrint::create_caster();
|
||||
trd = new SrsSTCoroutine("gb28181rtmpmuxer", this);
|
||||
//change stack size to 256K, fix crash when call FFMpeg
|
||||
((SrsSTCoroutine*)trd)->set_stack_size(1 << 18);
|
||||
|
||||
sdk = NULL;
|
||||
vjitter = new SrsRtspJitter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue