Sets the video device URL property.
#include "ltms.h"
| Language | Syntax |
|---|---|
| C | HRESULT IltmsLiveStream_put_VideoDeviceURL(pLiveStream, newVal) |
| C++ | HRESULT put_VideoDeviceURL(newVal) |
Pointer to an IltmsLiveStream interface.
A string value that specifies the new 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 video device does not support an URL property, then the E_NOTIMPL error is returned.
Win32, x64.
For a C++ example, refer to the Create RTSP Stream Example for C++.