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

pull/133/head
winlin 11 years ago
parent 273bdb2242
commit fabdf9507e

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

Loading…
Cancel
Save