Skip to content

Commit

Permalink
Fix sess
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelbender committed Nov 23, 2018
1 parent 41ff367 commit 100bc93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdp/sdp.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ type Format struct {
var epoch = time.Date(1900, time.January, 1, 0, 0, 0, 0, time.UTC)

// GetAttribute returns session or first determined media attribute.
func (sess *sdp.Session) GetAttribute(name string) string {
func (sess *Session) GetAttribute(name string) string {
for _, it := range sess.Attributes {
if it.Name == name {
return it.Value
Expand Down

0 comments on commit 100bc93

Please sign in to comment.