With Android 0357-v1.0.2. Trying to overlay text will throw an exception. Is there a work around?
if (<em>sGoCoderSDK </em>!= null) {
<em>// Get the GoCoder SDK text manager
</em>WZTextManager wzTextManager = WZTextManager.<em>getInstance</em>();
<em>// Load a True Type font file from the app's assets folder
</em>UUID fontId = wzTextManager.loadFont("njnaruto.ttf", 100, 15, 0);
<em>// Display the text centered on the screen
</em>WZText textObject = wzTextManager.createTextObject(fontId, "Become a Wowza Ninja", 0.84f, 0.47f, 0f);
textObject.setPosition( WZText.<em>CENTER</em>, WZText.<em>CENTER </em>);
textObject.setAlignment( WZText.<em>CENTER </em>);
}
01-13 10:23:47.332 24933-24933/? E/Zygote: v201-13 10:23:47.335 24933-24933/? E/Zygote: accessInfo : 0
01-13 10:23:56.262 24933-24933/com.wowza.gocoder.sdk.sampleapp E/BoostFramework: BoostFramework() : Exception_1 = java.lang.ClassNotFoundException: Didn't find class "com.qualcomm.qti.Performance" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib, /vendor/lib]]
01-13 10:24:07.226 24933-26083/com.wowza.gocoder.sdk.sampleapp E/WMSTransport: Function call FAILURE result received with the following properties:
01-13 10:24:09.079 24933-25852/com.wowza.gocoder.sdk.sampleapp E/GlUtil: draw start: glError 0x501
01-13 10:24:09.087 24933-25852/com.wowza.gocoder.sdk.sampleapp E/AndroidRuntime: FATAL EXCEPTION: a
Process: com.wowza.gocoder.sdk.sampleapp, PID: 24933
java.lang.RuntimeException: draw start: glError 0x501
at com.wowza.gocoder.sdk.api.gles.GlUtil.checkGlError(GoCoderSDK:111)
at com.wowza.gocoder.sdk.api.gles.Texture2dProgram.draw(GoCoderSDK:290)
at com.wowza.gocoder.sdk.api.gles.FullFrameRect.drawFrame(GoCoderSDK:83)
at com.wowza.gocoder.sdk.support.f.a.onWZVideoFrameRendererDraw(GoCoderSDK:659)
at com.wowza.gocoder.sdk.support.b.c$1.run(GoCoderSDK:178)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at com.wowza.gocoder.sdk.support.c.a.run(GoCoderSDK:279)
at java.lang.Thread.run(Thread.java:762)