Restore shared media metadata contract
This commit is contained in:
1 parent
356b43b59e
commit
a348409993
3 files changed
+49
-18
No files matched your search
@@ -505,6 +505,11 @@ type ProbeResult struct {
|
||||
DurationMs int64 `json:"durationMs"`
|
||||
Width int `json:"width"`
|
||||
Height int `json:"height"`
|
||||
IsVR bool `json:"isVr"`
|
||||
// Pointers keep the distinction between a newer CarrierNode explicitly
|
||||
// reporting false and an older one that does not return these fields yet.
|
||||
HasVideo *bool `json:"hasVideo"`
|
||||
HasAudio *bool `json:"hasAudio"`
|
||||
}
|
||||
|
||||
func (c *Client) probeMediaOne(ctx context.Context, baseURL, relative string) (ProbeResult, error) {
|
||||
|
||||
Reference in new issue
Block a user