Use localhost ip

This commit is contained in:
2023-07-26 11:10:19 +01:00
parent a5b358ab0f
commit 9045af1838
2 changed files with 3 additions and 26 deletions

View File

@ -33,9 +33,9 @@ public class NostrStreamManager : IStreamManager
throw new LowBalanceException("User balance empty"); throw new LowBalanceException("User balance empty");
} }
return Task.FromResult(new List<string>() return Task.FromResult(new List<string>
{ {
$"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}"
}); });
} }

View File

@ -24,29 +24,6 @@
"Endpoint": "https://localhost:10002", "Endpoint": "https://localhost:10002",
"CertPath": "/Users/kieran/.polar/networks/1/volumes/lnd/bob/tls.cert", "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" "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
}
]
} }
} }