You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http: panic serving [::1]:58222: TypeError: provided value is not a valid enum value of type SDPType: '0' is not a valid enum value of type SDPType
#35
Open
gedw99 opened this issue
Jul 18, 2024
· 0 comments
Other Information - stacktraces, related issues, suggestions how to fix, links for us to have context
What did you do?
I upgraded the code to the latest version of webrtc pion...
´´´go
module github.com/pion/webrtc-voicemail
go 1.13
require github.com/pion/webrtc/v3 v3.2.47
Then ran it !
```sh
./webrtc-voicemail
Server has started on http://localhost:8080
2024/07/18 22:16:41 http: panic serving [::1]:58222: TypeError: provided value is not a valid enum value of type SDPType: '0' is not a valid enum value of type SDPType
goroutine 6 [running]:
net/http.(*conn).serve.func1()
/opt/homebrew/opt/go/libexec/src/net/http/server.go:1903 +0xb0
panic({0x101443040?, 0x140000ac5a0?})
/opt/homebrew/opt/go/libexec/src/runtime/panic.go:770 +0x124
main.createVoicemail({0x1014c2c40, 0x140000d20e0}, 0x140000ce000)
/Users/apple/workspace/go/src/junk/webrtc-voicemail/main.go:70 +0x408
net/http.HandlerFunc.ServeHTTP(0x10175ee10?, {0x1014c2c40?, 0x140000d20e0?}, 0x140001adb00?)
/opt/homebrew/opt/go/libexec/src/net/http/server.go:2171 +0x38
net/http.(*ServeMux).ServeHTTP(0x10?, {0x1014c2c40, 0x140000d20e0}, 0x140000ce000)
/opt/homebrew/opt/go/libexec/src/net/http/server.go:2688 +0x1a4
net/http.serverHandler.ServeHTTP({0x1014c1a80?}, {0x1014c2c40?, 0x140000d20e0?}, 0x6?)
/opt/homebrew/opt/go/libexec/src/net/http/server.go:3142 +0xbc
net/http.(*conn).serve(0x1400017e240, {0x1014c3d28, 0x1400007fce0})
/opt/homebrew/opt/go/libexec/src/net/http/server.go:2044 +0x508
created by net/http.(*Server).Serve in goroutine 1
/opt/homebrew/opt/go/libexec/src/net/http/server.go:3290 +0x3f0
What did you expect?
voicemail saved to the voicemail folder when I pressed the button in the web gui :)
I presume that it records a voicemail ...
What happened?
See the error above.
The text was updated successfully, but these errors were encountered:
Your environment.
What did you do?
I upgraded the code to the latest version of webrtc pion...
´´´go
module github.com/pion/webrtc-voicemail
go 1.13
require github.com/pion/webrtc/v3 v3.2.47
What did you expect?
voicemail saved to the voicemail folder when I pressed the button in the web gui :)
I presume that it records a voicemail ...
What happened?
See the error above.
The text was updated successfully, but these errors were encountered: