first implementation of PTT; Adjusting Opus parameter for shorter pTime, lower bandwidth (mono) and Forward Error Correction
This commit is contained in:
@@ -15,7 +15,8 @@ const initialState =
|
||||
loginEnabled : false,
|
||||
raiseHand : false,
|
||||
raiseHandInProgress : false,
|
||||
loggedIn : false
|
||||
loggedIn : false,
|
||||
isSpeaking : false
|
||||
};
|
||||
|
||||
const me = (state = initialState, action) =>
|
||||
@@ -120,6 +121,13 @@ const me = (state = initialState, action) =>
|
||||
return { ...state, displayNameInProgress: flag };
|
||||
}
|
||||
|
||||
case 'SET_IS_SPEAKING':
|
||||
{
|
||||
const { flag } = action.payload;
|
||||
|
||||
return { ...state, isSpeaking: flag };
|
||||
}
|
||||
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user