@eyepop.ai/eyepop 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eyepop.min.js +1 -1
- package/dist/index.js +1 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.mjs
CHANGED
|
@@ -9525,7 +9525,7 @@ var WebrtcBase = class _WebrtcBase {
|
|
|
9525
9525
|
};
|
|
9526
9526
|
|
|
9527
9527
|
// src/webrtc_whip.ts
|
|
9528
|
-
var WebrtcWhip = class
|
|
9528
|
+
var WebrtcWhip = class extends WebrtcBase {
|
|
9529
9529
|
constructor(stream, getSession, client, requestLogger) {
|
|
9530
9530
|
super(getSession, client, v4_default().toString(), "/liveIngress/whip", requestLogger);
|
|
9531
9531
|
this._stream = stream;
|
|
@@ -9557,17 +9557,6 @@ var WebrtcWhip = class _WebrtcWhip extends WebrtcBase {
|
|
|
9557
9557
|
if (!this._pc) {
|
|
9558
9558
|
throw new Error("onLocalOffer no peer connection");
|
|
9559
9559
|
}
|
|
9560
|
-
answer = new RTCSessionDescription({
|
|
9561
|
-
type: "answer",
|
|
9562
|
-
sdp: _WebrtcWhip.editAnswer(
|
|
9563
|
-
answer.sdp,
|
|
9564
|
-
"h264/90000",
|
|
9565
|
-
void 0,
|
|
9566
|
-
5e3,
|
|
9567
|
-
void 0,
|
|
9568
|
-
true
|
|
9569
|
-
)
|
|
9570
|
-
});
|
|
9571
9560
|
await this._pc.setRemoteDescription(new RTCSessionDescription(answer));
|
|
9572
9561
|
if (this._queuedCandidates.length !== 0) {
|
|
9573
9562
|
await this.sendLocalCandidates(this._queuedCandidates);
|