@xmov/avatar 2.0.0-alpha.44 → 2.0.0-alpha.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmov/avatar",
3
- "version": "2.0.0-alpha.44",
3
+ "version": "2.0.0-alpha.46",
4
4
  "description": "魔珐数字人 JS-SDK",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",
package/src/index.ts CHANGED
@@ -225,7 +225,7 @@ export default class XmovAvatar {
225
225
  if(config?.layout?.avatar?.scale){
226
226
  config.layout.avatar.scale = validateScaleWithDecimal(scale, "initializeSDK") as number | string;
227
227
  }
228
- const _config = { ...(config || {}), raw_audio: true };
228
+ const _config = { ...(config || {}), raw_audio: !isSupportMES() };
229
229
 
230
230
  if(container && container instanceof HTMLElement){
231
231
  this.el = container as HTMLElement;