Device Access Toolkit v0.8 out! 🎉 #226
Replies: 6 comments 11 replies
|
Out of the box, on a GEN1 Wayfarer (with everything updated and rebooted):
Any clue ? |
|
Wanted to confirm this on a Gen2 Ray-Ban Meta (looks like the earlier report here was Gen1). I'm on DAT SDK 0.8.0 with the on-glasses app at 0.8.0.31.0, requesting .high / hvc1. WiFi definitely lifts the resolution; I'm getting a sustained 720×1280, up from the ~504×896 I was stuck at over BT-Classic, and frame delivery is smooth at ~30fps. So when it works, it's a big step up. The problem is it freezes within seconds to a couple of minutes. When it does, the glasses are still delivering frames at ~30fps (the link looks fine), but VTDecompressionSession rejects every single one; OSStatus -12909 (kVTVideoDecoderBadDataErr) and -17694. So the hvc1 access units are coming through corrupt, same as r0n0 saw. It doesn't seem tied to high res, at least on Gen2. I tried .medium and it still came through at 504×896 and corrupted the same way (continuous -12909). The only thing that recovers it is a fresh IDR. Recreating the decompression session doesn't do anything; I had it rebuilding every ~0.5s through a 72-second freeze and not a single frame decoded, which lines up with the data being bad / a missing reference rather than the decoder getting wedged. Restarting the stream brings it back (that forces a keyframe), and a hard lockup needs a glasses power-cycle. Couple of questions:
|
|
@OscarFalmer is there a fix? I can't roll back the SDK version on the glasses to 0.7.0 it seems and corrupted hvc1 renders the dev work unusable. |
|
Hi @r0n0 and @vinidlidoo I've been trying this out myself, and I think there is an issue where we can drop frames when you are using bluetooth as the transport channel and have DAM enabled. BTC transport & DAM will be the default behaviour if you update your app from the 0.7 sdk to 0.8 sdk, but we have moved to Wifi in our sample app so perhaps didn't catch this. Can you test something? Disable DAM in your MWDAT configuration and let me know if it resolves the issue for you: Thanks for reporting, hopefully we can resolve this issue quickly. David. |
|
Hi @r0n0 - sorry for a delay, we've been digging into this. We've identified this as a glasses firmware bug - it is an issue where i-frames are dropped occasionally by the glasses and not sent, if the packet size gets too large. So it happens under certain noisy environments and is much more common with .high streaming. Unfortunately, we don't have a workaround for it, you can just reduce pressure with lower settings. As @vinidlidoo reported, if you use .hvc1 yourself, then you should recover at the next keyframe. If your image is moving rather than completely still, then the trail frames will also heal faster than when static. Therefore you have the following options and fixes coming:
Thanks for helping us find this and diagnose, David. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
We’re excited to announce the release of version 0.8 of the Meta Wearables Device Access Toolkit.
📌 Release Notes
🔗 Check the iOS changelog and Android changelog to see full changelogs.
🔗 Check the full Documentation on Wearables Developer Center.
🔗 Post your projects on the new Meta Subreddit for AI glasses developers.
All reactions