File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,18 @@ export interface RtcConfig {
14
14
bindAddress?: string;
15
15
enableIceTcp?: boolean;
16
16
enableIceUdpMux?: boolean;
17
+ disableAutoNegotiation?: boolean;
18
+ disableFingerprintVerification?: boolean;
19
+ disableAutoGathering?: boolean;
20
+ forceMediaTransport?: boolean;
17
21
portRangeBegin?: number;
18
22
portRangeEnd?: number;
19
23
maxMessageSize?: number;
20
24
mtu?: number;
21
25
iceTransportPolicy?: TransportPolicy;
26
+ certificatePemFile?: string;
27
+ keyPemFile?: string;
28
+ keyPemPass?: string;
22
29
}
23
30
24
31
export const enum RelayType {
@@ -65,6 +72,27 @@ export const enum DescriptionType {
65
72
}
66
73
```
67
74
75
+ ** setLocalDescription: (sdp: string, init?: LocalDescriptionInit) => void**
76
+
77
+ Set Local Description and optionally the ICE ufrag/pwd to use. These should not
78
+ be set as they will be generated automatically as per the spec.
79
+ ```
80
+ export interface LocalDescriptionInit {
81
+ iceUfrag?: string;
82
+ icePwd?: string;
83
+ }
84
+ ```
85
+
86
+ ** remoteFingerprint: () => CertificateFingerprint**
87
+
88
+ Returns the certificate fingerprint used by the remote peer
89
+ ```
90
+ export interface CertificateFingerprint {
91
+ value: string;
92
+ algorithm: 'sha-1' | 'sha-224' | 'sha-256' | 'sha-384' | 'sha-512' | 'md5' | 'md2';
93
+ }
94
+ ```
95
+
68
96
** addRemoteCandidate: (candidate: string, mid: string) => void**
69
97
70
98
Add remote candidate info
You can’t perform that action at this time.
0 commit comments