Commit 1f26fa60 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix media type for raw UDP

parent 63750559
...@@ -131,7 +131,7 @@ bool Message::AddProgram(Program *p) ...@@ -131,7 +131,7 @@ bool Message::AddProgram(Program *p)
sdp += "a=charset:UTF-8\r\n"; sdp += "a=charset:UTF-8\r\n";
string m = "m=video " + p->GetPort() + " " string m = "m=video " + p->GetPort() + " "
+ (p->IsRTP() ? "RTP/AVP" : "udp") +" 33\r\n"; + (p->IsRTP() ? "RTP/AVP 33" : "udp mpeg") +"\r\n";
if (p->IsRTP()) if (p->IsRTP())
m += "a=rtpmap:33 MP2T/90000\r\n"; m += "a=rtpmap:33 MP2T/90000\r\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment