Wowza android player

I try get metadata from Low Latency Stream. Try add DataEventListener to WZPlayerView. But I get:

NullPointerException: Attempt to invoke virtual method ‘boolean java.util.HashMap.containsKey(java.lang.Object)’ on a null object reference
at com.wowza.gocoder.sdk.api.player.WZPlayerView.registerDataEventListener(WZPlayerView.java:1338)

I need to get data that showing on LOG:

06-05 08:39:46.430 27368-27435 D/WMSTransport: Function call request received: onTextData() wth the following parameters:

06-05 08:39:46.431 27368-27435 D/WMSTransport: [00]: “onTextData”,
[01]: {“Key1”: “Val1”,
“Key2”: “Val2”,
“Key3”: “Val3”,
“Key4”: “Val4”,
“Key5”: “Val5”,
“Key6”: 10,
“Key7”: 65536}
Invoking registered function handler onCall() for function onTextData()

Can you help me, or get some simple for getting this data.

i have same problem.any answer???

This error is fixed on last version sdk.

hi Andrii.i have one question.can you help me??

i will get data from server when playing stream.

my code is :

WOWZBroadcast wowzBroadcast = new WOWZBroadcast();

wowzBroadcast.registerDataEventListener("onData", new WOWZDataEvent.EventListener() {

@Override
public WOWZDataMap onWZDataEvent(String s, WOWZDataMap wowzDataMap) {
Log.i("LOGGGGGGGG", s);
return null; 
 }});
but i havenot any response from server.

Try use this request for check callbacs

registerDataEventListener(“onWowzaLatencyBeacon”, new WOWZDataEvent.EventListener() {
@Override
public WOWZDataMap onWZDataEvent(String s, WOWZDataMap wowzDataMap) {
return wowzDataMap;
}
});

Try use callback “onTextData”

Hello Andrii,

We have also upgraded to the latest version but the problem is still here. While we send data through video to clients, iOS clients are receiving but Androids are not.

We have implemented the code like how Mojtaba did.

If you got a chance to resolve this issue, would you please update me on this case?

Thank you very much.

First of all try check this callback.

registerDataEventListener(“onWowzaLatencyBeacon”, new WOWZDataEvent.EventListener() {
@Override
public WOWZDataMap onWZDataEvent(String s, WOWZDataMap wowzDataMap) {
return wowzDataMap;
}
});

after that try use callback “onTextData” for data that you send from server. It possibly that in last public build this error was not fixed. Try use ask Wowza for sending dev build. In dev build it fixed.

First of all try check this callback.

registerDataEventListener(“onWowzaLatencyBeacon”, new WOWZDataEvent.EventListener() {
@Override
public WOWZDataMap onWZDataEvent(String s, WOWZDataMap wowzDataMap) {
return wowzDataMap;
}
});

after that try use callback “onTextData” for data that you send from server. It possibly that in last public build this error was not fixed. Try use ask Wowza for sending dev build. In dev build it fixed.

we somehow found out where the problem is and I have reported that in their github which is available through here: https://github.com/WowzaMediaSystems/gocoder-sdk-samples-android/issues/19

How can I get the dev build from wowza?

What do you mean by try using “onTextData” ? the event that implemented on server is “onData”.