Skip to content

Commit 57f1afe

Browse files
committed
Revert "fix panic in sip (#1539)"
This reverts commit a0e7280.
1 parent a0e7280 commit 57f1afe

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

livekit/sip.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,16 +1048,10 @@ func (p *SIPCodec) Validate() error {
10481048
}
10491049

10501050
func (p *SIPDispatchRuleInfo) Upgrade() {
1051-
if p == nil {
1052-
return
1053-
}
10541051
p.Media = p.Media.UpgradeWith(p.MediaEncryption)
10551052
}
10561053

10571054
func (p *CreateSIPParticipantRequest) Upgrade() {
1058-
if p == nil {
1059-
return
1060-
}
10611055
p.Media = p.Media.UpgradeWith(p.MediaEncryption)
10621056
}
10631057

0 commit comments

Comments
 (0)