Retrieves the live stream's output video width.
#include "ltms.h"
Language | Syntax |
---|---|
C | HRESULT IltmsLiveStream_get_VideoWidth(pLiveStream, pVal) |
C++ | HRESULT get_VideoWidth(pVal) |
Pointer to an IltmsLiveStream interface.
Pointer to a long variable that receives 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 default video width is 320 pixels.
Win32, x64.
For a C++ example, refer to the Print Live Streams Example For C++.