Xbox Cloud Gaming app for PS5 Homebrew
C
Log the codecs the SDP answer keeps
Rafael Abud Ferreira98679184c2ff
diff --git a/src/stream/stream_session.cpp b/src/stream/stream_session.cppindex 6737480..312fe57 100644--- a/src/stream/stream_session.cpp+++ b/src/stream/stream_session.cpp@@ -515,6 +515,8 @@ struct StreamSession::Impl {return false;}XC_LOGD("remote answer:\n%s", answer.c_str());+ for (size_t p = answer.find("a=rtpmap:"); p != std::string::npos; p = answer.find("a=rtpmap:", p + 1))+ XC_LOGI("answer %s", answer.substr(p, answer.find_first_of("\r\n", p) - p).c_str());try {pc->setRemoteDescription(rtc::Description(answer, rtc::Description::Type::Answer));} catch (const std::exception& e) {