diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-01-24 23:29:54 +0100 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-01-24 23:29:54 +0100 |
commit | 1450c22d01cbb5185ee8eac14657ddf3301d7e48 (patch) | |
tree | 366f795f56689b0fb53dfe52941fb9c813429e8b /toxav/rtp.h | |
parent | e57fb8c12ea7de1a5070ea0fc6f14c8e242c409f (diff) |
Current progress
Diffstat (limited to 'toxav/rtp.h')
-rw-r--r-- | toxav/rtp.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/toxav/rtp.h b/toxav/rtp.h index c98840ac..b25b13ba 100644 --- a/toxav/rtp.h +++ b/toxav/rtp.h | |||
@@ -99,6 +99,7 @@ typedef struct _RTPSession { | |||
99 | int dest; | 99 | int dest; |
100 | 100 | ||
101 | struct _CSSession *cs; | 101 | struct _CSSession *cs; |
102 | Messenger* m; | ||
102 | 103 | ||
103 | } RTPSession; | 104 | } RTPSession; |
104 | 105 | ||
@@ -110,7 +111,12 @@ RTPSession *rtp_new ( int payload_type, Messenger *messenger, int friend_num ); | |||
110 | /** | 111 | /** |
111 | * Terminate the session. | 112 | * Terminate the session. |
112 | */ | 113 | */ |
113 | void rtp_kill ( RTPSession *session, Messenger *messenger ); | 114 | void rtp_kill ( RTPSession* session ); |
115 | |||
116 | /** | ||
117 | * By default rtp is not in receiving state | ||
118 | */ | ||
119 | int rtp_register_for_receiving (RTPSession *session); | ||
114 | 120 | ||
115 | /** | 121 | /** |
116 | * Sends msg to _RTPSession::dest | 122 | * Sends msg to _RTPSession::dest |