agora-appbuilder-core 4.0.0-beta.96 → 4.0.0-beta.97
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
|
@@ -246,7 +246,7 @@ const RtmConfigure = (props: any) => {
|
|
|
246
246
|
const userData = {
|
|
247
247
|
screenUid: screenUid,
|
|
248
248
|
//below thing for livestreaming
|
|
249
|
-
type: 'rtc',
|
|
249
|
+
type: uid === parseInt(RECORDING_BOT_UID) ? 'bot' : 'rtc',
|
|
250
250
|
uid,
|
|
251
251
|
offline: false,
|
|
252
252
|
lastMessageTimeStamp: 0,
|
|
@@ -37,16 +37,15 @@ function RTableBody({status, recordings}) {
|
|
|
37
37
|
}
|
|
38
38
|
return (
|
|
39
39
|
<>
|
|
40
|
-
{recordings
|
|
41
|
-
.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<View style={style.td}>
|
|
40
|
+
{recordings.map(item => (
|
|
41
|
+
<View style={style.tbrow} key={item.id}>
|
|
42
|
+
<View style={[style.td, style.plzero]}>
|
|
43
|
+
<Text style={style.ttime}>
|
|
44
|
+
{getRecordedDate(item.created_at)}
|
|
45
|
+
</Text>
|
|
46
|
+
</View>
|
|
47
|
+
<View style={style.td}>
|
|
48
|
+
{item?.download_url ? (
|
|
50
49
|
<View style={style.tactions}>
|
|
51
50
|
<Text
|
|
52
51
|
style={style.tlink}
|
|
@@ -88,9 +87,16 @@ function RTableBody({status, recordings}) {
|
|
|
88
87
|
/>
|
|
89
88
|
</View>
|
|
90
89
|
</View>
|
|
91
|
-
|
|
90
|
+
) : (
|
|
91
|
+
<View style={style.tactions}>
|
|
92
|
+
<Text style={style.placeHolder}>
|
|
93
|
+
Recording is in progress
|
|
94
|
+
</Text>
|
|
95
|
+
</View>
|
|
96
|
+
)}
|
|
92
97
|
</View>
|
|
93
|
-
|
|
98
|
+
</View>
|
|
99
|
+
))}
|
|
94
100
|
</>
|
|
95
101
|
);
|
|
96
102
|
};
|
|
@@ -148,8 +148,11 @@ export const style = StyleSheet.create({
|
|
|
148
148
|
borderColor: $config.CARD_LAYER_4_COLOR,
|
|
149
149
|
backgroundColor: $config.CARD_LAYER_3_COLOR,
|
|
150
150
|
},
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
placeHolder: {
|
|
152
|
+
fontSize: ThemeConfig.FontSize.tiny,
|
|
153
|
+
fontFamily: ThemeConfig.FontFamily.sansPro,
|
|
154
|
+
color: $config.FONT_COLOR + ThemeConfig.EmphasisPlus.low,
|
|
155
|
+
},
|
|
153
156
|
// footer ends
|
|
154
157
|
zeroHPadding: {
|
|
155
158
|
paddingHorizontal: 0,
|