Skip to content

Commit

Permalink
Move offer from stack to heap (#2070)
Browse files Browse the repository at this point in the history
* Ensure remote description does not live in memory for viewer duration (#1915)

* Ensure remote description does not live in memory for viewer duration

* Fix memory leak

* Free the allocated memory upon failure, also add missing enter, leave and chk_log_error in peerconnection

* Working reduced stack sizes. Adjusted default stack size to 64kb, moved Offer/Answer messages to be on heap instead of stack

* Revert setting the stack sizes by default; Samples: revert disableSenderSideBandwidthEstimation to TRUE by default

* Add missing malloc out of memory checks

* Undo samples/Common.c changes

* Add chk_log_err to freeJitterBuffer and freeKvsRtpTransceiver

* Address comments: add additional null checks and adjust comments

* Clang-format

---------

Co-authored-by: Divya Sampath Kumar <[email protected]>
Co-authored-by: James Delaplane <[email protected]>
  • Loading branch information
3 people authored Nov 2, 2024
1 parent 499eca3 commit 0d45715
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 71 deletions.
Loading

0 comments on commit 0d45715

Please sign in to comment.