mirror of
https://github.com/pion/webrtc.git
synced 2025-12-24 11:51:03 +08:00
Remove the "Unknown" constant
This commit replaces the Unknown constant with separate constants for each enumeration that uses it. Fixes #1293
This commit is contained in:
committed by
Sean DuBois
parent
7e598b5a63
commit
13450332a4
@@ -79,7 +79,7 @@ func TestICEServer_validate(t *testing.T) {
|
||||
URLs: []string{"turn:192.158.29.39?transport=udp"},
|
||||
Username: "unittest",
|
||||
Credential: false,
|
||||
CredentialType: Unknown,
|
||||
CredentialType: ICECredentialTypePassword,
|
||||
}, &rtcerr.InvalidAccessError{Err: ErrTurnCredentials}},
|
||||
{ICEServer{
|
||||
URLs: []string{"stun:google.de?transport=udp"},
|
||||
|
||||
Reference in New Issue
Block a user