agora-appbuilder-core 4.0.29-beta-22 → 4.0.29-beta-23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -826,32 +826,33 @@ const RecordingProvider = (props: RecordingProviderProps) => {
|
|
|
826
826
|
_stopRecording,
|
|
827
827
|
]);
|
|
828
828
|
|
|
829
|
+
//commented auto start for cloud recording
|
|
829
830
|
// auto start recording
|
|
830
|
-
useEffect(() => {
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
}, [
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
]);
|
|
831
|
+
// useEffect(() => {
|
|
832
|
+
// if (
|
|
833
|
+
// $config.CLOUD_RECORDING &&
|
|
834
|
+
// $config.CLOUD_RECORDING_AUTO_START &&
|
|
835
|
+
// callActive &&
|
|
836
|
+
// !isRecordingActive &&
|
|
837
|
+
// isHost &&
|
|
838
|
+
// hasUserJoinedRTM &&
|
|
839
|
+
// !autoStartCompleted
|
|
840
|
+
// ) {
|
|
841
|
+
// logger.log(
|
|
842
|
+
// LogSource.Internals,
|
|
843
|
+
// 'RECORDING',
|
|
844
|
+
// 'CLOUD_RECORDING_AUTO_START triggered',
|
|
845
|
+
// );
|
|
846
|
+
// startRecording();
|
|
847
|
+
// setAutoStartCompleted(true);
|
|
848
|
+
// }
|
|
849
|
+
// }, [
|
|
850
|
+
// isRecordingActive,
|
|
851
|
+
// isHost,
|
|
852
|
+
// callActive,
|
|
853
|
+
// hasUserJoinedRTM,
|
|
854
|
+
// autoStartCompleted,
|
|
855
|
+
// ]);
|
|
855
856
|
|
|
856
857
|
// useEffect(() => { //
|
|
857
858
|
// if (hasUserJoinedRTM && isRecordingBot) {
|