Reply To: Auto reconnect to stream if stopped?

About XMTV Player Forums Development Auto reconnect to stream if stopped? Reply To: Auto reconnect to stream if stopped?

#1075

support
Keymaster

About ads account, you must login in AdIQuity and check is your Ad id is active. During app registration they ask for APK location, where app is published. After that we will be able to link your id with xmtv ad id, which must be passed as parameter, from addon.

for xmtvs, there is a option to develop API which can encrypt link and add session timeout value, if somebody tryng to shere it it will work 5 min for example, and also you will be able to pass some mp4 for example to be loaded if session expire like internal ad :)

Here is some sample how to encode/decode Base64 with Android
import android.util.Base64

// Encode text to Base64
byte[] data = text.getBytes("UTF-8");
String base64 = Base64.encodeToString(data, Base64.DEFAULT);
// Decode text to Base64
byte[] data = Base64.decode(base64, Base64.DEFAULT);
String text = new String(data, "UTF-8");

Cheers

IPTV | Smart TV | Mobile Theatre Software | Media Player for Android(tm)