support audio level extension & active speaker detection (#20)

* send active speaker updates with audio level

* add test on loudness sorting

* use a float to represent audio level
This commit is contained in:
David Zhao
2021-02-14 14:30:23 -08:00
committed by GitHub
parent 7ddf96b6d4
commit a96069969d
15 changed files with 775 additions and 109 deletions
+2
View File
@@ -6,6 +6,7 @@ import (
"github.com/google/wire"
"go.uber.org/zap"
"github.com/livekit/livekit-server/pkg/config"
"github.com/livekit/livekit-server/pkg/logger"
"github.com/livekit/livekit-server/pkg/routing"
"github.com/livekit/livekit-server/pkg/rtc"
@@ -17,6 +18,7 @@ var ServiceSet = wire.NewSet(
NewRTCService,
NewLivekitServer,
NewRoomManager,
config.GetAudioConfig,
wire.Bind(new(livekit.RoomService), new(*RoomService)),
externalIpFromNode,
)