I thought about hosting my own stream because in the zap stream settings there is a setting called "I have my own stream host"

But even if I setup my own stream host, if zap stream is getting ddos, doesn't that mean zap stream viewers won't be able to access the website so it won't matter?

Reply to this note

Please Login to reply.

Discussion

No. streams are nostr events. If you broadcast the event it's live on the entire nostr network (will display in any app that supports the event)

Oh I see what you mean,

but don't most people watch our streams from zap stream?

I don't watch on Amethyst because the screen is too small.

Zap steam is the place to go and party.

I did some research and it turns out that for example twitch. many people watch streams on mobile rather then mobile. I thought desktop would win.

I never watch streams on mobile.

I might setup my own steam host and see if it runs fast.

Yeah most people do watch on mobile. even more so on nostr. Hence there is no point in pushing a 4k stream either. 720p shall suffice and tbh, on a phone 480p is clear enough. You're better off scaling your output canvas to 720p/60 fps than doing 1080p/30fps. looks great even on desktop (windowed) and it's smooth.

The stream host would:

1. Take your stream, auth to your pubkey

2. Publish and keep updated a Nostr 30311 event

3. Include the url of the video feed so that Nostr clients know where to go and watch

Then your stream will be available on every Nostr client.

If you could trivially run one of these for yourself, would you?

Yes I would and I thought about doing that. I asked chatgpt how to do that and it told me how to. I have a dedicated server online which I could use to test.

Maybe I will do that in the future. It sounds like a good idea.