From a7261d7312ba572a679f68c167242e572dd4ca22 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 18 Nov 2017 13:28:07 +0100 Subject: mgw: Add RTP_CodecPort throguh which we can send/receive RTP+RTCP --- mgw/RTP_CodecPort_CtrlFunct.ttcn | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 mgw/RTP_CodecPort_CtrlFunct.ttcn (limited to 'mgw/RTP_CodecPort_CtrlFunct.ttcn') 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; + +} + -- cgit v1.2.3