diff --git a/src/utils/sdp.c b/src/utils/sdp.c index 922e56123..18c56e903 100644 --- a/src/utils/sdp.c +++ b/src/utils/sdp.c @@ -196,3 +196,9 @@ char *set_stream_rtpmap(struct sdp *sdp, int index){ return sdp->stream[index]->rtpmap; } + +void clean_sdp(struct sdp *sdp){ + //TODO to free all memory + + +} diff --git a/src/utils/sdp.h b/src/utils/sdp.h index e84643e61..25fa8b588 100644 --- a/src/utils/sdp.h +++ b/src/utils/sdp.h @@ -107,6 +107,7 @@ void get_stream(struct sdp *sdp, int index); bool new_stream(struct sdp *sdp); char *set_stream_media_info(struct sdp *sdp, int index); char *set_stream_rtpmap(struct sdp *sdp, int index); +void clean_sdp(struct sdp *sdp); #ifdef __cplusplus }