[mirotalksfu] - fix, add refresh video files
هذا الالتزام موجود في:
@@ -342,6 +342,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#extraInfo {
|
#extraInfo {
|
||||||
|
margin-left: 5px;
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -440,7 +441,7 @@ th {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#rtmpStreamURL,
|
#rtmpStreamURL,
|
||||||
#rtmp-url {
|
#rtmpLiveUrl {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -449,6 +450,16 @@ th {
|
|||||||
background: var(--select-bg) !important;
|
background: var(--select-bg) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#refreshVideoFiles {
|
||||||
|
float: right;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 5px;
|
||||||
|
background: var(--body-bg) !important;
|
||||||
|
}
|
||||||
|
#refreshVideoFiles:hover {
|
||||||
|
background: var(--select-bg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.input-container button {
|
.input-container button {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
|
|||||||
@@ -300,6 +300,7 @@ function initClient() {
|
|||||||
'Prioritize h.264 with AAC or h.264 with Opus codecs over VP8 with Opus or VP9 with Opus codecs',
|
'Prioritize h.264 with AAC or h.264 with Opus codecs over VP8 with Opus or VP9 with Opus codecs',
|
||||||
'right',
|
'right',
|
||||||
);
|
);
|
||||||
|
setTippy('refreshVideoFiles', 'Refresh', 'left');
|
||||||
setTippy('switchServerRecording', 'The recording will be stored on the server rather than locally', 'right');
|
setTippy('switchServerRecording', 'The recording will be stored on the server rather than locally', 'right');
|
||||||
setTippy('whiteboardGhostButton', 'Toggle transparent background', 'bottom');
|
setTippy('whiteboardGhostButton', 'Toggle transparent background', 'bottom');
|
||||||
setTippy('wbBackgroundColorEl', 'Background color', 'bottom');
|
setTippy('wbBackgroundColorEl', 'Background color', 'bottom');
|
||||||
@@ -1490,6 +1491,9 @@ function handleButtons() {
|
|||||||
rc.getRTMP();
|
rc.getRTMP();
|
||||||
rc.openTab(e, 'tabRTMPStreaming');
|
rc.openTab(e, 'tabRTMPStreaming');
|
||||||
};
|
};
|
||||||
|
refreshVideoFiles.onclick = () => {
|
||||||
|
rc.getRTMP();
|
||||||
|
};
|
||||||
tabAspectBtn.onclick = (e) => {
|
tabAspectBtn.onclick = (e) => {
|
||||||
rc.openTab(e, 'tabAspect');
|
rc.openTab(e, 'tabAspect');
|
||||||
};
|
};
|
||||||
@@ -1715,7 +1719,7 @@ function handleButtons() {
|
|||||||
rc.closeProducer(RoomClient.mediaType.screen);
|
rc.closeProducer(RoomClient.mediaType.screen);
|
||||||
};
|
};
|
||||||
copyRtmpUrlButton.onclick = () => {
|
copyRtmpUrlButton.onclick = () => {
|
||||||
rc.copyRTMPUrl(rtmpStreamURL.value);
|
rc.copyRTMPUrl(rtmpLiveUrl.value);
|
||||||
};
|
};
|
||||||
startRtmpButton.onclick = () => {
|
startRtmpButton.onclick = () => {
|
||||||
if (rc.selectedRtmpFilename == '') {
|
if (rc.selectedRtmpFilename == '') {
|
||||||
|
|||||||
@@ -7596,7 +7596,7 @@ class RoomClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cleanRTMPUrl() {
|
cleanRTMPUrl() {
|
||||||
const rtmpUrl = rc.getId('rtmp-url');
|
const rtmpUrl = rc.getId('rtmpLiveUrl');
|
||||||
rtmpUrl.value = '';
|
rtmpUrl.value = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -7622,7 +7622,7 @@ class RoomClient {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const rtmpUrl = rc.getId('rtmp-url');
|
const rtmpUrl = rc.getId('rtmpLiveUrl');
|
||||||
rtmpUrl.value = filterXSS(rtmp);
|
rtmpUrl.value = filterXSS(rtmp);
|
||||||
|
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
|
|||||||
@@ -828,6 +828,7 @@ access to use this app.
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
<hr />
|
||||||
<div id="roomRecordingServer" class="hidden">
|
<div id="roomRecordingServer" class="hidden">
|
||||||
<table class="settingsTable">
|
<table class="settingsTable">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -948,7 +949,7 @@ access to use this app.
|
|||||||
<div id="rtmpUrlLive">
|
<div id="rtmpUrlLive">
|
||||||
<div class="input-container">
|
<div class="input-container">
|
||||||
<input
|
<input
|
||||||
id="rtmp-url"
|
id="rtmpLiveUrl"
|
||||||
type="text"
|
type="text"
|
||||||
value=""
|
value=""
|
||||||
placeholder="rtmp://server:port/app/streamKey"
|
placeholder="rtmp://server:port/app/streamKey"
|
||||||
@@ -960,7 +961,9 @@ access to use this app.
|
|||||||
<table class="file-table">
|
<table class="file-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Video Files:</th>
|
<th>
|
||||||
|
Video Files: <i id="refreshVideoFiles" class="fa-solid fa-rotate"></i>
|
||||||
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="file-list">
|
<tbody id="file-list">
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم