Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: meetecho/janus-gateway
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 14c026dbe5845dddef45167731b4cbeee2968c19
Choose a base ref
..
head repository: meetecho/janus-gateway
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 82caabdafd1cb26e21f05dd653688ef734fd1e7e
Choose a head ref
Showing with 4 additions and 4 deletions.
  1. +4 −4 plugins/janus_streaming.c
8 changes: 4 additions & 4 deletions plugins/janus_streaming.c
Original file line number Diff line number Diff line change
@@ -5712,7 +5712,7 @@ static int janus_streaming_rtsp_connect_to_server(janus_streaming_mountpoint *mp
if(header == NULL)
header = strstr(curldata->buffer, "transport:");
if(header != NULL) {
char *end = strchr(header, '\n');
char *end = strchr(header, '\r');
/* Iterate on all params */
char *p = header, param[100], *pi = NULL;
int read = 0;
@@ -5750,7 +5750,7 @@ static int janus_streaming_rtsp_connect_to_server(janus_streaming_mountpoint *mp
p += read;
if(p >= end)
break;
while(*p == ';' || *p == '\r')
while(*p == ';')
p++;
}
}
@@ -5759,7 +5759,7 @@ static int janus_streaming_rtsp_connect_to_server(janus_streaming_mountpoint *mp
if(header == NULL)
header = strstr(curldata->buffer, "session:");
if(header != NULL) {
char *end = strchr(header, '\n');
char *end = strchr(header, '\r');
/* Iterate on all params */
char *p = header, param[100], *pi = NULL;
int read = 0;
@@ -5785,7 +5785,7 @@ static int janus_streaming_rtsp_connect_to_server(janus_streaming_mountpoint *mp
p += read;
if(p >= end)
break;
while(*p == ';' || *p == '\r')
while(*p == ';')
p++;
}
}