Skip to content

Commit

Permalink
Add variant switched method
Browse files Browse the repository at this point in the history
  • Loading branch information
roznawsk committed Nov 7, 2024
1 parent 027df44 commit f81eead
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ Use the command below:

`git submodule add https://github.com/fishjam-cloud/protos.git`

## Lint and formatting

The files can be formatted using `buf`.
Check out [installation page](https://buf.build/docs/installation/) for `buf`.

```
buf format -w
```

and linted
```
buf lint
```

## Copyright and License

Copyright 2023, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=fishjam-protos)
Expand Down
7 changes: 7 additions & 0 deletions fishjam/media_events/server/server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ message MediaEvent {
Status status = 2;
}

// Informs that track a track encoding has been changed
message EncodingSwitched {
string endpoint_id = 1;
string track_id = 2;
media_events.Variant encoding = 3;
}

oneof content {
EndpointUpdated endpoint_updated = 1;
TrackUpdated track_updated = 2;
Expand Down

0 comments on commit f81eead

Please sign in to comment.