mirror of
https://github.com/pion/webrtc.git
synced 2025-10-29 01:42:59 +08:00
Add json support to ICECredentialType
This allows the interface to be slightly closer to upstream interfaces.
This commit is contained in:
committed by
Sean DuBois
parent
cecdbc9980
commit
c9aaf819bc
@@ -41,7 +41,7 @@ func TestConfiguration_getICEServers(t *testing.T) {
|
||||
|
||||
func TestConfigurationJSON(t *testing.T) {
|
||||
j := `{
|
||||
"iceServers": [{"URLs": ["turn:turn.example.org"],
|
||||
"iceServers": [{"urls": ["turn:turn.example.org"],
|
||||
"username": "jch",
|
||||
"credential": "topsecret"
|
||||
}],
|
||||
|
||||
Reference in New Issue
Block a user