Lines Matching refs:rtspc
184 conn->proto.rtspc.rtp_channel = -1; in rtsp_connect()
192 Curl_safefree(conn->proto.rtspc.rtp_buf); in rtsp_disconnect()
223 (conn->proto.rtspc.rtp_channel == -1)) { in rtsp_done()
589 struct rtsp_conn *rtspc = &(conn->proto.rtspc); in rtsp_rtp_readwrite() local
596 if(rtspc->rtp_buf) { in rtsp_rtp_readwrite()
598 char *newptr = realloc(rtspc->rtp_buf, rtspc->rtp_bufsize + *nread); in rtsp_rtp_readwrite()
600 Curl_safefree(rtspc->rtp_buf); in rtsp_rtp_readwrite()
601 rtspc->rtp_buf = NULL; in rtsp_rtp_readwrite()
602 rtspc->rtp_bufsize = 0; in rtsp_rtp_readwrite()
605 rtspc->rtp_buf = newptr; in rtsp_rtp_readwrite()
606 memcpy(rtspc->rtp_buf + rtspc->rtp_bufsize, k->str, *nread); in rtsp_rtp_readwrite()
607 rtspc->rtp_bufsize += *nread; in rtsp_rtp_readwrite()
608 rtp = rtspc->rtp_buf; in rtsp_rtp_readwrite()
609 rtp_dataleft = rtspc->rtp_bufsize; in rtsp_rtp_readwrite()
624 rtspc->rtp_channel = RTP_PKT_CHANNEL(rtp); in rtsp_rtp_readwrite()
638 rtspc->rtp_channel, rtp_length)); in rtsp_rtp_readwrite()
643 Curl_safefree(rtspc->rtp_buf); in rtsp_rtp_readwrite()
644 rtspc->rtp_buf = NULL; in rtsp_rtp_readwrite()
645 rtspc->rtp_bufsize = 0; in rtsp_rtp_readwrite()
675 Curl_safefree(rtspc->rtp_buf); in rtsp_rtp_readwrite()
676 rtspc->rtp_buf = NULL; in rtsp_rtp_readwrite()
677 rtspc->rtp_bufsize = 0; in rtsp_rtp_readwrite()
681 Curl_safefree(rtspc->rtp_buf); in rtsp_rtp_readwrite()
682 rtspc->rtp_buf = scratch; in rtsp_rtp_readwrite()
683 rtspc->rtp_bufsize = rtp_dataleft; in rtsp_rtp_readwrite()
705 Curl_safefree(rtspc->rtp_buf); in rtsp_rtp_readwrite()
706 rtspc->rtp_buf = NULL; in rtsp_rtp_readwrite()
707 rtspc->rtp_bufsize = 0; in rtsp_rtp_readwrite()