starrtc-android-demo icon indicating copy to clipboard operation
starrtc-android-demo copied to clipboard

请教android创建chananel失败错误入下:

Open jinniu123 opened this issue 5 years ago • 3 comments

外网服务端有防火墙,端口都已开启 Telnet nc都测试过 请问一下还有什么原因可能导致下边不能创建直播 错误日志: V/starrtc_SXP: (149):=============starSXPLoop=========== W/IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection W/IInputConnectionWrapper: getExtractedText on inactive InputConnection D/starrtc_starSDK: (1132):|TextureView onSurfaceTextureDestroyed V/starrtc_SXP: (441):errno=11,Try again D/starrtc_starSDK: (1132):StarRtcCore|socketCallback SOCK_CONN_IS_ONLINE data:20272 D/starSDK_demo_XHLiveManager: dispatchEvent AEVENT_USER_ONLINE V/starrtc_SXP: (441):errno=11,Try again E/starrtc_SXP: (460):TOP_UDP_CONN failed! len=-1 E/starrtc_liveVideoSrc: (2285):createSocketAndConnectTo failed (970):createChannelToLiveSrcServer_failed! V/starrtc_SXP: (224):=============!!!starSXPLoop Exit!!!=========== V/starrtc_SXP: (135):deleteStarSXP success! E/starrtc_starSDK: (1110):StarSocket|@@@@@====starLiveCreateChannelFailed==== STAR_LIVE_CLIENT_ERRID_IO_ERR D/starrtc_starSDK: (1132):StarRtcCore|socketCallback STARLIVE_EVENT_LIVE_SRC_CHANNEL_CREATE_FAILE data:STAR_LIVE_CLIENT_ERRID_IO_ERR

jinniu123 avatar Jun 19 '20 03:06 jinniu123

看看服务器有没有刷日志

| | 雷军辉 | | [email protected] |

签名由 网易邮箱大师 定制

在2020年06月19日 11:35,jinniu123 写道:

外网服务端有防火墙,端口都已开启 Telnet nc都测试过 请问一下还有什么原因可能导致下边不能创建直播 错误日志: V/starrtc_SXP: (149):=============starSXPLoop=========== W/IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection W/IInputConnectionWrapper: getExtractedText on inactive InputConnection D/starrtc_starSDK: (1132):|TextureView onSurfaceTextureDestroyed V/starrtc_SXP: (441):errno=11,Try again D/starrtc_starSDK: (1132):StarRtcCore|socketCallback SOCK_CONN_IS_ONLINE data:20272 D/starSDK_demo_XHLiveManager: dispatchEvent AEVENT_USER_ONLINE V/starrtc_SXP: (441):errno=11,Try again E/starrtc_SXP: (460):TOP_UDP_CONN failed! len=-1 E/starrtc_liveVideoSrc: (2285):createSocketAndConnectTo failed (970):createChannelToLiveSrcServer_failed! V/starrtc_SXP: (224):=============!!!starSXPLoop Exit!!!=========== V/starrtc_SXP: (135):deleteStarSXP success! E/starrtc_starSDK: (1110):StarSocket|@@@@@====starLiveCreateChannelFailed==== STAR_LIVE_CLIENT_ERRID_IO_ERR D/starrtc_starSDK: (1132):StarRtcCore|socketCallback STARLIVE_EVENT_LIVE_SRC_CHANNEL_CREATE_FAILE data:STAR_LIVE_CLIENT_ERRID_IO_ERR

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

elesos avatar Jun 19 '20 03:06 elesos

有刷的: [StarRTC 2020-06-19 11:39:32] createRoomId: a4abQah2oXLKqP9T,roomType=1 [StarRTC 2020-06-19 11:39:32] Create room success: a4abQah2oXLKqP9T [StarRTC 2020-06-19 11:39:32] loginASynDMSReadDataHandle acode: 3 [StarRTC 2020-06-19 11:39:32] loginASynDMSReadDataHandle sucess! [StarRTC 2020-06-19 11:39:32] getRoomTypeByRoomId: a4abQah2oXLKqP9T,roomType=1 [StarRTC 2020-06-19 11:39:32] AEC_CHATROOM_CREATE: userId=02e8638e969b48c5a40440edb6ba2891,roomId=a4abQah2oXLKqP9T [StarRTC 2020-06-19 11:39:32] addRoomId: sql=replace into roomList(roomId,listType,creator,conCurrentNumber,userDefineData) values("a4abQah2oXLKqP9T",-1,"02e8638e969b48c5a40440edb6ba2891",100,"Sshhsh"); [StarRTC 2020-06-19 11:39:32] addRoomId success,roomId=a4abQah2oXLKqP9T,creator=02e8638e969b48c5a40440edb6ba2891,conCurrentNumber=100,userDefineData=Sshhsh [StarRTC 2020-06-19 11:39:32] CHATROOM_MANAGER_ACTION_ADD_ROOMID ok [StarRTC 2020-06-19 11:39:32] sendErrMsg: CHATROOM_ERRID_DUPLICATE_LOGIN [StarRTC 2020-06-19 11:39:32] send ok to user: 16 863240746 [StarRTC 2020-06-19 11:39:32] ==asockSrvDisconnectFun== 16 [StarRTC 2020-06-19 11:39:37] CHATROOMMOONSERVER_QUERY_ALL_CHATROOM_LIST: listTypesChars=1,2 [StarRTC 2020-06-19 11:39:37] AEC_CHATROOM_QUERY_ALL_CHATROOM_LIST: listTypes=1,2,userId=(null) [StarRTC 2020-06-19 11:39:37] CHATROOM_MANAGER_ACTION_GET_ALL_ROOMID [StarRTC 2020-06-19 11:39:37] getAllRoomId: sqlStr = select * from roomList where listType in(1,2); [StarRTC 2020-06-19 11:39:37] get roomIdList success,roomIdList=(null),creatorList=(null),userDefineDataList=(null) [StarRTC 2020-06-19 11:39:37] CHATROOM_MANAGER_ACTION_GET_ALL_ROOMID,roomIdList=(null) [StarRTC 2020-06-19 11:39:37] CHATROOMMOONSERVER_QUERY_ALL_CHATROOM_LIST_FIN: dataLen=0,packLen=19,data=(null) [StarRTC 2020-06-19 11:39:37] ==asockSrvDisconnectFun== 7 [StarRTC 2020-06-19 11:39:47] httpDisconnectFun 8

jinniu123 avatar Jun 19 '20 03:06 jinniu123

我的udp端口测试: localhost log # nc -vuz 220.165.247.37 19931 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connected to 220.165.247.37:19931. Ncat: UDP packet sent successfully Ncat: 1 bytes sent, 0 bytes received in 2.02 seconds.

可以加qq吗?232484615,好交流

jinniu123 avatar Jun 19 '20 03:06 jinniu123