@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.js
CHANGED
|
@@ -9554,7 +9554,7 @@ var WebrtcBase = class _WebrtcBase {
|
|
|
9554
9554
|
};
|
|
9555
9555
|
|
|
9556
9556
|
// src/webrtc_whip.ts
|
|
9557
|
-
var WebrtcWhip = class
|
|
9557
|
+
var WebrtcWhip = class extends WebrtcBase {
|
|
9558
9558
|
constructor(stream, getSession, client, requestLogger) {
|
|
9559
9559
|
super(getSession, client, v4_default().toString(), "/liveIngress/whip", requestLogger);
|
|
9560
9560
|
this._stream = stream;
|
|
@@ -9586,17 +9586,6 @@ var WebrtcWhip = class _WebrtcWhip extends WebrtcBase {
|
|
|
9586
9586
|
if (!this._pc) {
|
|
9587
9587
|
throw new Error("onLocalOffer no peer connection");
|
|
9588
9588
|
}
|
|
9589
|
-
answer = new RTCSessionDescription({
|
|
9590
|
-
type: "answer",
|
|
9591
|
-
sdp: _WebrtcWhip.editAnswer(
|
|
9592
|
-
answer.sdp,
|
|
9593
|
-
"h264/90000",
|
|
9594
|
-
void 0,
|
|
9595
|
-
5e3,
|
|
9596
|
-
void 0,
|
|
9597
|
-
true
|
|
9598
|
-
)
|
|
9599
|
-
});
|
|
9600
9589
|
await this._pc.setRemoteDescription(new RTCSessionDescription(answer));
|
|
9601
9590
|
if (this._queuedCandidates.length !== 0) {
|
|
9602
9591
|
await this.sendLocalCandidates(this._queuedCandidates);
|