File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,28 @@ type Progress struct {
8
8
Progress float64
9
9
Speed string
10
10
}
11
+
12
+ // GetFramesProcessed ...
13
+ func (p Progress ) GetFramesProcessed () string {
14
+ return p .FramesProcessed
15
+ }
16
+
17
+ // GetCurrentTime ...
18
+ func (p Progress ) GetCurrentTime () string {
19
+ return p .CurrentTime
20
+ }
21
+
22
+ // GetCurrentBitrate ...
23
+ func (p Progress ) GetCurrentBitrate () string {
24
+ return p .CurrentBitrate
25
+ }
26
+
27
+ // GetProgress ...
28
+ func (p Progress ) GetProgress () float64 {
29
+ return p .Progress
30
+ }
31
+
32
+ // GetSpeed ...
33
+ func (p Progress ) GetSpeed () string {
34
+ return p .Speed
35
+ }
Original file line number Diff line number Diff line change @@ -2,4 +2,9 @@ package transcoder
2
2
3
3
// Progress ...
4
4
type Progress interface {
5
+ GetFramesProcessed () string
6
+ GetCurrentTime () string
7
+ GetCurrentBitrate () string
8
+ GetProgress () float64
9
+ GetSpeed () string
5
10
}
You can’t perform that action at this time.
0 commit comments