Skip to content

oceanmedia: create oceanmedia service - #859

Merged
elliot-ausocean merged 1 commit into
mainfrom
pr859
Oct 13, 2026
Merged

elliot-ausocean merged 1 commit into
mainfrom
pr859

Conversation

@elliot-ausocean

@elliot-ausocean elliot-ausocean commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

This change adds the oceanmedia service, which generates HLS playlists for oceanmedia broadcasts. Authentication is provided through delegated JWTs that are generated by the referring service (ie oceanbench or ausoceantv) and supplied using either a url parameter (to enable maximum compatibility with players) or bearer authentication. It will be deployed on the ausoceanmedia project (oceanmedia was taken).

@ao-david ao-david left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very exciting!

Comment thread cmd/oceanmedia/main.go Outdated
}

func main() {
defaultPort := 8084

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oceancentre defaults to 8084. Probably not a big issue, but would be nice to just follow the standard and make it 8085

return fiber.ErrNotFound
}

if err := s.authenticate(c, broadcastID); err != nil {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a particular reason to authenticate after parsing the input?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The broadcast ID is being parsed so that we can confirm that the token is valid for this broadcast.

This change adds the oceanmedia service, which generates HLS playlists for oceanmedia broadcasts. Authentication is provided through delegated JWTs that are generated by the referring service (ie oceanbench or ausoceantv) and supplied using either a url parameter (to enable maximum compatibility with players) or bearer authentication. It will be deployed on the ausoceanmedia project (oceanmedia was taken).
@elliot-ausocean
elliot-ausocean merged commit d324f44 into main Oct 13, 2026
3 checks passed
@elliot-ausocean
elliot-ausocean deleted the pr859 branch October 13, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants