9 Commits

Author SHA1 Message Date
Joe Turki
feeeebf251 Upgrade golangci-lint, more linters
Introduces new linters, upgrade golangci-lint to version (v1.63.4)
2025-01-18 07:16:06 -06:00
Steffen Vogel
683fc837d0 Make repo REUSE compliant 2023-05-05 11:58:49 -04:00
Juliusz Chroboczek
b4579949e1 Fix the zero value of ICECredentialType
Ensure that the zero value of ICECredentialType is password.
2022-05-10 21:12:05 -04:00
Woodrow Douglass
c9aaf819bc Add json support to ICECredentialType
This allows the interface to be slightly closer to
upstream interfaces.
2022-05-06 13:34:50 -04:00
soolaugust
98e6612687 Make PeerConnection constructor with WebIDL errors
According to https://w3c.github.io/webrtc-pc/#constructor defined.
there are WebIDL errors should be returned when constructor failed.
2020-08-21 07:00:28 -07:00
Sean DuBois
2838b1a836 Move ICE code out of internal
Users are unable to use the callbacks inside `internal/ice`.
Even though we alias things like OnSelectedCandidatePairChange
are unusable since in the package they use `ice.Candidate` instead of
`ICECandidate`
2019-06-15 01:29:08 -07:00
Adam Kiss
7756848a4c Moved ice related files to internal/ice
Moved ice related files to internal/ice. Added ice.go and
ice_go.go files containing aliases to internal/ice. Added
internal/tools/gen/genaliasdocs.go helper script for generating the
documentation for these aliases. Dropped ice
prefix from file names in internal/ice package.
2019-06-03 10:57:27 -07:00
Sean DuBois
234927366e Default ICECredentialType to password
https://www.w3.org/TR/webrtc/#dom-rtciceserver has the following default
```
credentialType = "password";
```

Update our enum to match that, currently we require users to specify
password
2019-05-25 16:29:33 -07:00
Max Hawkins
0647ce9c26 Remove rtc prefix from filenames
Relates to #408
2019-02-17 16:22:56 -08:00