Turn off transceiver re-use on Safari. (#4474)

There are issues with insertable streams + Safari which causes tracks to
go missing mid-stream sometimes.
This commit is contained in:
Raja Subramanian
2026-04-23 19:04:10 +05:30
committed by GitHub
parent d84f3d7a4e
commit 3a7f2628b0
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -3756,6 +3756,10 @@ func (p *ParticipantImpl) SupportsSyncStreamID() bool {
}
func (p *ParticipantImpl) SupportsTransceiverReuse(mt types.MediaTrack) bool {
if !p.params.ClientInfo.SupportsTransceiverReuse() {
return false
}
if p.params.UseOneShotSignallingMode {
return p.ProtocolVersion().SupportsTransceiverReuse()
}