From 0edf91cee9e6714628b2276e8ece5a7c340ca5e4 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Wed, 11 Mar 2015 22:37:01 +0000 Subject: [PATCH] Expose interface for sending metadata --- rtsp.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rtsp.h b/rtsp.h index 1cf4fba8..2140313a 100644 --- a/rtsp.h +++ b/rtsp.h @@ -5,4 +5,12 @@ void rtsp_listen_loop(void); void rtsp_shutdown_stream(void); void rtsp_request_shutdown_stream(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 + +void send_ssnc_metadata(uint32_t code,char *data,uint32_t length); + #endif // _RTSP_H