Skip to content

Commit

Permalink
[VID-344]: Add metadata to rtmp ingress (software, location etc) (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
su225 authored Feb 12, 2025
2 parents dba2378 + 3e8127e commit 8a0981c
Show file tree
Hide file tree
Showing 8 changed files with 1,148 additions and 561 deletions.
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

0 comments on commit 8a0981c

Please sign in to comment.