add comments about what to do

This commit is contained in:
Leandro Moreira
2024-05-02 22:27:44 -03:00
parent 933f1b1425
commit ad86b20c4a
3 changed files with 18 additions and 19 deletions

View File

@@ -126,7 +126,7 @@ func (d *donutEngine) RecipeFor(server, client *entities.StreamInfo) *entities.D
}
func (d *donutEngine) Appetizer() entities.DonutAppetizer {
// TODO: implement input based on param
// TODO: implement input based on param to build proper SRT/RTMP/etc
return entities.DonutAppetizer{
URL: fmt.Sprintf("srt://%s:%d", d.req.SRTHost, d.req.SRTPort),
Format: "mpegts", // it'll change based on input, i.e. rmtp flv