rtsp_server.h File Reference
RTSP Server.
More...
#include "apt_task.h"
#include "rtsp_message.h"
Go to the source code of this file.
Detailed Description
RTSP Server.
Typedef Documentation
Opaque RTSP server session declaration
Opaque RTSP server declaration
RTSP server vtable declaration
Function Documentation
| rtsp_server_t* rtsp_server_create |
( |
const char * |
listen_ip, |
|
|
apr_port_t |
listen_port, |
|
|
apr_size_t |
max_connection_count, |
|
|
void * |
obj, |
|
|
const rtsp_server_vtable_t * |
handler, |
|
|
apr_pool_t * |
pool | |
|
) |
| | |
Create RTSP server.
- Parameters:
-
| listen_ip | the listen IP address |
| listen_port | the listen port |
| max_connection_count | the number of max RTSP connections |
| obj | the external object to send events to |
| handler | the request handler |
| pool | the pool to allocate memory from |
Destroy RTSP server.
- Parameters:
-
| server | the server to destroy |
Get external object.
- Parameters:
-
| server | the server to get object from |
Get the session destination (client) ip address.
- Parameters:
-
| session | the session to get ip address from |
Get the session identifier.
- Parameters:
-
| session | the session to get identifier from |
Get object associated with the session.
- Parameters:
-
| session | the session to get object from |
Set object associated with the session.
- Parameters:
-
| session | the session to set object for |
| obj | the object to set |
Get active (in-progress) session request.
- Parameters:
-
| session | the session to get from |
Send RTSP message.
- Parameters:
-
| server | the server to use |
| session | the session to send RTSP response for |
| message | the RTSP response to send |
Terminate RTSP session (respond to terminate request).
- Parameters:
-
| server | the server to use |
| session | the session to terminate |
Start server and wait for incoming requests.
- Parameters:
-
| server | the server to start |
Get task.
- Parameters:
-
| server | the server to get task from |
Terminate server.
- Parameters:
-
| server | the server to terminate |