mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 07:06:51 +08:00
Linter fixes
Disable funlen and some fixes Co-authored-by: Sean DuBois <sean@siobud.com>
This commit is contained in:

committed by
Sean DuBois

parent
a595db7fcc
commit
6997cc792c
@@ -111,7 +111,6 @@ func main() {
|
||||
fmt.Println("Ctrl+C the remote client to stop the demo")
|
||||
} else if connectionState == webrtc.ICEConnectionStateFailed ||
|
||||
connectionState == webrtc.ICEConnectionStateDisconnected {
|
||||
|
||||
closeErr := oggFile.Close()
|
||||
if closeErr != nil {
|
||||
panic(closeErr)
|
||||
@@ -120,7 +119,6 @@ func main() {
|
||||
closeErr = ivfFile.Close()
|
||||
if closeErr != nil {
|
||||
panic(closeErr)
|
||||
|
||||
}
|
||||
|
||||
fmt.Println("Done writing media files")
|
||||
|
Reference in New Issue
Block a user