diff --git a/daemon/src/sip/sdp.cpp b/daemon/src/sip/sdp.cpp index 9ca01af312ed18b9d9d1ba3cbbe4d5beb596d678..abb9453989c25cb677b4341c7f1830f2a59b2fe1 100644 --- a/daemon/src/sip/sdp.cpp +++ b/daemon/src/sip/sdp.cpp @@ -668,7 +668,6 @@ bool Sdp::getOutgoingVideoSettings(map<string, string> &args) const std::ostringstream os; os << payload; args["payload_type"] = os.str(); - args["parameters"] = getOutgoingVideoField(codec, "parameters"); // override with profile-level-id from remote, if present getOutgoingProfileLevelID(args["parameters"], payload); } diff --git a/daemon/src/video/video_send_thread.cpp b/daemon/src/video/video_send_thread.cpp index f731fe81517987252a7ca14d6eb1821458e1f360..622a0d5338495af6f419954ef57da560143207d6 100644 --- a/daemon/src/video/video_send_thread.cpp +++ b/daemon/src/video/video_send_thread.cpp @@ -129,7 +129,7 @@ extractProfileLevelID(const std::string ¶meters, AVCodecContext *ctx) // If no profile-level-id is present, the Baseline Profile without // additional constraints at Level 1 MUST be implied. ctx->profile = FF_PROFILE_H264_BASELINE; - ctx->level = 0x1; + ctx->level = 0xa; // ctx->level = 0x0d; // => 13 aka 1.3 if (parameters.empty()) return;