Hi folks. trying to get WebRTCAppEE index.html to provide a 720p encode vs 360p, plus also hard code 1500kbps vs 900kbps. I can see in the webrtc-adaptor.js where the 900kpbs shows up, but how do i change the capture of the stream to be 720p by default and at 1.5Mbps?
for the playback of the stream, it is using play.html, so can i assume the play.html will decode the encode if the encode is 720p@ 1.5Mbps ?
Please assist when possible and thank you folks.
AM
export class WebRTCAdaptor
{
constructor(initialValues){
this.peerconnection_config = null;
this.sdp_constraints = null;
this.remotePeerConnection = new Array();
this.remotePeerConnectionStats = new Array();
this.remoteDescriptionSet = new Array();
this.iceCandidateList = new Array();
this.roomName = null;
this.videoTrackSender = null;
this.audioTrackSender = null;
this.playStreamId = new Array();
this.currentVolume = null;
this.originalAudioTrackGainNode = null;
this.videoTrack = null;
this.audioTrack = null;
this.smallVideoTrack = null;
this.audioContext = null;
this.soundOriginGainNode = null;
this.secondStreamGainNode = null;
this.localStream = null;
this.bandwidth = 900; //default bandwidth kbps
this.isMultiPeer = false; //used for multiple peer client
this.multiPeerStreamId = null; //used for multiple peer client
Question
Ant Man
Hi folks. trying to get WebRTCAppEE index.html to provide a 720p encode vs 360p, plus also hard code 1500kbps vs 900kbps. I can see in the webrtc-adaptor.js where the 900kpbs shows up, but how do i change the capture of the stream to be 720p by default and at 1.5Mbps?
Link to comment
Share on other sites
Top Posters For This Question
5
3
1
1
Popular Days
Sep 6
4
Aug 25
3
Sep 8
1
Aug 28
1
Top Posters For This Question
Ant Man 5 posts
Burak 3 posts
Selim Emre 1 post
Cem K1l1 1 post
Popular Days
Sep 6 2021
4 posts
Aug 25 2021
3 posts
Sep 8 2021
1 post
Aug 28 2021
1 post
9 answers to this question
Recommended Posts