Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@ CURRENT_VERSION_BUG = 0
GIT_DESCRIBE := $(shell git describe)
GITHUB_HEAD_REF ?= $(shell git branch --show-current)

.PHONY: install-proto-tools
install-proto-tools:
@echo "Installing protobuf tools..."
./install.sh

.PHONY: generate-proto
generate-proto:
@echo "Generating protocol buffers..."
REALPATH=grealpath ./generate.sh

.PHONY: proto
proto: install-proto-tools generate-proto

update-main:
git checkout main
git pull
Expand Down
672 changes: 398 additions & 274 deletions protobuf/video/sfu/models/models.pb.go

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions protobuf/video/sfu/models/models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,21 @@ message Browser {
string version = 2;
}

message RTMPIngress {
// Video dimensions and frame rate
uint32 width = 1;
uint32 height = 2;
double frame_rate = 3;

// Client info
string software = 4; // e.g. "obs-studio"
string version = 5; // e.g. "29.1.3"
string encoder = 6; // e.g. "x264" or "NVIDIA NVENC"

// Connection info
string remote_addr = 7;
}

message Device {
string name = 1;
string version = 2;
Expand Down
Loading