robjperez / opentok-swiftui-sample

0 stars 0 forks source link

Issue running this on a real device (CAMetalLayer nextDrawable) #2

Closed csoutham closed 4 years ago

csoutham commented 4 years ago

Once upgraded to v2.17.0 and the correct permissions are assigned for camera and microphone this will build on a real device. However once connected to OpenTok it throws constant errors, with no camera output: opentok-swiftui-sample[21059:7974299] [CAMetalLayer nextDrawable] returning nil because allocation failed.

Appreciate you may have abandoned this @robjperez but it's the only (almost) working example out there!

robjperez commented 4 years ago

Thanks for reporting @csoutham I’ll take it a look :)

robjperez commented 4 years ago

@csoutham it should be fixed in last commit in master branch

Please reopen if it is still not working :)