KERNEL: Replace the library NXJSON(LGPL) with json-parser(BSD)
winlinvip opened this issue · comments
Winlin commented
Replace NXJSON for LICENSE issue: https://github.com/ossrs/srs/wiki/LicenseMixing#nxjson
Winlin commented
Winlin commented
The jansson doesn't support single file.
cJSON is not sure to work with C++.
Seems json-parser is fine.
Winlin commented
Update the research/api-server/server.py
, response an object:
{
"code": 0,
"data": null
}
SRS http hooks also support a single code:int
response, which is SRS1 style.
Winlin commented
Replace NXJSON which use LGPL.
Winlin commented
Fixed