webrtc3.4.1 Windows 桌面共享

webrtc3.4.1 Windows 桌面共享

您好:

请问webrtc3.4.1 Windows 桌面共享时能否指定仅共享某个屏幕。
即 lcspscreen_.reset(new LocalDesktopStreamParameters(true, true, LocalDesktopStreamParameters::DesktopSourceType::kFullScreen));
增加一个参数,设定共享其中一个屏幕(目前是共享全部屏幕,比较消耗带宽);

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

 

你好, 请使用 kApplication 替换kFullScreen 就可以 share native 窗口

     lcspscreen.reset(new LocalDesktopStreamParameters(true, true, LocalDesktopStreamParameters::DesktopSourceType::kApplication));

      

Leave a Comment

Please sign in to add a comment. Not a member? Join today