1
0
Fork 0
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:
PieerePi 2020-11-30 11:02:30 +08:00 committed by GitHub
parent d3e153e504
commit 3d5c18c25a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();