Pixel Stream - Using Magnetometer data to rotate a Camera or Actors?

The question is that can I control a spectator camera via PixelStream with magnetometer/gyro data from my phone? I suppose I would need to fiddle with the code in app.js? Has anyone played around with something like this? I found this http://blog.unreal-mobile.com/using-…-ios/#more-112

Would be great if someone has any tips. :wink:
Cheers!

1 Like

Yes you could, you’ll have to pass the data into the the WebRTC DataChannel.
webRtcPlayerObj.send(data);

You’ll also have to handle the data in Unreal PixelStream input buffet.