Skip to content

Commit 327b002

Browse files
committed
Add video media handler in manage video how-to step
1 parent 0fb148c commit 327b002

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

articles/communication-services/how-tos/calling-sdk/includes/manage-video/manage-video-windows.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,22 @@ The following classes and interfaces handle some of the major features of the Az
8989
| CallAgentOptions | The CallAgentOptions contains information to identify the caller. |
9090
| HangupOptions | The HangupOptions informs if a call should be terminated to all its participants. |
9191

92+
## Register Video Handler
93+
94+
An UI component, like XAML's MediaElement or MediaPlayerElement, will require the app registering a configuration for rendering local and remote video feeds.
95+
Please add the following content between the `Package` tags of the `Package.appxmanifest`:
96+
97+
```xml
98+
<Extensions>
99+
<Extension Category="windows.activatableClass.inProcessServer">
100+
<InProcessServer>
101+
<Path>RtmMvrUap.dll</Path>
102+
<ActivatableClass ActivatableClassId="VideoN.VideoSchemeHandler" ThreadingModel="both" />
103+
</InProcessServer>
104+
</Extension>
105+
</Extensions>
106+
```
107+
92108
## Initialize the CallAgent
93109

94110
To create a `CallAgent` instance from `CallClient` you must use `CallClient.CreateCallAgent` method that asynchronously returns a `CallAgent` object once it is initialized.

0 commit comments

Comments
 (0)