Stream API #7
Labels
No Label
backend
bug
duplicate
enhancement
help wanted
invalid
needs:design
P1
P2
P3
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Kieran/zap.stream#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
All endpoints use NIP-98 Auth.
Streaming providers publish all nostr stream events (30_311 event kind).
This means that users simply need to start streaming for the nostr event to be marked as
"live"
, and likewise the stream should be marked as offline when the stream is down.Streaming providers MUST include the
p
tag for the host as per NIP-102, the user who isp
tagged should provide a sig of thea
tag used in their event to prevent fake "host" tagged events.This sig can be sent to
PATCH /account
by taking thea
tag fromGET /account
and hashing it with SHA256 and signing the hash with their private key.Account Info
GET /account
- Login/Register/Account InfoResponse:
Update Account
PATCH /account
- Update accountRequest:
Response: 200
Topup
GET /topup?amount=number
- Get invoice to top up account in satsResponse:
Update Event
PATCH /event
- Update stream eventRequest:
Response:
Added TOS to
/account
Added note about signed
a
tagAdd
endpoints
to account to accommodate multiple cost plansAdded
guests
to patch eventAdded bitrate to variant
zap.stream solution: https://miro.com/app/board/uXjVMzHeLT4=/?share_link_id=336961681393
Added note about
event
usingPATCH /event
payload for stream detailsAdded
dvr
capability, format isdvr:<resolution>
resolution format is the same asvariant
capability tag.eg.
dvr:source
/dvr:480h
Should we allow to specify a goal
a
for streams to be able to link streams to goals and not the other way around? This would allow streamers to configure goals that show up on every stream.