IltmmRTSPServer::StopServer

Summary

Stops the RTSP server from listening on the specified port.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmRTSPServer_StopServer(pThis, port)
C++ HRESULT StopServer(port)

Parameters

IltmmRTSPServer *pThis

Pointer to the IltmmRTSPServer interface.

long port

The port on which the server is listening for incoming connections. This should be the same value passed to IltmmRTSPServer::StartServer.

Returns

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.

Comments

This function turns the server off. It will stop listening for incoming connections and will disconnect any RTSP clients currently connected to the server.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C++ IltmmRTSPServer
Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.