mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 08:49:16 +02:00
webrtc test
This commit is contained in:
@@ -339,6 +339,14 @@ router.get('/server_time', (req, res) => {
|
||||
|
||||
router.get('/ping', (req, res) => res.send('pong'));
|
||||
|
||||
// techkrzysiek's WebRTC plugin integration from the Miedzyzdroje server.
|
||||
router.get('/webrtc-audio-flags.json', (req, res) => res.json({disable3las: false}));
|
||||
// /webrtc-audio.conf should serve a list of supported WebRTC endpoints; like this "56000:https://webrtc.fmdx.pro/miedzyzdroje_56k/whep"; each entry is seperated by a semicolon
|
||||
// We should be able to use mediamtx for SDP/WHEP and the WebRTC itself.
|
||||
|
||||
// Testing only! TODO: Add this to config
|
||||
router.get('/webrtc-audio.conf', (req, res) => res.send("192000;https://batorego.flerken.pl.eu.org/webrtc/whep192/whep"));
|
||||
|
||||
const logHistory = {};
|
||||
|
||||
// Function to check if the ID has been logged within the last 60 minutes
|
||||
|
||||
Reference in New Issue
Block a user