winlin

fix bug of play stream of nginx, remove the start slash of streamName.

@@ -334,7 +334,7 @@ package @@ -334,7 +334,7 @@ package
334 if (url.indexOf("http") == 0) { 334 if (url.indexOf("http") == 0) {
335 media_stream.play(url); 335 media_stream.play(url);
336 } else { 336 } else {
337 - var streamName:String = url.substr(url.lastIndexOf("/")); 337 + var streamName:String = url.substr(url.lastIndexOf("/") + 1);
338 media_stream.play(streamName); 338 media_stream.play(streamName);
339 } 339 }
340 340