• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/

Lines Matching refs:rtp_c

534     HTTPContext *rtp_c;
555 rtp_c = rtp_new_connection(&dest_addr, stream, session_id,
557 if (!rtp_c)
560 if (open_input_stream(rtp_c, "") < 0) {
571 if (rtp_new_av_stream(rtp_c, stream_index, &dest_addr, NULL) < 0) {
579 rtp_c->state = HTTPSTATE_SEND_DATA;
3058 HTTPContext *rtp_c;
3103 rtp_c = find_rtp_session(h->session_id);
3104 if (!rtp_c) {
3115 rtp_c = rtp_new_connection(&c->from_addr, stream, h->session_id,
3117 if (!rtp_c) {
3123 if (open_input_stream(rtp_c, "") < 0) {
3131 if (rtp_c->stream != stream) {
3137 if (rtp_c->rtp_ctx[stream_index]) {
3143 th = find_transport(h, rtp_c->rtp_protocol);
3152 dest_addr = rtp_c->from_addr;
3156 if (rtp_new_av_stream(rtp_c, stream_index, &dest_addr, c) < 0) {
3164 url_fprintf(c->pb, "Session: %s\r\n", rtp_c->session_id);
3166 switch(rtp_c->rtp_protocol) {
3168 rtp_port = rtp_get_local_rtp_port(rtp_c->rtp_handles[stream_index]);
3169 rtcp_port = rtp_get_local_rtcp_port(rtp_c->rtp_handles[stream_index]);
3196 HTTPContext *rtp_c;
3202 rtp_c = find_rtp_session(session_id);
3203 if (!rtp_c)
3211 if(!strcmp(path, rtp_c->stream->filename)) return rtp_c;
3212 for(s=0; s<rtp_c->stream->nb_streams; ++s) {
3214 rtp_c->stream->filename, s);
3217 return rtp_c;
3225 HTTPContext *rtp_c;
3227 rtp_c = find_rtp_session_with_url(url, h->session_id);
3228 if (!rtp_c) {
3233 if (rtp_c->state != HTTPSTATE_SEND_DATA &&
3234 rtp_c->state != HTTPSTATE_WAIT_FEED &&
3235 rtp_c->state != HTTPSTATE_READY) {
3240 rtp_c->state = HTTPSTATE_SEND_DATA;
3245 url_fprintf(c->pb, "Session: %s\r\n", rtp_c->session_id);
3251 HTTPContext *rtp_c;
3253 rtp_c = find_rtp_session_with_url(url, h->session_id);
3254 if (!rtp_c) {
3259 if (rtp_c->state != HTTPSTATE_SEND_DATA &&
3260 rtp_c->state != HTTPSTATE_WAIT_FEED) {
3265 rtp_c->state = HTTPSTATE_READY;
3266 rtp_c->first_pts = AV_NOPTS_VALUE;
3270 url_fprintf(c->pb, "Session: %s\r\n", rtp_c->session_id);
3276 HTTPContext *rtp_c;
3279 rtp_c = find_rtp_session_with_url(url, h->session_id);
3280 if (!rtp_c) {
3285 av_strlcpy(session_id, rtp_c->session_id, sizeof(session_id));
3288 close_connection(rtp_c);