Skip to content

Saturday, August 1

Git Commits

dash commits 7 ohnsh/dash
  • 9:28 pm — John Sherrell <dev@ohn.sh>

    dashd: now dockerized. There's a new named docker network, tunnelnet, for cloudflared and anything that cloudflared proxies, including dashd. mediaMTX config now whitelists the IP address of dashd inside that network. For now, src/ is bind-mounted into the container, and the container command uses `bun --watch`, so dashd is automatically reloaded whenever a source file changes.

  • 9:20 pm — John Sherrell <dev@ohn.sh>

    dashd-next: minor fixes to get rid of diagnostics.

  • 4:53 pm — John Sherrell <dev@ohn.sh>

    dashd: snapshot endpoint is working. It fetches from the Thingino snapshot endpoint using the device-generated API key in the `token` query parameter. It also adds cache-control headers to prevent Cloudflare from caching the response. Also a new helper script, append-hosts.sh, that resolves .local addresses (cameras) and appends them to /etc/hosts.

  • 2:50 pm — John Sherrell <dev@ohn.sh>

    chore: bump dependencies

  • 2:48 pm — John Sherrell <dev@ohn.sh>

    dashd: toward dockerizing dashd. Doesn't yet quite work; need to look at bun's docker docs regarding recommended container user.

  • 2:28 pm — John Sherrell <dev@ohn.sh>

    dash-next: moved <Script> element out of main layout. Not that it matters but it seems to be working now in the individual HLS experiment components, both client and server. Much cleaner.

  • 2:27 pm — John Sherrell <dev@ohn.sh>

    dash-next: No longer setting hls.js to send credentials (cookies) with every request. It works fine and is much cleaner.

dev commits 5 ohnsh/dev
  • 6:28 pm — John Sherrell <dev@ohn.sh>

    bug: minor syntax improvement in `if` statement.

  • 6:27 pm — John Sherrell <dev@ohn.sh>

    stream-utils: add videotoolbox hardware acceleration option for transcoding to HLS. Automatically detects videotoolbox or vaapi. Calculate GOP (keyframe interval) from probed frame rate.

  • 2:36 pm — John Sherrell <dev@ohn.sh>

    cam: updated mediamtx.yml to match latest default config file. Hooks `runOnAvailable` and `runOnOnline` have been added.

  • 12:09 pm — John Sherrell <dev@ohn.sh>

    cam: Reverting to not run a snapshot script in a mediaMTX hook. A much better option is to switch the sources back to on-demand and run an external script that grabs snapshots directly from the thingino snapshot endpoint.

  • 10:48 am — John Sherrell <dev@ohn.sh>

    cam: Add snapshot config to mediamtx.yml, update hook name from `runOnReady` to `runOnAvailable` to align with recent MediaMTX releases. Update compose.yml to bind-mount snapshot directory into container.

YouTube