blob: ec4d5525a5f449c1f2660539feba66fa8e411ef6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef _RTSP_H
#define _RTSP_H
#include "player.h"
rtsp_conn_info *playing_conn;
void rtsp_listen_loop(void);
// void rtsp_shutdown_stream(void);
void rtsp_request_shutdown_stream(void);
// initialise the metadata stuff
void metadata_init(void);
// sends metadata out to the metadata pipe, if enabled.
// It is sent with the type 'ssnc' the given code, data and length
// The handler at the other end must kknow what to do with the data
// e.g. it it's malloced, to free it, etc.
// nothing is done automatically
int send_ssnc_metadata(uint32_t code, char *data, uint32_t length, int block);
#endif // _RTSP_H
|