New Web Bluetooth CCU for URSA Broadcast G2

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

OlliVan

  • Posts: 29
  • Joined: Sun Jan 31, 2021 2:08 pm
  • Location: Italy
  • Real Name: Olli Vanhoja

New Web Bluetooth CCU for URSA Broadcast G2

PostWed Mar 29, 2023 10:36 pm

I'm not sure if this topic category is where people potentially interested are, on the other hand, this project is pretty bare-bones and buggy. As the topic says, I had been wondering what would be the easiest way to access the color corrector of my camera. It's not accessible through the menu nor by using any other BMD devices than ATEMs. I actually wanted to control it over Ethernet but I would have needed to reverse engineer the RTMP protocol as it's not documented publicly and again, I don't have any ATEM devices. Therefore, I turned to tech I'm already very familiar with and wrote a web app to control the camera over Bluetooth.

The app, as I said previously, is still fairly buggy and you'll most likely mess up your shoot if you reopen the page for any reason (or if it happens to crash). I'll try to make it nicer in the future though.

Image

The source code is here: https://github.com/OlliV/bt-ccu
You can try the app here: https://ccu-gamma.vercel.app/

It will most probably only work on Chromium based browsers on Desktop as Web Bluetooth is not really available on any other browsers and the mobile support is flaky at best.

---

Finally, does anybody know how to query parameters from the camera? It sends back some data on some commands but I haven't figured out how to trigger a query for any parameter. Say, it would be nice to retrieve the color corrector parameters on restart without relying on the computer to keep those.
Offline
User avatar

Xtreemtec

  • Posts: 5397
  • Joined: Wed Jan 02, 2013 11:48 am
  • Location: The Netherlands

Re: New Web Bluetooth CCU for URSA Broadcast G2

PostTue Apr 04, 2023 8:53 am

What is the platform you have to run it on?
Daniel Wittenaar .:: Xtreemtec Media Productions ::. -= www.xtreemtec.nl =-
4K OBV Trailer, ATEM TVS HD, 4M/E Broadcast Studio 4K, Constelation 8K, Hyperdeck Studio 12G, Ursa Broadcast 4K, 4K fiber converters with Sony Control
Offline

Mike Ambrose

  • Posts: 189
  • Joined: Wed Jan 13, 2016 11:31 pm

Re: New Web Bluetooth CCU for URSA Broadcast G2

PostTue Apr 04, 2023 12:53 pm

Xtreemtec wrote:What is the platform you have to run it on?

This runs client-side only in a browser and uses the Web Bluetooth API
https://developer.mozilla.org/en-US/doc ... etooth_API

Here's where OlliVan's code uses it: https://github.com/OlliV/bt-ccu/blob/ma ... dex.ts#L39

For the parts of the API the code uses the following browsers are supported:
    Chrome Desktop & Android
    Chromium Edge
    Opera Desktop & Android
Offline

mark.sze

  • Posts: 33
  • Joined: Sat Jul 25, 2020 12:55 am
  • Location: Sydney, Australia
  • Real Name: Mark Sze

Re: New Web Bluetooth CCU for URSA Broadcast G2

PostTue Apr 11, 2023 4:05 am

That's nice work... I tried controlling my Pocket 6K with it and was able to adjust the shutter, white balance, tint (though it showed as 255 on the camera, even though the range should be -50 to 50!)
Offline
User avatar

Babs J

  • Posts: 53
  • Joined: Wed Nov 29, 2017 11:35 am
  • Real Name: Babs Johnson

Re: New Web Bluetooth CCU for URSA Broadcast G2

PostThu Apr 13, 2023 6:12 am

Can you develop this as an instance for Bitfocus companion?
Ravensbourne: Broadcast Systems Technology; ATEM 1ME 4K, HyperDeck 12G, SmartScope, BirdDog Play 4K NDI Decoder, Web Presenter HD, DJI RSC 2 Pro Combo, Middle Remote. LattePanda Alpha 864 with DeckLink micro SDI Zoom, Apple TV 3rd Gen. for wireless GFX.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 11 guests