steep-balloon-41261
08/22/2023, 6:22 AMfancy-wire-61616
08/22/2023, 6:55 AMcold-belgium-91163
08/22/2023, 7:51 AMfancy-wire-61616
08/22/2023, 7:53 AMcold-belgium-91163
08/22/2023, 8:02 AMprivate async publish(track: LocalTrack, opts: TrackPublishOptions, isStereo: boolean) {
before creating rtp sender in the encodings.
// store RTPSender
encodings[0].maxBitrate=VideoPresets.h720.encoding.maxBitrate
encodings[0].active=true
<http://log.info|log.info>("//SHAHDEBUG encoding before creating sender",encodings)
track.sender = await this.engine.createSender(track, opts, encodings);
log.debug("//shahdebug: creating rtp sender")
it is then capping it to 1700kbps .. is it a right pl;ace to handle it..??fancy-wire-61616
08/22/2023, 8:07 AMTrackPublishOptions rather than modifying SDK code - https://docs.livekit.io/client-sdk-js/interfaces/TrackPublishOptions.html#videoSimulcastLayerscold-belgium-91163
08/22/2023, 8:10 AMh720: new VideoPreset(1280, 720, 1_700_000, 5),
For this where should I change ?fancy-wire-61616
08/22/2023, 8:12 AMTrackPublishOptions documentation and choose settings. You can use preset already available in SDK or make up your own.cold-belgium-91163
08/22/2023, 10:09 AMfancy-wire-61616
08/22/2023, 10:10 AMcold-belgium-91163
08/22/2023, 10:12 AM