Squashed 'LYNQ_PUBLIC/' content from commit 79d8f932f
git-subtree-dir: LYNQ_PUBLIC
git-subtree-split: 79d8f932fb4ebc4b5aec6c5ace97634912394272
Change-Id: If2527ba937f56fe989487bf71e996f7cfd9fbe61
diff --git a/common_src/lib/liblynq-rtp/include/lynq_rtp.h b/common_src/lib/liblynq-rtp/include/lynq_rtp.h
new file mode 100755
index 0000000..01cbe51
--- /dev/null
+++ b/common_src/lib/liblynq-rtp/include/lynq_rtp.h
@@ -0,0 +1,34 @@
+#ifndef LYNQ_RTP_H
+#define LYNQ_RTP_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define MAX_IP_LENGTH 128
+#define MAX_EN_CODING_NAME_LENGTH 32
+#define MAX_CMD_SIZE 512
+
+typedef enum{
+ RTP_CLIENT = 0,
+ RTP_SERVER =1,
+}LYNQ_Rtp_Mode;
+
+int lynq_set_rtp_mode_media_play(const LYNQ_Rtp_Mode rtp_mode);
+int lynq_set_rtp_ip_media_play(LYNQ_Rtp_Mode rtp_mode,const char* ip,const int ip_length);
+int lynq_set_rtp_port_media_play(LYNQ_Rtp_Mode rtp_mode,const int port);
+int lynq_set_rtp_param_media_play(LYNQ_Rtp_Mode rtp_mode,char *file_address,const int clock_rate,const int channels,const int latency);
+
+int lynq_get_rtp_ip_media_play(const LYNQ_Rtp_Mode rtp_mode, char* ip, const int ip_length);
+int lynq_get_rtp_port_media_play(LYNQ_Rtp_Mode rtp_mode,int* port);
+int lynq_get_rtp_param_media_play(LYNQ_Rtp_Mode rtp_mode,char *file_address,int* clock_rate,int* channels,int* latency);
+
+int lynq_start_rtp_server_media_play();
+int lynq_stop_rtp_server_media_play();
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
\ No newline at end of file