mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-06 02:22:56 +00:00
Merge pull request #213 from signalwire/fix_rtp_test
[Core] Fix RTP unit-test by adding switch_rtp_get_core_session().
This commit is contained in:
commit
7c8fab5e83
@ -593,6 +593,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_ack_bitrate(switch_rtp_t *rtp_session
|
|||||||
SWITCH_DECLARE(void) switch_rtp_video_refresh(switch_rtp_t *rtp_session);
|
SWITCH_DECLARE(void) switch_rtp_video_refresh(switch_rtp_t *rtp_session);
|
||||||
SWITCH_DECLARE(void) switch_rtp_video_loss(switch_rtp_t *rtp_session);
|
SWITCH_DECLARE(void) switch_rtp_video_loss(switch_rtp_t *rtp_session);
|
||||||
|
|
||||||
|
SWITCH_DECLARE(switch_core_session_t*) switch_rtp_get_core_session(switch_rtp_t *rtp_session);
|
||||||
/*!
|
/*!
|
||||||
\}
|
\}
|
||||||
*/
|
*/
|
||||||
|
@ -9238,6 +9238,11 @@ SWITCH_DECLARE(void *) switch_rtp_get_private(switch_rtp_t *rtp_session)
|
|||||||
return rtp_session->private_data;
|
return rtp_session->private_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SWITCH_DECLARE(switch_core_session_t*) switch_rtp_get_core_session(switch_rtp_t *rtp_session)
|
||||||
|
{
|
||||||
|
return rtp_session->session;
|
||||||
|
}
|
||||||
|
|
||||||
/* For Emacs:
|
/* For Emacs:
|
||||||
* Local Variables:
|
* Local Variables:
|
||||||
* mode:c
|
* mode:c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user