We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab21967 commit f11ffacCopy full SHA for f11ffac
1 file changed
livekit/sip.go
@@ -1048,10 +1048,16 @@ func (p *SIPCodec) Validate() error {
1048
}
1049
1050
func (p *SIPDispatchRuleInfo) Upgrade() {
1051
+ if p == nil {
1052
+ return
1053
+ }
1054
p.Media = p.Media.UpgradeWith(p.MediaEncryption)
1055
1056
1057
func (p *CreateSIPParticipantRequest) Upgrade() {
1058
1059
1060
1061
1062
1063
0 commit comments