Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
OrlandoCo committed Nov 10, 2020
1 parent 7b35a75 commit aff9290
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ func (r *router) GetExtMap(mid, ext string) uint8 {
return 0
}

// nolint:scopelint
func (r *router) SetExtMap(pd *sdp.SessionDescription) {
r.mu.Lock()
defer r.mu.Unlock()
Expand Down Expand Up @@ -319,6 +320,7 @@ func (r *router) SetExtMap(pd *sdp.SessionDescription) {
}
}

// nolint:scopelint
func (r *router) OfferExtMap() map[webrtc.SDPSectionType][]sdp.ExtMap {
r.mu.Lock()
defer r.mu.Unlock()
Expand Down

0 comments on commit aff9290

Please sign in to comment.