diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-06-30 01:41:38 +0200 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-06-30 01:41:38 +0200 |
commit | 6c126e34e677da42849b9002ad376117bff5852e (patch) | |
tree | 304894e119f68dd56111490ea854d60f43aa282d /toxav/rtp.c | |
parent | 13148d7d7c7fc6ea6ef7e592dfd8b0bf3cfd1244 (diff) |
Implement handling capability change on rtp level
Diffstat (limited to 'toxav/rtp.c')
-rw-r--r-- | toxav/rtp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c index 7b3a5ed0..148c4238 100644 --- a/toxav/rtp.c +++ b/toxav/rtp.c | |||
@@ -221,6 +221,7 @@ int rtp_start_receiving(RTPSession* session) | |||
221 | return -1; | 221 | return -1; |
222 | } | 222 | } |
223 | 223 | ||
224 | LOGGER_DEBUG("Started receiving on session: %p", session); | ||
224 | return 0; | 225 | return 0; |
225 | } | 226 | } |
226 | int rtp_stop_receiving(RTPSession* session) | 227 | int rtp_stop_receiving(RTPSession* session) |
@@ -231,6 +232,7 @@ int rtp_stop_receiving(RTPSession* session) | |||
231 | m_callback_rtp_packet(session->m, session->friend_number, session->prefix, NULL, NULL); | 232 | m_callback_rtp_packet(session->m, session->friend_number, session->prefix, NULL, NULL); |
232 | m_callback_rtp_packet(session->m, session->friend_number, session->rtcp_session->prefix, NULL, NULL); /* RTCP */ | 233 | m_callback_rtp_packet(session->m, session->friend_number, session->rtcp_session->prefix, NULL, NULL); /* RTCP */ |
233 | 234 | ||
235 | LOGGER_DEBUG("Stopped receiving on session: %p", session); | ||
234 | return 0; | 236 | return 0; |
235 | } | 237 | } |
236 | int rtp_send_data ( RTPSession *session, const uint8_t *data, uint16_t length, bool dummy ) | 238 | int rtp_send_data ( RTPSession *session, const uint8_t *data, uint16_t length, bool dummy ) |