Commit 681cf7cd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not send TTL for IPv6 connection infos. This was invalid.

parent 80e16528
......@@ -120,10 +120,10 @@ bool Message::AddProgram(Program *p)
string m = "m=video " + p->GetPort() + " "
+ (p->IsRTP() ? "RTP/AVP" : "udp") +" 33\n";
string c;
c="c=IN "+ipv+" "+p->GetAddress()+"/"+p->GetTTL()+"\n";
// TODO ttl type should be specified
string c="c=IN "+ipv+" "+p->GetAddress();
if (ipv == "IP4")
c +="/"+p->GetTTL();
c += "\n";
string a = p->IsRTP()
? "a=rtpmap:33 MP2T/90000\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