mirror of
https://github.com/livekit/livekit.git
synced 2026-05-25 01:35:39 +00:00
clean up
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user