Skip to content

Commit

Permalink
Added selfstream flag to stream request so correct command is executed
Browse files Browse the repository at this point in the history
  • Loading branch information
SebiWrn committed Oct 21, 2024
1 parent efe784f commit 8583c0c
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 619 deletions.
1 change: 1 addition & 0 deletions api/worker_grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ func CreateStreamRequest(daoWrapper dao.DaoWrapper, stream model.Stream, course
StreamName: slot.StreamName,
IngestServer: server.Url,
OutUrl: server.OutUrl,
SelfStream: stream.IsSelfStream(),
}
workerIndex := getWorkerWithLeastWorkload(workers)
workers[workerIndex].Workload += 3
Expand Down
1 change: 1 addition & 0 deletions worker/api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ message StreamRequest {
string StreamName = 13;
string IngestServer = 14;
string OutUrl = 15;
bool SelfStream = 16;
}

message PremiereRequest {
Expand Down
Loading

0 comments on commit 8583c0c

Please sign in to comment.