| | |
| | |
|
| | | if (spsSize != 0)
|
| | | {
|
| | | std::string spsStr = base64_encode(((const char*)sps) + 4, spsSize - 4);//#todo aux
|
| | | std::string ppsStr = base64_encode(((const char*)pps) + 4, ppsSize - 4);
|
| | | char* tmp = nullptr;
|
| | | std::string spsStr = tmp = base64_encode(((const char*)sps) + 4, spsSize - 4);//#todo aux
|
| | | delete[] tmp;
|
| | | std::string ppsStr = tmp = base64_encode(((const char*)pps) + 4, ppsSize - 4);
|
| | | delete[] tmp;
|
| | | tmp = nullptr;
|
| | |
|
| | | this->manager->set_param(PLGP_ENC_SPS_B64, spsStr);
|
| | | this->manager->set_param(PLGP_ENC_PPS_B64, ppsStr);
|