Skip to content

Commit e2f3b24

Browse files
author
Minnie Liu
committed
Address comments
1 parent c12e507 commit e2f3b24

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

articles/communication-services/quickstarts/media-composition/get-started-media-comp.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,16 @@ var mediaCompositionClient = new MediaCompositionClient(connectionString);
8484
Create a new media composition by defining the `inputs`, `layout`, `outputs`, as well as a user-friendly `mediaCompositionId`. For more details on how to define the values, refer to [this page](./define-media-composition.md). These values are passed into the `CreateAsync` function exposed on the client. The code snippet below shows and example of defining a simple two by two grid layout:
8585

8686
```csharp
87-
var layout = new GridLayout(rows: 2, columns: 2, inputIds: new List<List<string>>{ new List<string> { "jill", "jack" }, new List<string> { "jane", "jerry" } })
88-
{
89-
Resolution = new(1920, 1080)
90-
};
87+
var layout = new GridLayout(
88+
rows: 2,
89+
columns: 2,
90+
inputIds: new List<List<string>>
91+
{
92+
new List<string> { "jill", "jack" }, new List<string> { "jane", "jerry" }
93+
})
94+
{
95+
Resolution = new(1920, 1080)
96+
};
9197

9298
var inputs = new Dictionary<string, MediaInput>()
9399
{
@@ -132,7 +138,7 @@ var mediaCompositionId = "twoByTwoGridLayout"
132138
var response = await mediaCompositionClient.CreateAsync(mediaCompositionId, layout, inputs, outputs);
133139
```
134140

135-
You may want to keep track of and persist the `mediaCompositionId` in the storage medium of choice. You can reference the `mediaCompositionId` to view or update the properties of a media composition object.
141+
You can use the mediaCompositionId to view or update the properties of a media composition object. Therefore, its is important to keep track of and persist the mediaCompositionId in your storage medium of choice.
136142

137143
## Get properties of an existing media composition
138144

0 commit comments

Comments
 (0)