Skip to content

Commit a006929

Browse files
author
AWS
committed
Amazon Interactive Video Service RealTime Update: adds support for multiple new composition layout configuration options (grid, pip)
1 parent fe295fd commit a006929

File tree

2 files changed

+124
-0
lines changed

2 files changed

+124
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Interactive Video Service RealTime",
4+
"contributor": "",
5+
"description": "adds support for multiple new composition layout configuration options (grid, pip)"
6+
}

services/ivsrealtime/src/main/resources/codegen-resources/service-2.json

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,10 +1242,30 @@
12421242
"featuredParticipantAttribute":{
12431243
"shape":"AttributeKey",
12441244
"documentation":"<p>This attribute name identifies the featured slot. A participant with this attribute set to <code>\"true\"</code> (as a string value) in <a>ParticipantTokenConfiguration</a> is placed in the featured slot.</p>"
1245+
},
1246+
"gridGap":{
1247+
"shape":"GridGap",
1248+
"documentation":"<p>Specifies the spacing between participant tiles in pixels. Default: <code>2</code>.</p>"
1249+
},
1250+
"omitStoppedVideo":{
1251+
"shape":"OmitStoppedVideo",
1252+
"documentation":"<p>Determines whether to omit participants with stopped video in the composition. Default: <code>false</code>.</p>"
1253+
},
1254+
"videoAspectRatio":{
1255+
"shape":"VideoAspectRatio",
1256+
"documentation":"<p>Sets the non-featured participant display mode. Default: <code>VIDEO</code>.</p>"
1257+
},
1258+
"videoFillMode":{
1259+
"shape":"VideoFillMode",
1260+
"documentation":"<p>Defines how video fits within the participant tile. When not set, <code>videoFillMode</code> defaults to <code>COVER</code> fill mode for participants in the grid and to <code>CONTAIN</code> fill mode for featured participants.</p>"
12451261
}
12461262
},
12471263
"documentation":"<p>Configuration information specific to Grid layout, for server-side composition. See \"Layouts\" in <a href=\"https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/server-side-composition.html\">Server-Side Composition</a>.</p>"
12481264
},
1265+
"GridGap":{
1266+
"type":"integer",
1267+
"min":0
1268+
},
12491269
"Height":{
12501270
"type":"integer",
12511271
"box":true,
@@ -1271,6 +1291,10 @@
12711291
"grid":{
12721292
"shape":"GridConfiguration",
12731293
"documentation":"<p>Configuration related to grid layout. Default: Grid layout.</p>"
1294+
},
1295+
"pip":{
1296+
"shape":"PipConfiguration",
1297+
"documentation":"<p>Configuration related to PiP layout.</p>"
12741298
}
12751299
},
12761300
"documentation":"<p>Configuration information of supported layouts for server-side composition.</p>"
@@ -1582,6 +1606,7 @@
15821606
"max":100,
15831607
"min":1
15841608
},
1609+
"OmitStoppedVideo":{"type":"boolean"},
15851610
"PaginationToken":{
15861611
"type":"string",
15871612
"max":1024,
@@ -1815,6 +1840,82 @@
18151840
},
18161841
"exception":true
18171842
},
1843+
"PipBehavior":{
1844+
"type":"string",
1845+
"enum":[
1846+
"STATIC",
1847+
"DYNAMIC"
1848+
]
1849+
},
1850+
"PipConfiguration":{
1851+
"type":"structure",
1852+
"members":{
1853+
"featuredParticipantAttribute":{
1854+
"shape":"AttributeKey",
1855+
"documentation":"<p>This attribute name identifies the featured slot. A participant with this attribute set to <code>\"true\"</code> (as a string value) in <a>ParticipantTokenConfiguration</a> is placed in the featured slot.</p>"
1856+
},
1857+
"gridGap":{
1858+
"shape":"GridGap",
1859+
"documentation":"<p>Specifies the spacing between participant tiles in pixels. Default: <code>0</code>.</p>"
1860+
},
1861+
"omitStoppedVideo":{
1862+
"shape":"OmitStoppedVideo",
1863+
"documentation":"<p>Determines whether to omit participants with stopped video in the composition. Default: <code>false</code>.</p>"
1864+
},
1865+
"pipBehavior":{
1866+
"shape":"PipBehavior",
1867+
"documentation":"<p>Defines PiP behavior when all participants have left. Default: <code>STATIC</code>.</p>"
1868+
},
1869+
"pipHeight":{
1870+
"shape":"PipHeight",
1871+
"documentation":"<p>Specifies the height of the PiP window in pixels. When this is not set explicitly, <code>pipHeight</code>’s value will be based on the size of the composition and the aspect ratio of the participant’s video.</p>"
1872+
},
1873+
"pipOffset":{
1874+
"shape":"PipOffset",
1875+
"documentation":"<p>Sets the PiP window’s offset position in pixels from the closest edges determined by <code>PipPosition</code>. Default: <code>0</code>.</p>"
1876+
},
1877+
"pipParticipantAttribute":{
1878+
"shape":"AttributeKey",
1879+
"documentation":"<p>Identifies the PiP slot. A participant with this attribute set to <code>\"true\"</code> (as a string value) in <a>ParticipantTokenConfiguration</a> is placed in the PiP slot.</p>"
1880+
},
1881+
"pipPosition":{
1882+
"shape":"PipPosition",
1883+
"documentation":"<p>Determines the corner position of the PiP window. Default: <code>BOTTOM_RIGHT</code>.</p>"
1884+
},
1885+
"pipWidth":{
1886+
"shape":"PipWidth",
1887+
"documentation":"<p>Specifies the width of the PiP window in pixels. When this is not set explicitly, <code>pipWidth</code>’s value will be based on the size of the composition and the aspect ratio of the participant’s video.</p>"
1888+
},
1889+
"videoFillMode":{
1890+
"shape":"VideoFillMode",
1891+
"documentation":"<p>Defines how video fits within the participant tile. Default: <code>COVER</code>. </p>"
1892+
}
1893+
},
1894+
"documentation":"<p>Configuration information specific to Picture-in-Picture (PiP) layout, for <a href=\"https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/server-side-composition.html\">server-side composition</a>. </p>"
1895+
},
1896+
"PipHeight":{
1897+
"type":"integer",
1898+
"box":true,
1899+
"min":1
1900+
},
1901+
"PipOffset":{
1902+
"type":"integer",
1903+
"min":0
1904+
},
1905+
"PipPosition":{
1906+
"type":"string",
1907+
"enum":[
1908+
"TOP_LEFT",
1909+
"TOP_RIGHT",
1910+
"BOTTOM_LEFT",
1911+
"BOTTOM_RIGHT"
1912+
]
1913+
},
1914+
"PipWidth":{
1915+
"type":"integer",
1916+
"box":true,
1917+
"min":1
1918+
},
18181919
"Published":{"type":"boolean"},
18191920
"RecordingConfiguration":{
18201921
"type":"structure",
@@ -2283,6 +2384,23 @@
22832384
},
22842385
"documentation":"<p>Settings for video.</p>"
22852386
},
2387+
"VideoAspectRatio":{
2388+
"type":"string",
2389+
"enum":[
2390+
"AUTO",
2391+
"VIDEO",
2392+
"SQUARE",
2393+
"PORTRAIT"
2394+
]
2395+
},
2396+
"VideoFillMode":{
2397+
"type":"string",
2398+
"enum":[
2399+
"FILL",
2400+
"COVER",
2401+
"CONTAIN"
2402+
]
2403+
},
22862404
"Width":{
22872405
"type":"integer",
22882406
"box":true,

0 commit comments

Comments
 (0)