< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] SdpContents encode


Hello, in the SdpContents.cxx there is code

ostream&
SdpContents::Session::Connection::encode(ostream& s) const
{
  s << "c=IN "
    << NetworkType[mAddrType] << Symbols::SPACE[0] << mAddress;

  if (mTTL)
  {
     s  << Symbols::SPACE[0] << Symbols::SLASH[0] << mTTL;
  }
  s << Symbols::CRLF;
  return s;
}


So multicast address 239.1.1.1/127 (with TTL) encode as c=IN IP4 239.1.1.1 /127 (with space character after IP-address value). Is it standard-compliant? In RFC2327 multicast-address defined as <ip>/<ttl>[/<count>].