mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fix typo
This commit is contained in:
parent
49602436d8
commit
8b36cd0c2a
@ -339,7 +339,7 @@ export function useRingContext() {
|
|||||||
else {
|
else {
|
||||||
if (description.type === 'offer' && pc.current.signalingState !== 'stable') {
|
if (description.type === 'offer' && pc.current.signalingState !== 'stable') {
|
||||||
const rollback = new RTCSessionDescription({ type: "rollback" });
|
const rollback = new RTCSessionDescription({ type: "rollback" });
|
||||||
await pc.current.setLocalDescription(reollback);
|
await pc.current.setLocalDescription(rollback);
|
||||||
}
|
}
|
||||||
const offer = new RTCSessionDescription(description);
|
const offer = new RTCSessionDescription(description);
|
||||||
await pc.current.setRemoteDescription(offer);
|
await pc.current.setRemoteDescription(offer);
|
||||||
|
Loading…
Reference in New Issue
Block a user