Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1146 Discussions

How to change VideoCodec from VP8 to H264 in ScreenSharing function ?

利军_赵_
Beginner
508 Views

Hi, Dear Intel team:

How to change VideoCodec from VP8 to H264 in ScreenSharing function in JavaScript SDK?

0 Kudos
5 Replies
Jianjun_Z_Intel
Employee
508 Views

Hi,

ConferenceClient.shareScreen() is deprecated. Please create a LocalStream and publish it to MCU. When publishing a stream, you can choose your preferred video codec.

0 Kudos
leo_a_
Beginner
508 Views

Jianjun Z. (Intel) wrote:

Hi,

ConferenceClient.shareScreen() is deprecated. Please create a LocalStream and publish it to MCU. When publishing a stream, you can choose your preferred video codec.

 

Hi Jianjun, how about change videoCodec from vp8 to h264 in screen sharing of p2p mode in js sdk?

 

0 Kudos
YanbinZ_Intel
Employee
508 Views

Please use set video Codec when you create new Woogeen.PeerClient 

e.g

var p2p=new Woogeen.PeerClient({,

  videoCodec:'H264',

   audioCodec:'PCMU',

 

0 Kudos
利军_赵_
Beginner
508 Views

Can't work with this change in p2p mode, it still use VP8.

====

Please use set video Codec when you create new Woogeen.PeerClient 

e.g

var p2p=new Woogeen.PeerClient({,

  videoCodec:'H264',

   audioCodec:'PCMU',

0 Kudos
YanbinZ_Intel
Employee
508 Views

We can not reproduce this issue .  

Could you please provide detail reproduce steps and detail browser version ?  Could you double confirm your browser can support H264 .

0 Kudos
Reply