Skip to content

Commit

Permalink
Fix tlv8 tag
Browse files Browse the repository at this point in the history
  • Loading branch information
brutella committed Aug 2, 2021
1 parent d79c5c7 commit 0a62d63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rtp/setup_endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ type Addr struct {
}

type CryptoSuite struct {
Types []CryptoSuiteType `tlv8:"-"`
MasterKey []byte `tlv8:"2"` // 16 (AES_CM_128) or 32 (AES_256_CM)
MasterSalt []byte `tlv8:"3"` // 14 byte
Type byte `tlv8:"1"`
MasterKey []byte `tlv8:"2"` // 16 (AES_CM_128) or 32 (AES_256_CM)
MasterSalt []byte `tlv8:"3"` // 14 byte
}

func (c *CryptoSuite) SrtpKey() string {
Expand Down

0 comments on commit 0a62d63

Please sign in to comment.