todo: sdp cleaning when uv exits

This commit is contained in:
Castillo, Gerard
2013-09-10 12:33:23 +02:00
parent b79d07a260
commit 02ebc1d20d
2 changed files with 7 additions and 0 deletions

View File

@@ -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
}

View File

@@ -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
}