EasyDarwin / EasyPusher-Android

免费组件:简单、高效、稳定、免费的一款标准RTSP/RTP协议直播推送库,支持将H.264/H.265/G.711/G.726/AAC等音视频数据推送到RTSP流媒体服务器(例如EasyDarwin)进行低延时直播或者视频通信,支持Windows、Linux、ARM、Android、iOS等平台,EasyPusher配套EasyDarwin流媒体服务器、EasyPlayer RTSP播放器适用于特殊行业的低延时应急指挥需求! Android迁移到了https://github.com/EasyDarwin/EasyPusher-Android , iOS迁移到了https://github.com/EasyDarwin/EasyPusher-iOS
http://www.easydarwin.org
646 stars 262 forks source link

请问授权码key怎么获取,现在运行推送一直连接中 #50

Open gaoleicoding opened 1 year ago

gaoleicoding commented 1 year ago

@Override public synchronized void initPush(Context context, final InitCallback callback) { Log.i(TAG, "PusherStart"); mPusherObj = init("", context, new OnInitPusherCallback() { int code = Integer.MAX_VALUE; @Override public void onCallback(int code) { if (code != this.code) { this.code = code; if (callback != null) callback.onCallback(code); } } }); }