From 112ed5b80a49dd8255b1f10a139b2b2cd5f77d9d Mon Sep 17 00:00:00 2001 From: Kieran Date: Mon, 31 Jul 2023 14:19:51 +0100 Subject: [PATCH] Backfill with clientId --- NostrStreamer/Controllers/SRSController.cs | 2 +- docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NostrStreamer/Controllers/SRSController.cs b/NostrStreamer/Controllers/SRSController.cs index 7ea136c..035a7be 100644 --- a/NostrStreamer/Controllers/SRSController.cs +++ b/NostrStreamer/Controllers/SRSController.cs @@ -38,7 +38,7 @@ public class SrsController : Controller App = appSplit[0], Variant = appSplit.Length > 1 ? appSplit[1] : "", ClientId = req.ClientId!, - StreamId = req.StreamId!, + StreamId = req.StreamId ?? req.ClientId!, StreamKey = req.Stream }); diff --git a/docker-compose.yaml b/docker-compose.yaml index 7b762be..6642eab 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -11,7 +11,7 @@ services: - "9003:8080" - "9004:8000" srs-edge: - image: ossrs/srs:5 + image: ossrs/srs:4 volumes: - "./docker/srs-edge.conf:/usr/local/srs/conf/srs.conf" ports: