[mirotalksfu] - fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2024-06-30 10:55:16 +02:00
الأصل 232c635da6
التزام 93a87735bf
2 ملفات معدلة مع 6 إضافات و6 حذوفات

عرض الملف

@@ -4032,7 +4032,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
title: 'WebRTC SFU v1.4.60',
title: 'WebRTC SFU 1.4.71',
html: `
<br />
<div id="about">

عرض الملف

@@ -27,7 +27,7 @@ function generateRTMPUrl(baseURL, streamPath, secretKey, expirationHours = 8) {
const rtmpUrl = `${baseURL}${streamPath}?sign=${expirationTime}-${hashValue}`;
// Print some log
log.debug('generateRTMPUrl', {
console.debug('generateRTMPUrl', {
currentTime: currentTime,
expirationTime: expirationTime,
hashValue: hashValue,
@@ -38,10 +38,10 @@ function generateRTMPUrl(baseURL, streamPath, secretKey, expirationHours = 8) {
}
// Example usage
const baseURL = 'rtmp://localhost:1935';
const streamKey = uuidv4();
const streamPath = '/live/' + streamKey; // path/stream-key
const secretKey = 'mirotalkRtmpSecret';
const baseURL = 'rtmp://localhost:1935'; // Rtmp server
const streamKey = uuidv4(); // Generate random stream key
const streamPath = '/live/' + streamKey; // Path/stream-key
const secretKey = 'mirotalkRtmpSecret'; // Must be the same as in config.js auth.secret
const expirationHours = 8;
// Run: node sign.js