diff --git a/librtmp/parseurl.c b/librtmp/parseurl.c index 0183958..d53d799 100644 --- a/librtmp/parseurl.c +++ b/librtmp/parseurl.c @@ -149,6 +149,8 @@ int RTMP_ParseURL(const char *url, int *protocol, AVal *host, unsigned int *port if(ques && strstr(p, "slist=")) { /* whatever it is, the '?' and slist= means we need to use everything as app and parse plapath from slist= */ appnamelen = ques-p; + // dozeo:kostas -> use app name as everything until the question mark + applen = appnamelen; } else if(strncmp(p, "ondemand/", 9)==0) { /* app = ondemand/foobar, only pass app=ondemand */