Commit 2cb70f97 authored by Guillaume Beraudo's avatar Guillaume Beraudo

API to close rtpTransport.

parent 83c675e5
...@@ -92,6 +92,8 @@ typedef struct _RtpTransport ...@@ -92,6 +92,8 @@ typedef struct _RtpTransport
int (*t_sendto)(struct _RtpTransport *t, mblk_t *msg , int flags, const struct sockaddr *to, socklen_t tolen); int (*t_sendto)(struct _RtpTransport *t, mblk_t *msg , int flags, const struct sockaddr *to, socklen_t tolen);
int (*t_recvfrom)(struct _RtpTransport *t, mblk_t *msg, int flags, struct sockaddr *from, socklen_t *fromlen); int (*t_recvfrom)(struct _RtpTransport *t, mblk_t *msg, int flags, struct sockaddr *from, socklen_t *fromlen);
struct _RtpSession *session;//<back pointer to the owning session, set by oRTP struct _RtpSession *session;//<back pointer to the owning session, set by oRTP
void (*close_fn)(void *userData, struct _RtpTransport *transport);
void *close_data;
} RtpTransport; } RtpTransport;
typedef struct _OrtpNetworkSimulatorParams{ typedef struct _OrtpNetworkSimulatorParams{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment