[Freeswitch-dev] Accessing rtp_sessions (switch_rtp) from modules
gustavkoller at googlemail.com
Tue May 24 17:27:23 MSD 2011
I'm new to FreeSwitch (developement).
I'm currently writing a FreeSwitch module where I would like to access
the zrtp_stream property of rtp streams (located in the switch_rtp
struct/switch_rtp.c) from a module.
rtp_session = switch_channel_get_private(channel, "__zrtp_audio_rtp_session");
zrtp_stream = rtp_session->zrtp_stream;
The last line fails with "error: dereferencing pointer to incomplete type"
It something I expected. The struct is defined in switch_rtp.c,
which can't be included. So I can access the properties only from withing
Am I missing something?
Is there another way to access the active zrtp_streams ?
More information about the FreeSWITCH-dev