webrtc: support WHIP/WHEP DELETE method (#2507)

This commit is contained in:
Rui Lopes
2023-10-24 15:30:44 +01:00
committed by GitHub
parent 4dc6e338dd
commit 9f5169ba26
13 changed files with 468 additions and 305 deletions

View File

@@ -62,7 +62,7 @@ func (s *webRTCSource) run(ctx context.Context, cnf *conf.Path, _ chan *conf.Pat
Timeout: time.Duration(s.readTimeout),
}
iceServers, err := whip.GetICEServers(ctx, c, u.String())
iceServers, err := whip.OptionsICEServers(ctx, c, u.String())
if err != nil {
return err
}