diff --git a/NostrStreamer/Services/StreamManager/NostrStreamManager.cs b/NostrStreamer/Services/StreamManager/NostrStreamManager.cs index ac13018..d4a6634 100644 --- a/NostrStreamer/Services/StreamManager/NostrStreamManager.cs +++ b/NostrStreamer/Services/StreamManager/NostrStreamManager.cs @@ -33,9 +33,9 @@ public class NostrStreamManager : IStreamManager throw new LowBalanceException("User balance empty"); } - return Task.FromResult(new List() + return Task.FromResult(new List { - $"rtmp://localhost/{_context.UserStream.Endpoint.App}/{_context.User.StreamKey}?vhost={_context.UserStream.Endpoint.Forward}" + $"rtmp://127.0.0.1:1935/{_context.UserStream.Endpoint.App}/{_context.User.StreamKey}?vhost={_context.UserStream.Endpoint.Forward}" }); } diff --git a/NostrStreamer/appsettings.json b/NostrStreamer/appsettings.json index 7f40aba..3d4054e 100644 --- a/NostrStreamer/appsettings.json +++ b/NostrStreamer/appsettings.json @@ -24,29 +24,6 @@ "Endpoint": "https://localhost:10002", "CertPath": "/Users/kieran/.polar/networks/1/volumes/lnd/bob/tls.cert", "MacaroonPath": "/Users/kieran/.polar/networks/1/volumes/lnd/bob/data/chain/bitcoin/regtest/admin.macaroon" - }, - "Endpoints": [ - { - "Name": "Premium", - "App": "test", - "Capabilities": [ - "variant:source", - "variant:240h:500", - "hls" - ], - "Forward": "full.in.zap.stream", - "Cost": 10000 - }, - { - "Name": "Passthrough", - "App": "test2", - "Capabilities": [ - "variant:source", - "hls" - ], - "Forward": "base.in.zap.stream", - "Cost": 2100 - } - ] + } } }