初始化
This commit is contained in:
12
src/class/candidate.ts
Normal file
12
src/class/candidate.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export default class Candidate {
|
||||
candidate: string;
|
||||
sdpMLineIndex: number;
|
||||
sdpMid: string;
|
||||
datetime: number;
|
||||
constructor(candidate: string, sdpMLineIndex: number, sdpMid: string, datetime: number) {
|
||||
this.candidate = candidate;
|
||||
this.sdpMLineIndex = sdpMLineIndex;
|
||||
this.sdpMid = sdpMid;
|
||||
this.datetime = datetime;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user