Changeset 6:096a04a36ff0 in mediastreamer2
- Timestamp:
- Sep 6, 2008 2:29:31 AM (5 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
linphone/mediastreamer2/src/msrtp.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linphone/mediastreamer2/src/msrtp.c
r0 r6 22 22 23 23 #include "ortp/telephonyevents.h" 24 #if defined(__cplusplus) 25 #define B64_NO_NAMESPACE 26 #endif 24 27 #include "ortp/b64.h" 28 25 29 26 30 struct SenderData { … … 127 131 SenderData *d = (SenderData *) f->data; 128 132 const char *tmp=(const char *)arg; 129 d->relay_session_id_size=b64_decode(tmp, strlen(tmp), d->relay_session_id,sizeof(d->relay_session_id));133 d->relay_session_id_size=b64_decode(tmp, strlen(tmp), (void*)d->relay_session_id, (unsigned int)sizeof(d->relay_session_id)); 130 134 return 0; 131 135 } … … 186 190 ( (f->ticker->time-d->last_rsi_time)>5000 || d->last_rsi_time==0) ) { 187 191 ms_message("relay session id sent in RTCP APP"); 188 rtp_session_send_rtcp_APP(s,0,"RSID", d->relay_session_id,d->relay_session_id_size);192 rtp_session_send_rtcp_APP(s,0,"RSID",(const uint8_t *)d->relay_session_id,d->relay_session_id_size); 189 193 d->last_rsi_time=f->ticker->time; 190 194 }
Note: See TracChangeset
for help on using the changeset viewer.
