AddExtension adds an extension attribute to the ICECandidate. If an extension with the same key already exists, it will be overwritten. Extension attributes are defined in RFC 5245, Section 15.1:
(extension CandidateExtension)
| 67 | // If an extension with the same key already exists, it will be overwritten. |
| 68 | // Extension attributes are defined in RFC 5245, Section 15.1: |
| 69 | AddExtension(extension CandidateExtension) error |
| 70 | // RemoveExtension removes an extension attribute from the ICECandidate. |
| 71 | // Extension attributes are defined in RFC 5245, Section 15.1: |
| 72 | RemoveExtension(key string) (ok bool) |
no outgoing calls