|
@@ -943,14 +943,14 @@ Parsec.prototype.clientNewAttempt = function (a) {
|
|
|
"configured" != b.i.state &&
|
|
"configured" != b.i.state &&
|
|
|
b.i.configure({
|
|
b.i.configure({
|
|
|
codec: "avc1.42001e",
|
|
codec: "avc1.42001e",
|
|
|
- hardwareAcceleration: "prefer-software",
|
|
|
|
|
- optimizeForLatency: !0,
|
|
|
|
|
|
|
+ hardwareAcceleration: "prefer-hardware",
|
|
|
|
|
+ optimizeForLatency: true,
|
|
|
});
|
|
});
|
|
|
c = new EncodedVideoChunk({
|
|
c = new EncodedVideoChunk({
|
|
|
type: "key",
|
|
type: "key",
|
|
|
data: c.data,
|
|
data: c.data,
|
|
|
timestamp: 1e3 * performance.now(),
|
|
timestamp: 1e3 * performance.now(),
|
|
|
- duration: 0,
|
|
|
|
|
|
|
+ duration: 1000000,
|
|
|
});
|
|
});
|
|
|
b.i.decode(c);
|
|
b.i.decode(c);
|
|
|
});
|
|
});
|