设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 3779|回复: 4
打印 上一主题 下一主题

Win端桌面共享问题

[复制链接]

2

主题

7

帖子

42

积分

新手上路

Rank: 1

积分
42
跳转到指定楼层
楼主
发表于 2017-9-5 10:59:54 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
请问1. 开启桌面共享之后(BRAC_SO_CORESDK_SCREENCAMERACTRL设置为1),获取视频采集设备数量时并没有  虚拟摄像头(Native Screen Camera)  是怎么回事?

2. 桌面共享的数据流是要通过  视频数据回调(多路流)函数  (如图1)来接收吗?在SDK提供的接口中并没有提供  设置视频数据多路流扩展回调函数  的方法,那么是在哪里接收这个数据流呢

1.png (28.75 KB, 下载次数: 2801)

图1

图1

2.png (46.61 KB, 下载次数: 2809)

图2

图2
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

2

主题

7

帖子

42

积分

新手上路

Rank: 1

积分
42
沙发
 楼主| 发表于 2017-9-5 11:00:53 | 只看该作者
附上日志

[2017-09-04 15:22:57(062)][I]        Local Status: connect:0, login:0, logout:1, release:0, linkclose:0(reason:0)
[2017-09-04 15:22:57(062)][I]        Local Status: natreg:0, nattimes:0, inroom:0, tickout:0, curtime:21037936
[2017-09-04 15:22:57(062)][I]        Local Status: checknattime:-1, natkeeptime:-1
[2017-09-04 15:22:57(063)][I]        Invoke        SetSDKOption(BRAC_SO_CLOUD_APPGUID, A9A750AD-14B4-4837-ADD1-BD5D95644910)
[2017-09-04 15:22:57(064)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2017-09-04 15:22:57(064)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-09-04 15:22:57(065)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_CAPTUREMODE,0)
[2017-09-04 15:22:57(179)][I]        Invoke        SetSDKOption(BRAC_SO_CORESDK_SCREENCAMERACTRL=1)
[2017-09-04 15:22:57(198)][I]        Start network engine(IPv4 mode)...
[2017-09-04 15:22:57(199)][I]        Invoke        Connect(cloud.anychat.cn,8906)=0
[2017-09-04 15:22:57(201)][I]        Invoke        Login(username:Any)=0
[2017-09-04 15:22:57(202)][I]        Invoke        EnterRoom(Monster)
[2017-09-04 15:22:57(209)][I]        Create anychatdnsserver connect:120.76.165.13(8912)
[2017-09-04 15:22:57(220)][I]        Create anychatdnsserver connect:121.41.5.231(8912)
[2017-09-04 15:22:57(241)][I]        Create anychatdnsserver connect:120.25.70.134(8912)
[2017-09-04 15:22:57(343)][I]        Success connect to anychatdnsserver(120.76.165.13:8912, tcp:0)
[2017-09-04 15:22:57(423)][I]        Receive connect parameter from anychatdnsserver!
[2017-09-04 15:22:57(423)][I]        Receive server list from anychatdnsserver(count:1):
[2017-09-04 15:22:57(423)][I]                anychatcoreserver, id:1793345385, ip:120.76.165.13(tcp:9220, udp:9220), OSinux, build Time:2017-05-24 18:42:51, version:6.4.0, serviceGuidB359562-C7EE-834F-A935-EF978DDA4259, machineGuid:1F3E8F63-2D71-B946-B7B2-CA4CD86C920F
[2017-09-04 15:22:57(425)][I]                Create anychatcoreserver connect:120.76.165.13(9220, tcp:1)
[2017-09-04 15:22:57(435)][I]                Create anychatcoreserver connect:120.76.165.13(9220, tcp:0)
[2017-09-04 15:22:57(445)][I]                Create anychatcoreserver connect:10.170.161.40(9220, tcp:1)
[2017-09-04 15:22:57(455)][I]                Create anychatcoreserver connect:10.170.161.40(9220, tcp:0)
[2017-09-04 15:22:58(004)][I]                Trial connect anychatcoreserver(id:1793345385) result: 120.76.165.13(9220,tcp:1), errorcode:0, avgtime:78ms
[2017-09-04 15:22:58(005)][I]        On trial connect finished, errorcode:0, result size:1, lbserver connect:0
[2017-09-04 15:22:58(005)][I]                anychatcoreserver, 120.76.165.13(9220, tcp:1), avg time:78
[2017-09-04 15:22:58(006)][I]        On best connection result, errorcode:0, ip:120.76.165.13, port:9220, tcp:1
[2017-09-04 15:22:58(006)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 120.76.165.13(9220, tcp:1)
[2017-09-04 15:22:58(114)][I]        Start anychat server(120.76.165.13:9220) connect...
[2017-09-04 15:22:58(255)][I]        On connect anychat server return, errorcode: 0, appflags:0x460020, svrflags:0x10
[2017-09-04 15:22:58(345)][I]        Server version: V6.4(Build Time:2017-05-24 18:43:22, Linux server)
[2017-09-04 15:22:58(585)][I]        m_ProtocolPipeLine, userid:0, local session:915349770, peer session:0
[2017-09-04 15:22:58(586)][I]        Send login request...
[2017-09-04 15:22:58(586)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2017-09-04 15:22:58(667)][I]        On tcp connect app reg result, errorcode:0
[2017-09-04 15:22:58(807)][I]        Message        OnLoginSystem(userid=-765,errorcode=0,username=Any), msg deliver worked(1)
[2017-09-04 15:22:58(826)][I]        Load BRMediaUtil.dll success!(V6.4 Build Time:Aug  9 2017 09:49:35)
[2017-09-04 15:22:58(828)][I]        Load BRMediaShow.dll success!(V6.4 Build Time:Aug  9 2017 09:53:37)
[2017-09-04 15:22:58(831)][I]        Load BRMediaCore.dll success!(V6.4 Build Time:Aug  9 2017 09:53:55)
[2017-09-04 15:22:58(855)][I]        Video capture device supported:
[2017-09-04 15:22:58(856)][I]                1-USB2.0 PC CAMERA
[2017-09-04 15:22:58(856)][I]        Audio capture device supported:
[2017-09-04 15:22:58(856)][I]                1-麦克风 (2- USB2.0 MIC)
[2017-09-04 15:22:58(857)][I]                2-virtual-audio-capturer
[2017-09-04 15:22:58(857)][I]                3-麦克风 (Realtek High Definition Au
[2017-09-04 15:22:58(857)][I]        Apply server config: mtu:1500
[2017-09-04 15:22:58(858)][I]        Server running time: 102 days, 14 hours, 48 minutes, license mode:1, certlo:0x80025bf, hi:0x0)
[2017-09-04 15:22:58(858)][I]        Server supports the session hold feature for up to 20000 ms
[2017-09-04 15:22:58(929)][I]        On udp connect app reg result, errorcode:0
[2017-09-04 15:22:58(929)][I]        Connection to streaming media server(120.76.165.13:9220) successfully!(udp delay:31ms)
[2017-09-04 15:22:59(029)][I]        Message        OnEnterRoom(roomid=9,errorcode=0,siteindex=0)
[2017-09-04 15:22:59(030)][I]        Message        OnReceiveOnlineUser(count=1,roomid=9)
[2017-09-04 15:22:59(053)][I]        WaveIn Audio Capture Driver(麦克风 (2- USB2.0 MIC))
[2017-09-04 15:22:59(054)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2017-09-04 15:22:59(054)][I]        Audio codec init, handle:1, 11, 1, 16000, 16, 23850
[2017-09-04 15:23:04(218)][I]        Invoke        UserCameraControl(userid=-1, bOpen=1) = 0
[2017-09-04 15:23:04(220)][I]        Invoke        UserSpeakControl(userid=-1, bOpen=1) = 0
[2017-09-04 15:23:04(234)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2017-09-04 15:23:04(340)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2017-09-04 15:23:04(341)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-04 15:23:04(341)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559, 30fps)
[2017-09-04 15:23:04(341)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-04 15:23:04(341)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559, 30fps)
[2017-09-04 15:23:04(342)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-04 15:23:04(342)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559, 30fps)
[2017-09-04 15:23:04(342)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-04 15:23:04(343)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559, 30fps)
[2017-09-04 15:23:04(343)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-04 15:23:04(343)][I]        Prepare config camera(1-USB2.0 PC CAMERA): 320x240, 25fps
[2017-09-04 15:23:04(345)][I]                The best video format is detected: YUY2
[2017-09-04 15:23:04(345)][I]                SetFormat(320x240, YUY2, 25fps) = 0
[2017-09-04 15:23:04(346)][I]                Video Config Size(320, 240)        Format(YUY2, 25fps)
[2017-09-04 15:23:04(376)][I]        video(stream:0) init finish:320x240, YUY2, fps:25, codecid:1
[2017-09-04 15:23:05(011)][I]        No Other User Subscript Video or not need predeal
[2017-09-04 15:23:05(137)][I]        No Other User Subscript Video or not need predeal
[2017-09-04 15:23:05(250)][I]        No Other User Subscript Video or not need predeal
[2017-09-04 15:23:05(377)][I]        No Other User Subscript Video or not need predeal
[2017-09-04 15:23:05(505)][I]        No Other User Subscript Video or not need predeal
[2017-09-04 15:23:10(322)][I]        Prepare logout......
[2017-09-04 15:23:10(989)][I]        userid(-1) statist info, video fps:9, video count:0, audio count:0
[2017-09-04 15:23:11(074)][I]        Close network engine...
[2017-09-04 15:23:11(075)][I]        server net link reset...
[2017-09-04 15:23:11(076)][I]        Invoke        Logout()        Elapse:748 ms
[2017-09-04 15:39:16(200)][I]        Local Status: connect:0, login:0, logout:1, release:0, linkclose:0(reason:0)
[2017-09-04 15:39:16(200)][I]        Local Status: natreg:0, nattimes:0, inroom:0, tickout:0, curtime:22017060
[2017-09-04 15:39:16(200)][I]        Local Status: checknattime:-1, natkeeptime:-1
[2017-09-04 15:39:16(201)][I]        Invoke        SetSDKOption(BRAC_SO_CLOUD_APPGUID, A9A750AD-14B4-4837-ADD1-BD5D95644910)
[2017-09-04 15:39:16(202)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2017-09-04 15:39:16(202)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-09-04 15:39:16(203)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_CAPTUREMODE,0)
[2017-09-04 15:39:16(314)][I]        Invoke        SetSDKOption(BRAC_SO_CORESDK_SCREENCAMERACTRL=1)
[2017-09-04 15:39:16(329)][I]        Start network engine(IPv4 mode)...
[2017-09-04 15:39:16(331)][I]        Invoke        Connect(cloud.anychat.cn,8906)=0
[2017-09-04 15:39:16(333)][I]        Invoke        Login(username:Any)=0
[2017-09-04 15:39:16(334)][I]        Invoke        EnterRoom(Monster)
[2017-09-04 15:39:16(401)][I]        Create anychatdnsserver connect:121.41.5.231(8912)
[2017-09-04 15:39:16(475)][I]        Create anychatdnsserver connect:120.76.165.13(8912)
[2017-09-04 15:39:16(623)][I]        Create anychatdnsserver connect:120.25.70.134(8912)
[2017-09-04 15:39:17(421)][I]        Success connect to anychatdnsserver(120.76.165.13:8912, tcp:0)
[2017-09-04 15:39:17(472)][I]        Receive connect parameter from anychatdnsserver!
[2017-09-04 15:39:17(482)][I]        Receive server list from anychatdnsserver(count:1):
[2017-09-04 15:39:17(482)][I]                anychatcoreserver, id:1793345385, ip:120.76.165.13(tcp:9220, udp:9220), OSinux, build Time:2017-05-24 18:42:51, version:6.4.0, serviceGuidB359562-C7EE-834F-A935-EF978DDA4259, machineGuid:1F3E8F63-2D71-B946-B7B2-CA4CD86C920F
[2017-09-04 15:39:17(485)][I]                Create anychatcoreserver connect:120.76.165.13(9220, tcp:1)
[2017-09-04 15:39:17(495)][I]                Create anychatcoreserver connect:120.76.165.13(9220, tcp:0)
[2017-09-04 15:39:17(505)][I]                Create anychatcoreserver connect:10.170.161.40(9220, tcp:1)
[2017-09-04 15:39:17(515)][I]                Create anychatcoreserver connect:10.170.161.40(9220, tcp:0)
[2017-09-04 15:39:18(046)][I]                Trial connect anychatcoreserver(id:1793345385) result: 120.76.165.13(9220,tcp:1), errorcode:0, avgtime:94ms
[2017-09-04 15:39:18(056)][I]        On trial connect finished, errorcode:0, result size:1, lbserver connect:0
[2017-09-04 15:39:18(056)][I]                anychatcoreserver, 120.76.165.13(9220, tcp:1), avg time:94
[2017-09-04 15:39:18(057)][I]        On best connection result, errorcode:0, ip:120.76.165.13, port:9220, tcp:1
[2017-09-04 15:39:18(057)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 120.76.165.13(9220, tcp:1)
[2017-09-04 15:39:18(156)][I]        Start anychat server(120.76.165.13:9220) connect...
[2017-09-04 15:39:18(286)][I]        On connect anychat server return, errorcode: 0, appflags:0x460020, svrflags:0x10
[2017-09-04 15:39:18(376)][I]        Server version: V6.4(Build Time:2017-05-24 18:43:22, Linux server)
[2017-09-04 15:39:18(616)][I]        m_ProtocolPipeLine, userid:0, local session:1178379952, peer session:0
[2017-09-04 15:39:18(617)][I]        Send login request...
[2017-09-04 15:39:18(617)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2017-09-04 15:39:18(698)][I]        On tcp connect app reg result, errorcode:0
[2017-09-04 15:39:18(830)][I]        Message        OnLoginSystem(userid=-766,errorcode=0,username=Any), msg deliver worked(1)
[2017-09-04 15:39:18(855)][I]        Load BRMediaUtil.dll success!(V6.4 Build Time:Aug  9 2017 09:49:35)
[2017-09-04 15:39:18(857)][I]        Load BRMediaShow.dll success!(V6.4 Build Time:Aug  9 2017 09:53:37)
[2017-09-04 15:39:18(859)][I]        Load BRMediaCore.dll success!(V6.4 Build Time:Aug  9 2017 09:53:55)
[2017-09-04 15:39:18(878)][I]        Video capture device supported:
[2017-09-04 15:39:18(878)][I]                1-USB2.0 PC CAMERA
[2017-09-04 15:39:18(879)][I]        Audio capture device supported:
[2017-09-04 15:39:18(879)][I]                1-麦克风 (2- USB2.0 MIC)
[2017-09-04 15:39:18(879)][I]                2-virtual-audio-capturer
[2017-09-04 15:39:18(880)][I]                3-麦克风 (Realtek High Definition Au
[2017-09-04 15:39:18(880)][I]        Apply server config: mtu:1500
[2017-09-04 15:39:18(880)][I]        Server running time: 102 days, 15 hours, 4 minutes, license mode:1, certlo:0x80025bf, hi:0x0)
[2017-09-04 15:39:18(880)][I]        Server supports the session hold feature for up to 20000 ms
[2017-09-04 15:39:18(951)][I]        On udp connect app reg result, errorcode:0
[2017-09-04 15:39:18(951)][I]        Connection to streaming media server(120.76.165.13:9220) successfully!(udp delay:39ms)
[2017-09-04 15:39:19(041)][I]        Message        OnEnterRoom(roomid=10,errorcode=0,siteindex=0)
[2017-09-04 15:39:19(043)][I]        Message        OnReceiveOnlineUser(count=1,roomid=10)
[2017-09-04 15:39:19(067)][I]        WaveIn Audio Capture Driver(麦克风 (2- USB2.0 MIC))
[2017-09-04 15:39:19(067)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2017-09-04 15:39:19(068)][I]        Audio codec init, handle:1, 11, 1, 16000, 16, 23850
[2017-09-04 15:39:33(069)][I]        Prepare logout......
[2017-09-04 15:39:33(080)][I]        userid(-1) statist info, video fps:0, video count:0, audio count:0
[2017-09-04 15:39:33(167)][I]        Close network engine...
[2017-09-04 15:39:33(168)][I]        server net link reset...
[2017-09-04 15:39:33(169)][I]        Invoke        Logout()        Elapse:93 ms
[2017-09-04 15:43:49(636)][I]        Local Status: connect:0, login:0, logout:1, release:0, linkclose:0(reason:0)
[2017-09-04 15:43:49(636)][I]        Local Status: natreg:0, nattimes:0, inroom:0, tickout:0, curtime:22290499
[2017-09-04 15:43:49(636)][I]        Local Status: checknattime:-1, natkeeptime:-1
[2017-09-04 15:43:49(637)][I]        Invoke        SetSDKOption(BRAC_SO_CLOUD_APPGUID, A9A750AD-14B4-4837-ADD1-BD5D95644910)
[2017-09-04 15:43:49(638)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2017-09-04 15:43:49(638)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2017-09-04 15:43:49(639)][I]        Invoke        SetSDKOption(BRAC_SO_AUDIO_CAPTUREMODE,4)
[2017-09-04 15:43:49(745)][I]        Invoke        SetSDKOption(BRAC_SO_CORESDK_SCREENCAMERACTRL=1)
[2017-09-04 15:43:49(754)][I]        Start network engine(IPv4 mode)...
[2017-09-04 15:43:49(755)][I]        Invoke        Connect(cloud.anychat.cn,8906)=0
[2017-09-04 15:43:49(756)][I]        Invoke        Login(username:Any)=0
[2017-09-04 15:43:49(756)][I]        Invoke        EnterRoom(Monster)
[2017-09-04 15:43:49(769)][I]        Create anychatdnsserver connect:120.76.165.13(8912)
[2017-09-04 15:43:49(790)][I]        Create anychatdnsserver connect:121.41.5.231(8912)
[2017-09-04 15:43:49(800)][I]        Create anychatdnsserver connect:120.25.70.134(8912)
[2017-09-04 15:43:49(921)][I]        Success connect to anychatdnsserver(120.76.165.13:8912, tcp:0)
[2017-09-04 15:43:50(001)][I]        Receive connect parameter from anychatdnsserver!
[2017-09-04 15:43:50(001)][I]        Receive server list from anychatdnsserver(count:1):
[2017-09-04 15:43:50(001)][I]                anychatcoreserver, id:1793345385, ip:120.76.165.13(tcp:9220, udp:9220), OSinux, build Time:2017-05-24 18:42:51, version:6.4.0, serviceGuidB359562-C7EE-834F-A935-EF978DDA4259, machineGuid:1F3E8F63-2D71-B946-B7B2-CA4CD86C920F
[2017-09-04 15:43:50(004)][I]                Create anychatcoreserver connect:120.76.165.13(9220, tcp:1)
[2017-09-04 15:43:50(014)][I]                Create anychatcoreserver connect:120.76.165.13(9220, tcp:0)
[2017-09-04 15:43:50(024)][I]                Create anychatcoreserver connect:10.170.161.40(9220, tcp:1)
[2017-09-04 15:43:50(034)][I]                Create anychatcoreserver connect:10.170.161.40(9220, tcp:0)
[2017-09-04 15:43:50(543)][I]                Trial connect anychatcoreserver(id:1793345385) result: 120.76.165.13(9220,tcp:1), errorcode:0, avgtime:78ms
[2017-09-04 15:43:50(544)][I]        On trial connect finished, errorcode:0, result size:1, lbserver connect:0
[2017-09-04 15:43:50(544)][I]                anychatcoreserver, 120.76.165.13(9220, tcp:1), avg time:78
[2017-09-04 15:43:50(544)][I]        On best connection result, errorcode:0, ip:120.76.165.13, port:9220, tcp:1
[2017-09-04 15:43:50(544)][I]        On pre-connection result, errorcode:0, anychatcoreserver, 120.76.165.13(9220, tcp:1)
[2017-09-04 15:43:50(643)][I]        Start anychat server(120.76.165.13:9220) connect...
[2017-09-04 15:43:50(773)][I]        On connect anychat server return, errorcode: 0, appflags:0x460020, svrflags:0x10
[2017-09-04 15:43:50(863)][I]        Server version: V6.4(Build Time:2017-05-24 18:43:22, Linux server)
[2017-09-04 15:43:51(103)][I]        m_ProtocolPipeLine, userid:0, local session:220326348, peer session:0
[2017-09-04 15:43:51(104)][I]        Send login request...
[2017-09-04 15:43:51(104)][I]        Message        OnConnect(bSuccess:1, errorcode=0)
[2017-09-04 15:43:51(195)][I]        On tcp connect app reg result, errorcode:0
[2017-09-04 15:43:51(335)][I]        Message        OnLoginSystem(userid=-767,errorcode=0,username=Any), msg deliver worked(1)
[2017-09-04 15:43:51(347)][I]        Load BRMediaUtil.dll success!(V6.4 Build Time:Aug  9 2017 09:49:35)
[2017-09-04 15:43:51(348)][I]        Load BRMediaShow.dll success!(V6.4 Build Time:Aug  9 2017 09:53:37)
[2017-09-04 15:43:51(349)][I]        Load BRMediaCore.dll success!(V6.4 Build Time:Aug  9 2017 09:53:55)
[2017-09-04 15:43:51(364)][I]        Video capture device supported:
[2017-09-04 15:43:51(364)][I]                1-USB2.0 PC CAMERA
[2017-09-04 15:43:51(365)][I]        Audio capture device supported:
[2017-09-04 15:43:51(365)][I]                1-麦克风 (2- USB2.0 MIC)
[2017-09-04 15:43:51(365)][I]                2-virtual-audio-capturer
[2017-09-04 15:43:51(365)][I]                3-麦克风 (Realtek High Definition Au
[2017-09-04 15:43:51(366)][I]        Apply server config: mtu:1500
[2017-09-04 15:43:51(366)][I]        Server running time: 102 days, 15 hours, 8 minutes, license mode:1, certlo:0x80025bf, hi:0x0)
[2017-09-04 15:43:51(366)][I]        Server supports the session hold feature for up to 20000 ms
[2017-09-04 15:43:51(456)][I]        On udp connect app reg result, errorcode:0
[2017-09-04 15:43:51(456)][I]        Connection to streaming media server(120.76.165.13:9220) successfully!(udp delay:47ms)
[2017-09-04 15:43:51(546)][I]        Message        OnEnterRoom(roomid=11,errorcode=0,siteindex=0)
[2017-09-04 15:43:51(547)][I]        Message        OnReceiveOnlineUser(count=1,roomid=11)
[2017-09-04 15:43:51(569)][I]        WaveIn Audio Capture Driver(麦克风 (2- USB2.0 MIC))
[2017-09-04 15:43:51(569)][I]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2017-09-04 15:43:51(569)][I]        Audio codec init, handle:1, 11, 1, 16000, 16, 23850
[2017-09-04 15:43:58(445)][I]        Invoke        UserCameraControl(userid=-1, bOpen=1) = 0
[2017-09-04 15:43:58(447)][I]        Invoke        UserSpeakControl(userid=-1, bOpen=1) = 0
[2017-09-04 15:43:58(459)][I]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2017-09-04 15:43:58(570)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 30fps)
[2017-09-04 15:43:58(571)][I]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-04 15:43:58(571)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x32595559, 30fps)
[2017-09-04 15:43:58(571)][I]        MinCroppingSize(352, 288)        MaxCroppingSize(352, 288)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-04 15:43:58(571)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x32595559, 30fps)
[2017-09-04 15:43:58(572)][I]        MinCroppingSize(320, 240)        MaxCroppingSize(320, 240)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-04 15:43:58(572)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x32595559, 30fps)
[2017-09-04 15:43:58(572)][I]        MinCroppingSize(176, 144)        MaxCroppingSize(176, 144)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-04 15:43:58(572)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x32595559, 30fps)
[2017-09-04 15:43:58(572)][I]        MinCroppingSize(160, 120)        MaxCroppingSize(160, 120)        Format(YUY2, 0x8d2681, 30fps)
[2017-09-04 15:43:58(573)][I]        Prepare config camera(1-USB2.0 PC CAMERA): 320x240, 25fps
[2017-09-04 15:43:58(574)][I]                The best video format is detected: YUY2
[2017-09-04 15:43:58(574)][I]                SetFormat(320x240, YUY2, 25fps) = 0
[2017-09-04 15:43:58(575)][I]                Video Config Size(320, 240)        Format(YUY2, 25fps)
[2017-09-04 15:43:58(627)][I]        video(stream:0) init finish:320x240, YUY2, fps:25, codecid:1
[2017-09-04 15:43:59(301)][I]        No Other User Subscript Video or not need predeal
[2017-09-04 15:43:59(429)][I]        No Other User Subscript Video or not need predeal
[2017-09-04 15:43:59(540)][I]        No Other User Subscript Video or not need predeal
[2017-09-04 15:43:59(669)][I]        No Other User Subscript Video or not need predeal
[2017-09-04 15:43:59(781)][I]        No Other User Subscript Video or not need predeal
[2017-09-04 15:44:08(107)][I]        Prepare logout......
[2017-09-04 15:44:08(758)][I]        userid(-1) statist info, video fps:8, video count:0, audio count:0
[2017-09-04 15:44:08(873)][I]        Close network engine...
[2017-09-04 15:44:08(874)][I]        server net link reset...
[2017-09-04 15:44:08(874)][I]        Invoke        Logout()        Elapse:765 ms
[2017-09-04 18:29:14(103)][I]        server net link reset...
[2017-09-04 18:29:14(103)][I]        Invoke        BRAC_Release        Elapse:202 ms
回复 支持 反对

