Sets the live stream's output video width.
#include "ltms.h"
| Language | Syntax |
|---|---|
| C | HRESULT IltmsLiveStream_put_VideoWidth(pLiveStream, newVal) |
| C++ | HRESULT put_VideoWidth(newVal) |
Pointer to an IltmsLiveStream interface.
New value for the output video width, in pixels.
| Value | Meaning |
|---|---|
| S_OK | The function was successful. |
| <> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
The newVal parameter value should be 16 or greater.
Win32, x64.
For a C++ example, refer to the Create or Replace Live Stream Example for C++.