|
@@ -1728,6 +1728,14 @@ JitsiConference.prototype.onCallAccepted = function(session, answer) {
|
1728
|
1728
|
if (this.p2pJingleSession === session) {
|
1729
|
1729
|
logger.info('P2P setAnswer');
|
1730
|
1730
|
|
|
1731
|
+ // Apply pending video constraints.
|
|
1732
|
+ if (this.pendingVideoConstraintsOnP2P) {
|
|
1733
|
+ this.p2pJingleSession.setSenderVideoConstraint(this.maxFrameHeight)
|
|
1734
|
+ .catch(err => {
|
|
1735
|
+ logger.error(`Sender video constraints failed on p2p session - ${err}`);
|
|
1736
|
+ });
|
|
1737
|
+ }
|
|
1738
|
+
|
1731
|
1739
|
// Setup E2EE.
|
1732
|
1740
|
const localTracks = this.getLocalTracks();
|
1733
|
1741
|
|