使用道具 举报

板凳
发表于 2017-9-5 15:01:23 | 只看该作者
您好,您没有传递正确的参数,所以没有生效。您的“SetSDKOption(BRAC_SO_CORESDK_SCREENCAMERACTRL=1)”错误的
应该是BRAC_SetSDKOption(BRAC_SO_CORESDK_SCREENCAMERACTRL, 1);
具体可以参考下这个http://bbs.anychat.cn/forum.php?mod=viewthread&tid=550
回复 支持 反对

使用道具 举报

2

主题

7

帖子

42

积分

新手上路

Rank: 1

积分
42
地板
 楼主| 发表于 2017-9-5 15:10:00 | 只看该作者
佰锐科技-刘冬明 发表于 2017-9-5 15:01
您好,您没有传递正确的参数,所以没有生效。您的“SetSDKOption(BRAC_SO_CORESDK_SCREENCAMERACTRL=1)”错 ...

谢谢回复,我在实际项目中是这样使用的,只是在发帖的时候偷懒了= =
我调用SetSDKOption设置参数返回的是成功,但还是没有虚拟摄像头
我就是看着那个帖子来做的,但是帖子有成功获取到虚拟摄像头,我没有
回复 支持 反对

使用道具 举报

5#
发表于 2017-9-5 15:37:42 | 只看该作者
您用我们的demo可以吗?如果可以,可以参考下与您写的项目进行对比。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )  

GMT+8, 2024-12-23 18:18 , Processed in 0.154314 second(s), 25 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表