mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser: hide semver imports. Fix RTCIceCandidate with null "address"
parent
358fb1af3a
commit
e09d0f171e
|
@ -44,7 +44,13 @@ import { OpenViduError, OpenViduErrorName } from '../OpenViduInternal/Enums/Open
|
||||||
import { VideoInsertMode } from '../OpenViduInternal/Enums/VideoInsertMode';
|
import { VideoInsertMode } from '../OpenViduInternal/Enums/VideoInsertMode';
|
||||||
import { OpenViduLogger } from '../OpenViduInternal/Logger/OpenViduLogger';
|
import { OpenViduLogger } from '../OpenViduInternal/Logger/OpenViduLogger';
|
||||||
import { PlatformUtils } from '../OpenViduInternal/Utils/Platform';
|
import { PlatformUtils } from '../OpenViduInternal/Utils/Platform';
|
||||||
|
/**
|
||||||
|
* @hidden
|
||||||
|
*/
|
||||||
import semverMajor = require('semver/functions/major');
|
import semverMajor = require('semver/functions/major');
|
||||||
|
/**
|
||||||
|
* @hidden
|
||||||
|
*/
|
||||||
import semverMinor = require('semver/functions/minor');
|
import semverMinor = require('semver/functions/minor');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1035,6 +1041,7 @@ export class Session extends EventDispatcher {
|
||||||
*/
|
*/
|
||||||
recvIceCandidate(event: { senderConnectionId: string, endpointName: string, sdpMLineIndex: number, sdpMid: string, candidate: string }): void {
|
recvIceCandidate(event: { senderConnectionId: string, endpointName: string, sdpMLineIndex: number, sdpMid: string, candidate: string }): void {
|
||||||
const candidate: RTCIceCandidate = {
|
const candidate: RTCIceCandidate = {
|
||||||
|
address: null,
|
||||||
candidate: event.candidate,
|
candidate: event.candidate,
|
||||||
sdpMid: event.sdpMid,
|
sdpMid: event.sdpMid,
|
||||||
sdpMLineIndex: event.sdpMLineIndex,
|
sdpMLineIndex: event.sdpMLineIndex,
|
||||||
|
|
Loading…
Reference in New Issue