1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

RTC: Fix the SDP encode issue

This commit is contained in:
winlin 2020-08-04 14:07:15 +08:00
parent c659098f71
commit baceb7f6b0
2 changed files with 7 additions and 3 deletions

View file

@ -34,7 +34,7 @@ using namespace std;
#include <srs_kernel_log.hpp>
// TODO: FIXME: Maybe we should use json.encode to escape it?
const std::string kCRLF = "\\r\\n";
const std::string kCRLF = "\r\n";
#define FETCH(is,word) \
if (!(is >> word)) {\