aboutsummaryrefslogtreecommitdiffstats
path: root/mgw/RTP_CodecPort_CtrlFunct.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-11-18 13:28:07 +0100
committerHarald Welte <laforge@gnumonks.org>2017-11-18 13:28:07 +0100
commita7261d7312ba572a679f68c167242e572dd4ca22 (patch)
treee6e292149e5830b7cd1ca0a183fdb50009966a96 /mgw/RTP_CodecPort_CtrlFunct.ttcn
parent45295c517f73025a5a3d7b4090abc3dfd9dbdf1a (diff)
mgw: Add RTP_CodecPort throguh which we can send/receive RTP+RTCP
Diffstat (limited to 'mgw/RTP_CodecPort_CtrlFunct.ttcn')
-rw-r--r--mgw/RTP_CodecPort_CtrlFunct.ttcn44
1 files changed, 44 insertions, 0 deletions
diff --git a/mgw/RTP_CodecPort_CtrlFunct.ttcn b/mgw/RTP_CodecPort_CtrlFunct.ttcn
new file mode 100644
index 00000000..9f6cad2d
--- /dev/null
+++ b/mgw/RTP_CodecPort_CtrlFunct.ttcn
@@ -0,0 +1,44 @@
+module RTP_CodecPort_CtrlFunct {
+
+ import from RTP_CodecPort all;
+ import from IPL4asp_Types all;
+
+ external function f_IPL4_listen(
+ inout RTP_CODEC_PT portRef,
+ in HostName locName,
+ in PortNumber locPort,
+ in ProtoTuple proto,
+ in OptionList options := {}
+ ) return Result;
+
+ external function f_IPL4_connect(
+ inout RTP_CODEC_PT portRef,
+ in HostName remName,
+ in PortNumber remPort,
+ in HostName locName,
+ in PortNumber locPort,
+ in ConnectionId connId,
+ in ProtoTuple proto,
+ in OptionList options := {}
+ ) return Result;
+
+ external function f_IPL4_close(
+ inout RTP_CODEC_PT portRef,
+ in ConnectionId id,
+ in ProtoTuple proto := { unspecified := {} }
+ ) return Result;
+
+ external function f_IPL4_setUserData(
+ inout RTP_CODEC_PT portRef,
+ in ConnectionId id,
+ in UserData userData
+ ) return Result;
+
+ external function f_IPL4_getUserData(
+ inout RTP_CODEC_PT portRef,
+ in ConnectionId id,
+ out UserData userData
+ ) return Result;
+
+}
+