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:
@@ -5,6 +5,7 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/livekit/livekit-server/pkg/config"
|
||||
"github.com/livekit/livekit-server/pkg/routing"
|
||||
"github.com/livekit/livekit-server/pkg/routing/routingfakes"
|
||||
"github.com/livekit/livekit-server/pkg/rtc/types"
|
||||
@@ -123,6 +124,7 @@ func newParticipantForTest(identity string) *ParticipantImpl {
|
||||
identity,
|
||||
&WebRTCConfig{},
|
||||
&routingfakes.FakeMessageSink{},
|
||||
ReceiverConfig{})
|
||||
ReceiverConfig{},
|
||||
config.AudioConfig{})
|
||||
return p
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user