Loading docs/libcurl/curl_easy_setopt.3 +3 −3 Changes for docs/libcurl/curl_easy_setopt.3: 3 added lines, 3 removed lines. Original line number Original line Diff line number Diff line Loading @@ -401,7 +401,7 @@ follows: You will need to override these definitions if they are different on your You will need to override these definitions if they are different on your system. system. .IP CURLOPT_RTPFUNCTION .IP CURLOPT_INTERLEAVEFUNCTION Function pointer that should match the following prototype: \fIsize_t Function pointer that should match the following prototype: \fIsize_t function( void *ptr, size_t size, size_t nmemb, void *stream)\fP. This function( void *ptr, size_t size, size_t nmemb, void *stream)\fP. This function gets called by libcurl as soon as it has received interleaved RTP function gets called by libcurl as soon as it has received interleaved RTP Loading @@ -422,8 +422,8 @@ service RTP data when no requests are desired. If the application makes a request, (e.g. \fICURL_RTSPREQ_PAUSE\fP) then the response handler will request, (e.g. \fICURL_RTSPREQ_PAUSE\fP) then the response handler will process any pending RTP data before marking the request as finished. (Added process any pending RTP data before marking the request as finished. (Added in 7.20.0) in 7.20.0) .IP CURLOPT_RTPDATA .IP CURLOPT_INTERLEAVEDATA This is the stream that will be passed to \fICURLOPT_RTPFUNCTION\fP when This is the stream that will be passed to \fICURLOPT_INTERLEAVEFUNCTION\fP when interleaved RTP data is received. Since the application is required to provide interleaved RTP data is received. Since the application is required to provide a custom function for RTP data, there is no requirement that the stream a custom function for RTP data, there is no requirement that the stream pointer be a valid FILE pointer. An application may wish to pass a cookie pointer be a valid FILE pointer. An application may wish to pass a cookie Loading include/curl/curl.h +3 −3 Changes for include/curl/curl.h: 3 added lines, 3 removed lines. Original line number Original line Diff line number Diff line Loading @@ -1309,11 +1309,11 @@ typedef enum { /* Manually initialize the server RTSP CSeq for this handle */ /* Manually initialize the server RTSP CSeq for this handle */ CINIT(RTSP_SERVER_CSEQ, LONG, 194), CINIT(RTSP_SERVER_CSEQ, LONG, 194), /* The stream to pass to RTPFUNCTION. */ /* The stream to pass to INTERLEAVEFUNCTION. */ CINIT(RTPDATA, OBJECTPOINT, 195), CINIT(INTERLEAVEDATA, OBJECTPOINT, 195), /* Let the application define a custom write method for RTP data */ /* Let the application define a custom write method for RTP data */ CINIT(RTPFUNCTION, FUNCTIONPOINT, 196), CINIT(INTERLEAVEFUNCTION, FUNCTIONPOINT, 196), CURLOPT_LASTENTRY /* the last unused */ CURLOPT_LASTENTRY /* the last unused */ } CURLoption; } CURLoption; Loading lib/url.c +2 −2 Changes for lib/url.c: 2 added lines, 2 removed lines. Original line number Original line Diff line number Diff line Loading @@ -2430,10 +2430,10 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, data->state.rtsp_next_client_CSeq = va_arg(param, long); data->state.rtsp_next_client_CSeq = va_arg(param, long); break; break; case CURLOPT_RTPDATA: case CURLOPT_INTERLEAVEDATA: data->set.rtp_out = va_arg(param, void *); data->set.rtp_out = va_arg(param, void *); break; break; case CURLOPT_RTPFUNCTION: case CURLOPT_INTERLEAVEFUNCTION: /* Set the user defined RTP write function */ /* Set the user defined RTP write function */ data->set.fwrite_rtp = va_arg(param, curl_write_callback); data->set.fwrite_rtp = va_arg(param, curl_write_callback); break; break; Loading Loading
docs/libcurl/curl_easy_setopt.3 +3 −3 Changes for docs/libcurl/curl_easy_setopt.3: 3 added lines, 3 removed lines. Original line number Original line Diff line number Diff line Loading @@ -401,7 +401,7 @@ follows: You will need to override these definitions if they are different on your You will need to override these definitions if they are different on your system. system. .IP CURLOPT_RTPFUNCTION .IP CURLOPT_INTERLEAVEFUNCTION Function pointer that should match the following prototype: \fIsize_t Function pointer that should match the following prototype: \fIsize_t function( void *ptr, size_t size, size_t nmemb, void *stream)\fP. This function( void *ptr, size_t size, size_t nmemb, void *stream)\fP. This function gets called by libcurl as soon as it has received interleaved RTP function gets called by libcurl as soon as it has received interleaved RTP Loading @@ -422,8 +422,8 @@ service RTP data when no requests are desired. If the application makes a request, (e.g. \fICURL_RTSPREQ_PAUSE\fP) then the response handler will request, (e.g. \fICURL_RTSPREQ_PAUSE\fP) then the response handler will process any pending RTP data before marking the request as finished. (Added process any pending RTP data before marking the request as finished. (Added in 7.20.0) in 7.20.0) .IP CURLOPT_RTPDATA .IP CURLOPT_INTERLEAVEDATA This is the stream that will be passed to \fICURLOPT_RTPFUNCTION\fP when This is the stream that will be passed to \fICURLOPT_INTERLEAVEFUNCTION\fP when interleaved RTP data is received. Since the application is required to provide interleaved RTP data is received. Since the application is required to provide a custom function for RTP data, there is no requirement that the stream a custom function for RTP data, there is no requirement that the stream pointer be a valid FILE pointer. An application may wish to pass a cookie pointer be a valid FILE pointer. An application may wish to pass a cookie Loading
include/curl/curl.h +3 −3 Changes for include/curl/curl.h: 3 added lines, 3 removed lines. Original line number Original line Diff line number Diff line Loading @@ -1309,11 +1309,11 @@ typedef enum { /* Manually initialize the server RTSP CSeq for this handle */ /* Manually initialize the server RTSP CSeq for this handle */ CINIT(RTSP_SERVER_CSEQ, LONG, 194), CINIT(RTSP_SERVER_CSEQ, LONG, 194), /* The stream to pass to RTPFUNCTION. */ /* The stream to pass to INTERLEAVEFUNCTION. */ CINIT(RTPDATA, OBJECTPOINT, 195), CINIT(INTERLEAVEDATA, OBJECTPOINT, 195), /* Let the application define a custom write method for RTP data */ /* Let the application define a custom write method for RTP data */ CINIT(RTPFUNCTION, FUNCTIONPOINT, 196), CINIT(INTERLEAVEFUNCTION, FUNCTIONPOINT, 196), CURLOPT_LASTENTRY /* the last unused */ CURLOPT_LASTENTRY /* the last unused */ } CURLoption; } CURLoption; Loading
lib/url.c +2 −2 Changes for lib/url.c: 2 added lines, 2 removed lines. Original line number Original line Diff line number Diff line Loading @@ -2430,10 +2430,10 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, data->state.rtsp_next_client_CSeq = va_arg(param, long); data->state.rtsp_next_client_CSeq = va_arg(param, long); break; break; case CURLOPT_RTPDATA: case CURLOPT_INTERLEAVEDATA: data->set.rtp_out = va_arg(param, void *); data->set.rtp_out = va_arg(param, void *); break; break; case CURLOPT_RTPFUNCTION: case CURLOPT_INTERLEAVEFUNCTION: /* Set the user defined RTP write function */ /* Set the user defined RTP write function */ data->set.fwrite_rtp = va_arg(param, curl_write_callback); data->set.fwrite_rtp = va_arg(param, curl_write_callback); break; break; Loading