Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ekr opened this issue Oct 8, 2014 · 0 comments
Open

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

ekr opened this issue Oct 8, 2014 · 0 comments
Labels

Comments

@ekr
Copy link

ekr commented Oct 8, 2014

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;
}
}

@ekr ekr added the cleanup label Oct 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant