-
Notifications
You must be signed in to change notification settings - Fork 97
Add support for spatial video metadata #1056
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in theory for now we could comment out everything apart from stereo_mode
?
All fields make sense to me, I'm just not sure if defining all of them on the protocol level is the right choice.
Would love to hear some additional opinions from the rest of the team.
@@ -249,6 +251,43 @@ message VideoLayer { | |||
uint32 ssrc = 5; | |||
} | |||
|
|||
// Metadata for stereoscopic and spherical video features. Includes | |||
// a subset of the fields defined by the Google Spherical Video V2 RFC. | |||
message SpatialVideoFeatures { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe let's go for a more generalVideoTrackFeatures
?
I think it's a great idea to add something like this to the track. I think we should only add explicit detailed support for things we're actually planning to support at a framework level (e.g. the sdks + components libraries have special rendering support). i'm definitely in favor of a basic enum for very well understood formats that don't require extra metadata (e.g. stereo l/r) but the others i'm not so sure although i'm not an expert. I think that customers implementing more complex formats are also probably comfortable implementing their own rendering too, at least for the medium term. and i wouldn't want us to add a complex field that no one really uses because it's not quite comprehensive enough. it would be great if track had a freeform attributes field or something but for now we put that on participant and i think its probably fine for a developer to use that to share detailed track rendering information across clients if needed. wdyt @chenosaurus? |
yeah, that's also what my feeling was, let's do stereo_mode for now and leave the decision for the rest for later / when users request it. |
I agree, let's have only |
To allow clients to properly handle spatial video (stereoscopic and/or spherical), this PR proposes adding a subset of the fields defined by the Spherical Video V2 RFC to
TrackInfo
.