lanikai / alohartc

WebRTC native stack tailored for ARM/Linux embedded systems
https://alohartc.com
Apache License 2.0
19 stars 6 forks source link

SDP media incorrectly parsed #93

Closed thinkski closed 5 years ago

thinkski commented 5 years ago

When more than one media description is present, the parser does not return upon the occurrence of a new media description line, nor upon encountering an error.

The issue occurs because break is within a switch which is within for. The break affects the switch, not the for as intended.