add legacy simulcast stream that shows pointer.

This commit is contained in:
Miroslav Šedivý
2024-09-07 21:13:40 +02:00
parent b3b31fba1f
commit 373e9970f9
5 changed files with 48 additions and 2 deletions
+1
View File
@@ -158,6 +158,7 @@ type VideoConfig struct {
GstParams map[string]string `mapstructure:"gst_params"` // map of expressions
GstSuffix string `mapstructure:"gst_suffix"` // pipeline suffix, starts with !
GstPipeline string `mapstructure:"gst_pipeline"` // whole pipeline as a string
ShowPointer bool `mapstructure:"show_pointer"` // show pointer in the video
}
func (config *VideoConfig) GetPipeline(screen ScreenSize) (string, error) {