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: