Ticket #950: stream_rtsp.c.diff

File stream_rtsp.c.diff, 498 bytes (added by r_togni@…, 19 years ago)

Try port 80 if other fails

  • stream_rtsp.c

     
    8080      fd = connect2Server (stream->streaming_ctrl->url->hostname,
    8181                           port = 7070, 1);
    8282
     83    if (fd < 0 && !stream->streaming_ctrl->url->port)
     84      fd = connect2Server (stream->streaming_ctrl->url->hostname,
     85                           port = 80, 1);
     86
    8387    if (fd < 0)
    8488      return -1;
    8589