You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
Expose webrtc related types/props
This commit is contained in:
@@ -48,12 +48,14 @@ export * from "./crypto/store/indexeddb-crypto-store";
|
||||
export * from "./content-repo";
|
||||
export * as ContentHelpers from "./content-helpers";
|
||||
export { createNewMatrixCall } from "./webrtc/call";
|
||||
export type { MatrixCall } from "./webrtc/call";
|
||||
export {
|
||||
GroupCallEvent,
|
||||
GroupCallIntent,
|
||||
GroupCallState,
|
||||
GroupCallType,
|
||||
} from "./webrtc/groupCall";
|
||||
export type { GroupCall } from "./webrtc/groupCall";
|
||||
|
||||
// expose the underlying request object so different environments can use
|
||||
// different request libs (e.g. request or browser-request)
|
||||
|
||||
@@ -265,6 +265,7 @@ export class MatrixCall extends EventEmitter {
|
||||
public hangupReason: string;
|
||||
public direction: CallDirection;
|
||||
public ourPartyId: string;
|
||||
public peerConn?: RTCPeerConnection;
|
||||
|
||||
private client: MatrixClient;
|
||||
private forceTURN: boolean;
|
||||
@@ -275,7 +276,6 @@ export class MatrixCall extends EventEmitter {
|
||||
private candidateSendQueue: Array<RTCIceCandidate> = [];
|
||||
private candidateSendTries = 0;
|
||||
private sentEndOfCandidates = false;
|
||||
private peerConn: RTCPeerConnection;
|
||||
private feeds: Array<CallFeed> = [];
|
||||
private usermediaSenders: Array<RTCRtpSender> = [];
|
||||
private screensharingSenders: Array<RTCRtpSender> = [];
|
||||
|
||||
Reference in New Issue
Block a user