-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from shadielhajj/master
Improved recording capabilities and configurability.
- Loading branch information
Showing
9 changed files
with
147 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/extensions/user_interface/record_max_duration_extension.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
'use strict'; | ||
|
||
import { WebviewExtension } from '../webview_extension'; | ||
|
||
export class RecordMaxDurationExtension implements WebviewExtension { | ||
private recordMaxDuration: number; | ||
|
||
public constructor(recordMaxDuration: number) { | ||
this.recordMaxDuration = recordMaxDuration; | ||
} | ||
|
||
public generateContent(): string { | ||
return `${this.recordMaxDuration}`; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/extensions/user_interface/record_video_bit_rate_extension.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
'use strict'; | ||
|
||
import { WebviewExtension } from '../webview_extension'; | ||
|
||
export class RecordVideoBitRateExtension implements WebviewExtension { | ||
private recordVideoBitRate: number; | ||
|
||
public constructor(recordVideoBitRate: number) { | ||
this.recordVideoBitRate = recordVideoBitRate; | ||
} | ||
|
||
public generateContent(): string { | ||
return `${this.recordVideoBitRate}`; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/extensions/user_interface/record_video_codec_extension.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
'use strict'; | ||
|
||
import { WebviewExtension } from '../webview_extension'; | ||
|
||
export class RecordVideoCodecExtension implements WebviewExtension { | ||
private recordVideoCodec: string; | ||
|
||
public constructor(recordVideoCodec: string) { | ||
this.recordVideoCodec = recordVideoCodec; | ||
} | ||
|
||
public generateContent(): string { | ||
return `"${this.recordVideoCodec}"`; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/extensions/user_interface/record_video_container_extension.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
'use strict'; | ||
|
||
import { WebviewExtension } from '../webview_extension'; | ||
|
||
export class RecordVideoContainerExtension implements WebviewExtension { | ||
private recordVideoContainer: string; | ||
|
||
public constructor(recordVideoContainer: string) { | ||
this.recordVideoContainer = recordVideoContainer; | ||
} | ||
|
||
public generateContent(): string { | ||
return `"${this.recordVideoContainer}"`; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters