🐛 Optimize noise cancellation
This commit is contained in:
parent
7c6f2cc4ab
commit
3585941ccb
@ -132,6 +132,7 @@ class ChatCallProvider extends ChangeNotifier {
|
|||||||
|
|
||||||
void initRoom() {
|
void initRoom() {
|
||||||
initHardware();
|
initHardware();
|
||||||
|
final timeout = const Duration(seconds: 60);
|
||||||
_room = Room(
|
_room = Room(
|
||||||
roomOptions: RoomOptions(
|
roomOptions: RoomOptions(
|
||||||
dynacast: true,
|
dynacast: true,
|
||||||
@ -158,6 +159,16 @@ class ChatCallProvider extends ChangeNotifier {
|
|||||||
params: VideoParametersPresets.h1080_169,
|
params: VideoParametersPresets.h1080_169,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
connectOptions: ConnectOptions(
|
||||||
|
autoSubscribe: true,
|
||||||
|
timeouts: Timeouts(
|
||||||
|
connection: timeout,
|
||||||
|
debounce: timeout,
|
||||||
|
publish: timeout,
|
||||||
|
peerConnection: timeout,
|
||||||
|
iceRestart: timeout,
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
_listener = _room.createListener();
|
_listener = _room.createListener();
|
||||||
WakelockPlus.enable();
|
WakelockPlus.enable();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user