Enable data tracks by default. (#4429)

This commit is contained in:
Raja Subramanian
2026-04-04 00:54:48 +05:30
committed by GitHub
parent 72c7e65c25
commit 050909e627
4 changed files with 13 additions and 12 deletions
+7 -6
View File
@@ -436,12 +436,13 @@ var DefaultConfig = Config{
StreamBufferSize: 1000,
ConnectAttempts: 3,
},
PSRPC: rpc.DefaultPSRPCConfig,
Keys: map[string]string{},
Metric: metric.DefaultMetricConfig,
WebHook: webhook.DefaultWebHookConfig,
NodeStats: DefaultNodeStatsConfig,
API: DefaultAPIConfig(),
PSRPC: rpc.DefaultPSRPCConfig,
Keys: map[string]string{},
Metric: metric.DefaultMetricConfig,
WebHook: webhook.DefaultWebHookConfig,
NodeStats: DefaultNodeStatsConfig,
API: DefaultAPIConfig(),
EnableDataTracks: true,
}
func NewConfig(confString string, strictMode bool, c *cli.Command, baseFlags []cli.Flag) (*Config, error) {
+1 -1
View File
@@ -63,7 +63,7 @@ func (s *signallerAsync) WriteMessage(msg proto.Message) error {
if s.params.Participant.IsDisconnected() {
s.params.Logger.Debugw(
"counld not send message to participant, participant disconnected",
"could not send message to participant, participant disconnected",
"messageType", getMessageType(msg),
)
return nil
+4 -4
View File
@@ -290,10 +290,10 @@ func (s *RTCService) serve(w http.ResponseWriter, r *http.Request, needsJoinRequ
}
var (
roomName livekit.RoomName
roomID livekit.RoomID
participantIdentity livekit.ParticipantIdentity
pID livekit.ParticipantID
roomName livekit.RoomName = "unresolved"
roomID livekit.RoomID = "unresolved"
participantIdentity livekit.ParticipantIdentity = "unresolved"
pID livekit.ParticipantID = "unresolved"
loggerResolved bool
pi routing.ParticipantInit
+1 -1
View File
@@ -1420,7 +1420,7 @@ func (d *DownTrack) CloseWithFlush(flush bool, isEnding bool) {
return
}
d.params.Logger.Debugw("close downtrack", "flushBlankFrame", flush)
d.params.Logger.Debugw("close downtrack", "flushBlankFrame", flush, "isEnding", isEnding)
if d.bindState.Load() == bindStateBound {
d.forwarder.Mute(true, true)