This commit is contained in:
boks1971
2025-08-16 20:09:47 +05:30
parent 22befff6c1
commit e89f30e945
2 changed files with 6 additions and 12 deletions
-4
View File
@@ -538,10 +538,6 @@ func (p *ParticipantImpl) setCodecPreferencesForPublisherMedia(
unmatch.MediaName.Formats = append(unmatch.MediaName.Formats, leftCodecs...)
}
// SINGLE-PEER-CONNECTION-TODO: can set mid in TrackInfo before sending offer and check on receiving answer to set SdpCid
// SINGLE-PEER-CONNECTION-TODO: this has to be do publish enabled codecs filtering also, cannot do it with setting registered codecs on peer connection as subscriber codecs could be different from publisher codecs
// SINGLE-PEER-CONNECTION-TODO: probably have to do RTP Header Extensions and RTCP feedback filtering also here
}
return parsedOffer, unprocessed
+6 -8
View File
@@ -266,14 +266,12 @@ type PCTransport struct {
}
type TransportParams struct {
Handler transport.Handler
ProtocolVersion types.ProtocolVersion
Config *WebRTCConfig
Twcc *lktwcc.Responder
// SINGLE-PEER-CONNECTION-TODO: guess this has to be superset of published and subscribed direction configs
DirectionConfig DirectionConfig
CongestionControlConfig config.CongestionControlConfig
// SINGLE-PEER-CONNECTION-TODO: guess this has to be superset of published and subscribed codecs
Handler transport.Handler
ProtocolVersion types.ProtocolVersion
Config *WebRTCConfig
Twcc *lktwcc.Responder
DirectionConfig DirectionConfig
CongestionControlConfig config.CongestionControlConfig
EnabledCodecs []*livekit.Codec
Logger logger.Logger
Transport livekit.SignalTarget