2022-11-10 12:27:29 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
type Config struct {
|
2022-11-11 02:01:33 +00:00
|
|
|
// FFmpeg binary
|
|
|
|
ffmpeg string
|
|
|
|
// FFprobe binary
|
|
|
|
ffprobe string
|
|
|
|
|
|
|
|
// Size of each chunk in seconds
|
2022-11-10 17:39:09 +00:00
|
|
|
chunkSize int
|
2022-11-11 02:01:33 +00:00
|
|
|
// How many *chunks* to look behind before restarting transcoding
|
|
|
|
lookBehind int
|
|
|
|
// How many chunks to buffer ahead of player position
|
|
|
|
goalBuffer int
|
2022-11-10 12:27:29 +00:00
|
|
|
}
|