|
@@ -7,6 +7,7 @@ import android.text.TextUtils;
|
|
|
import android.webkit.ValueCallback;
|
|
|
import android.webkit.WebView;
|
|
|
|
|
|
+import com.cooleshow.base.BuildConfig;
|
|
|
import com.cooleshow.base.recorder.AudioChunk;
|
|
|
import com.cooleshow.base.recorder.AudioRecordConfig;
|
|
|
import com.cooleshow.base.recorder.MsRecorder;
|
|
@@ -457,6 +458,9 @@ public class AccompanyPlayHelper implements OnCompletionListener {
|
|
|
headerObject.put("status", 200);
|
|
|
jsonObject.put("header", headerObject);
|
|
|
jsonObject.put("body", bodyObject);
|
|
|
+ if (BuildConfig.DEBUG) {
|
|
|
+ ToastUtil.getInstance().showShort(jsonObject.toString());
|
|
|
+ }
|
|
|
sendWebSocketMessage(jsonObject.toString());
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|