From 2f35000e84e559dd4b0572a1745aba050da5dfd5 Mon Sep 17 00:00:00 2001 From: xufulong <839789740@qq.com> Date: Thu, 19 Dec 2019 01:39:13 +0800 Subject: [PATCH] update pusher module update pusher module --- Live/src/main/java/com/frank/live/LiveUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Live/src/main/java/com/frank/live/LiveUtil.java b/Live/src/main/java/com/frank/live/LiveUtil.java index f532fe0..77bb74b 100644 --- a/Live/src/main/java/com/frank/live/LiveUtil.java +++ b/Live/src/main/java/com/frank/live/LiveUtil.java @@ -16,8 +16,8 @@ public class LiveUtil { private native int native_start(String url); private native void setVideoParam(int width, int height, int bitRate, int frameRate); private native void setAudioParam(int sampleRate, int numChannels); - private native void pushVideo(byte data[]); - private native void pushAudio(byte data[], int length); + private native void pushVideo(byte[] data); + private native void pushAudio(byte[] data, int length); private native void native_stop(); private native void native_release();