diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-04-27 00:15:57 +0200 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-04-27 00:15:57 +0200 |
commit | 27e0254a98a32fad89ecc1c19121394754cfda2d (patch) | |
tree | c4de2455df5b9e38e9eee4e6586546de59279f45 /toxav/rtp.h | |
parent | 144fc94d6987c8c6f74d8024af5a5c1738fe4678 (diff) |
Almooooooost
Diffstat (limited to 'toxav/rtp.h')
-rw-r--r-- | toxav/rtp.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/toxav/rtp.h b/toxav/rtp.h index fe07c4f6..c973d262 100644 --- a/toxav/rtp.h +++ b/toxav/rtp.h | |||
@@ -49,11 +49,11 @@ enum { | |||
49 | rtp_TypeVideo, | 49 | rtp_TypeVideo, |
50 | }; | 50 | }; |
51 | 51 | ||
52 | typedef enum { | 52 | enum { |
53 | rtp_StateBad = -1, | 53 | rtp_StateBad = -1, |
54 | rtp_StateNormal, | 54 | rtp_StateNormal, |
55 | rtp_StateGood, | 55 | rtp_StateGood, |
56 | } RTPTransmissionState; | 56 | }; |
57 | 57 | ||
58 | /** | 58 | /** |
59 | * Standard rtp header. | 59 | * Standard rtp header. |
@@ -114,7 +114,6 @@ typedef struct { | |||
114 | 114 | ||
115 | Messenger *m; | 115 | Messenger *m; |
116 | int friend_id; | 116 | int friend_id; |
117 | RTPTransmissionState tstate; | ||
118 | struct RTCPSession_s *rtcp_session; | 117 | struct RTCPSession_s *rtcp_session; |
119 | 118 | ||
120 | 119 | ||
@@ -136,7 +135,7 @@ void rtp_kill ( RTPSession* session ); | |||
136 | /** | 135 | /** |
137 | * Do periodical rtp work. | 136 | * Do periodical rtp work. |
138 | */ | 137 | */ |
139 | void rtp_do(RTPSession *session); | 138 | int rtp_do(RTPSession *session); |
140 | 139 | ||
141 | /** | 140 | /** |
142 | * By default rtp is in receiving state | 141 | * By default rtp is in receiving state |