Retrieves the video device URL property.
#include "ltms.h"
| Language | Syntax |
|---|---|
| C | HRESULT IltmsLiveStream_get_VideoDeviceURL(pLiveStream, pVal) |
| C++ | HRESULT get_VideoDeviceURL(pVal) |
Pointer to an IltmsLiveStream interface.
Pointer to a string variable that receives the video device's URL property.
| 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. |
If the function succeeds, free the returned BSTR value by calling the SysFreeString function. If the video device does not support an URL property, then the E_NOTIMPL error is returned.
Win32, x64.
For a C++ example, refer to the Print Live Streams Example For C++.