Browse Source

feat(rn,TPC) use modern layer selection on RN

It now supports the sender encodings API.
tags/v0.0.2
Saúl Ibarra Corretgé 3 years ago
parent
commit
9bdacb4758
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      modules/RTC/TraceablePeerConnection.js

+ 0
- 5
modules/RTC/TraceablePeerConnection.js View File

2584
         throw new Error(`Invalid frameHeight: ${frameHeight}`);
2584
         throw new Error(`Invalid frameHeight: ${frameHeight}`);
2585
     }
2585
     }
2586
 
2586
 
2587
-    // XXX: This is not yet supported on mobile.
2588
-    if (browser.isReactNative()) {
2589
-        return Promise.resolve();
2590
-    }
2591
-
2592
     const sourceName = localVideoTrack.getSourceName();
2587
     const sourceName = localVideoTrack.getSourceName();
2593
 
2588
 
2594
     if (this._senderMaxHeights.get(sourceName) === frameHeight) {
2589
     if (this._senderMaxHeights.get(sourceName) === frameHeight) {

Loading…
Cancel
Save