meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8.25k stars 2.48k forks source link

avoid parsing whitespace as invalid JSON #3209

Closed htrendev closed 1 year ago

htrendev commented 1 year ago

backport of https://github.com/meetecho/janus-gateway/pull/3208

januscla commented 1 year ago

Thanks for your contribution, @htrendev! Please make sure you sign our CLA, as it's a required step before we can merge this.

htrendev commented 1 year ago

CLA signed

htrendev commented 1 year ago

Pushed a small change in the backport to address a comment from the other PR (see https://github.com/meetecho/janus-gateway/pull/3208#discussion_r1178808621)