Use localhost ip
This commit is contained in:
@ -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}"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user