Skip to content

Allow attributes to be set where they are not allowed? #188

Description

@ekr

void
SipccSdpAttributeList::SetAttribute(SdpAttribute* attr) {
if (attr->GetType() == SdpAttribute::kOtherAttribute) {
mOtherAttributes.push_back(attr);
} else {
// TODO: Should we be willing to set attributes somewhere they are not
// allowed?
RemoveAttribute(attr->GetType());
mAttributes[attr->GetType()] = attr;
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions