Skip to content

datablue: escape variable values, oceantv+storage: misc fixes - #855

Merged
elliot-ausocean merged 1 commit into
mainfrom
pr855
Sep 30, 2026
Merged

elliot-ausocean merged 1 commit into
mainfrom
pr855

Conversation

@elliot-ausocean

Copy link
Copy Markdown
Collaborator

This change adds JSON escaping to variable values on the vars endpoint of datablue. JSON payloads are created using string concatenation for some reason in this function (I am guessing one of the netsenders is fussy with its parsing) and I am leaving it be in case something downstream breaks. The OceanMedia broadcast host now returns a pointer instead of a value for zero arg initialisations so that the BroadcastHost interface is satisfied. BroadcastEvent and Notification are added to the oceantv composite store mapping to allow oceantv to work with these models. A couple of missed fields are added to the cloudflare temporary authentication JWT and the secret key is hex encoded instead of outputting as a raw string. With this PR and the associated PR in prod, the streaming side of OceanMedia is functional.

This change adds JSON escaping to variable values on the vars endpoint of datablue. JSON payloads are created using string concatenation for some reason in this function (I am guessing one of the netsenders is fussy with its parsing) and I am leaving it be in case something downstream breaks. The OceanMedia broadcast host now returns a pointer instead of a value for zero arg initialisations so that the BroadcastHost interface is satisfied. BroadcastEvent and Notification are added to the oceantv composite store mapping to allow oceantv to work with these models. A couple of missed fields are added to the cloudflare temporary authentication JWT and the secret key is hex encoded instead of outputting as a raw string. With this PR and the associated PR in prod, the streaming side of OceanMedia is functional.
@elliot-ausocean
elliot-ausocean merged commit bfa6484 into main Sep 30, 2026
3 checks passed
@elliot-ausocean
elliot-ausocean deleted the pr855 branch September 30, 2026 04:17
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