chunhua1 发表于 2017-7-10 18:18:42

anyChat 最新版集成进去 无音频

最新版集成进去之后发现,本机的音频没有声音?目前没有其他功能使用音视频功能。看本机的日志看不出来问题。


@版主,请问这个问题怎么排查,有什么经验没有?

佰锐-成工 发表于 2017-7-11 15:02:02

你好,加QQ372317697,麻烦把日志发一下

chunhua1 发表于 2017-7-11 18:15:13

        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
        Load libanychatcore.so success!(V6.4 Build Time:Jun 29 2017 17:43:31)
        Load libmediautil.so success!(V6.4 Build Time:Jun 29 2017 17:43:51)
        Load libmediashow.so success!(V6.4 Build Time:Jun 29 2017 17:43:42)
        Load libmediacore.so success!(V6.4 Build Time:Jun 29 2017 17:43:39)
        server net link reset...
        Start network engine(IPv4 mode)...
        Invoke        Connect(10.10.81.44,8906)=0
        Create anychatdnsserver connect:10.10.81.44(8906)
        On pre-connection result, errorcode:0, anychatcoreserver, 10.10.81.44(8906, tcp:1)
        Start anychat server(10.10.81.44:8906) connect...
        On connect anychat server return, errorcode: 0, appflags:0x0, svrflags:0x0
        Server version: V6.1(Build Time:2016-06-03 15:08:22, Windows server)
        m_ProtocolPipeLine, userid:0, local session:-1257510469, peer session:0
        Message        OnConnect(bSuccess:1, errorcode=0)
        Invoke        Login(username:f4c8881c15f9e423)=0
        Message        OnLoginSystem(userid=10145,errorcode=0,username=f4c8881c15f9e423), msg deliver worked(0)
        Load libmediautil.so success!(V6.4 Build Time:Jun 29 2017 17:43:51)
        Load libmediashow.so success!(V6.4 Build Time:Jun 29 2017 17:43:42)
        Load libmediacore.so success!(V6.4 Build Time:Jun 29 2017 17:43:39)
        Server running time: 11 days, 8 hours, 55 minutes, license mode:0, cert:(lo:0xffffffff, hi:0x0)
        Invoke        SetSDKOption(BRAC_SO_NETWORK_P2PPOLITIC=1)
        Apply video parameter:480x360, bitrate:180kbps, quality:3, gop:15, fps:12, preset:2, codec:1
        Connection to streaming media server(10.10.81.44:8907) successfully!(udp delay:17ms)
        Invoke        EnterRoom(roomid=958)
        Message        OnEnterRoom(roomid=958,errorcode=0,siteindex=0)
        Prepare init ios audio unit module......
        Init iOS audio finish(1, 16000, 16), capture size:640
        Audio Playback Device Init(0, 1, 16000, 16), ios Playback Driver
        Message        OnReceiveOnlineUser(count=1,roomid=958)
        Invoke        SelectVideoCapture(2-Front Facing Camera)
        Invoke        UserSpeakControl(userid=-1,bOpen=1)
        Invoke        SetVideoPos(dwUserId:-1, hWnd:0x70e7e70, l:0, t:0, r:0, b:0, dwStreamIndex:0)
        Prepare init ios audio unit module......
        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
        Default Audio Capture Driver()
        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
        Audio codec init, handle:-1, 11, 1, 16000, 16, 15850
        video init finish: 480x360, 25fps, fmt:106, ret:0
        video(stream:0) codec init:codec:1, 15fps, 480x360, bitrate:180kbps, quality:3, preset:3, gop:15, handle:1
        video(stream:0) init finish:480x360, NV12, fps:25, codecid:1
        Invoke        SnapShot(-1, 0xc04, 0)=0
        video codec init:codec:1, 12fps, 480x360, bitrate:800kbps, quality:3, preset:2, gop:15, handle:2
        Invoke        UserSpeakControl(userid=-1,bOpen=0)
        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
        Invoke        SetSDKOption(BRAC_SO_RECORD_CLIPMODE, 2)
        Invoke        SelectVideoCapture(2-Front Facing Camera)
        Invoke        UserSpeakControl(userid=-1,bOpen=1)
        Invoke        SetVideoPos(dwUserId:-1, hWnd:0x15721af0, l:0, t:0, r:0, b:0, dwStreamIndex:0)
        Invoke        UserCameraControl(userid=-1, bOpen=1, stream=0)
        video init finish: 480x360, 25fps, fmt:106, ret:0
        video(stream:0) codec init:codec:1, 15fps, 480x360, bitrate:180kbps, quality:3, preset:3, gop:15, handle:4
        video(stream:0) init finish:480x360, NV12, fps:25, codecid:1
        Invoke        StreamRecordCtrlEx(-1, 1, 0x807, 0, StarLocolSelfRecord)=0
        Record parameter video:0x0, 0kbps, audio:0kbps
        Invoke        StreamRecordCtrlEx(-1, 1, 0x803, 0, StarLocolSelfRecord)=0
        video codec init:codec:1, 12fps, 480x360, bitrate:800kbps, quality:3, preset:2, gop:15, handle:5
        User(10145) record video stream parameter: codec:1, 360x480, 12fps
        Prepare create record file:/var/mobile/Containers/Data/Application/4EC2E3F0-BCE5-4A0C-9F9B-52B5EBE6E823/Documents/2017-07-11/10-14-54-717_10145_40.mp4, dwFlags:0xc
        User(10145) record init successed! filepath:/var/mobile/Containers/Data/Application/4EC2E3F0-BCE5-4A0C-9F9B-52B5EBE6E823/Documents/2017-07-11/10-14-54-717_10145_40.mp4, base stream index:0
        Invoke        StreamRecordCtrlEx(-1, 0, 0x807, 0, StopLocolRecord)=0
        Invoke        UserSpeakControl(userid=-1,bOpen=0)
        Invoke        UserCameraControl(userid=-1, bOpen=0, stream=0)
        Record audio parameters: none(0), 2 channel, 44.1kHz, 128kbps
        Record video parameters: h264(28), 360x480, 12fps, 0kbps
        Record status, input video count:128(10558 ms), record video count:129(10750 ms), 12 fps, audio frame count:0(0 ms), audio_eof:1, video_eof:1
        Record filename: /var/mobile/Containers/Data/Application/4EC2E3F0-BCE5-4A0C-9F9B-52B5EBE6E823/Documents/2017-07-11/10-14-54-717_10145_40.mp4
        Invoke        StreamRecordCtrlEx(-1, 0, 0x803, 0, StopLocolRecord)=0

佰锐-成工 发表于 2017-7-12 10:19:51

Server version: V6.1(Build Time:2016-06-03 15:08:22, Windows server),你服务器版本是6.1的,建议升级为最新的6.4版本
页: [1]
查看完整版本: anyChat 最新版集成进去 无音频