Open CreateUp-Academy opened 5 years ago
We'll look into this. Automatic playback of audio is specifically allowed in the WKWebView via webViewConfiguration.mediaTypesRequiringUserActionForPlayback = []
, but it looks like this may no longer be working.
Can I improve the problem?
Hi is there a solution yet for the problem? I am facing the same issue. I even tried exchanged the URL with a youtube link. I did not have any issue on that. However I had to unmute on the youtube link after it was loaded. Is there anything similiar to pass it on unmuted?
We've identified the problem and are working on a fix. I'll update this issue when it's released.
Fix is out. Please re-publish your scene in Sumerian to pick it up.
I cannot hear the host voice with the iOS App using this code yet.
Hi Mike, same here. I republished but unfortunately I cannot hear anything either. Within the state machine of the the Avatar before I start the speech I added the action "unmute" just to make sure that the scene is not muted.
I've noticed that WKWebView will sometimes cache scenes and will continue to use the cached version even if the scene's been republished. Try adding this code to ViewController.swift in the viewDidLoad
function right after the call to super.viewDidLoad
, which will explicitly clear its cache.
let websiteDataTypes = NSSet(array: [WKWebsiteDataTypeDiskCache, WKWebsiteDataTypeMemoryCache])
let date = NSDate(timeIntervalSince1970: 0)
WKWebsiteDataStore.default().removeData(ofTypes: websiteDataTypes as! Set<String>, modifiedSince: date as Date, completionHandler:{ })
If that doesn't work, please reach out to me (AWS-mstarr) on our public slack (https://slack.sumerian.aws) and I'll see if I can figure out what's going on with your specific scenes.
Unfortunately did not work, still silence. I will contact you on slack as suggested.
Is this an old just still open or an active known issue?
I made the scene that the host speaks with polly by sumerian. I can watch the scene that the host speaks with gesture by MacBook pro.
And I made AR App by Xcode and ARkit in accordance with tutorial, I can watch the host and gesture by iPhone XR, but I cannot hear the voice. Of course the volume is not muted.
Please let me know how to solve the problem.