fix bug of play stream of nginx, remove the start slash of streamName.
This commit is contained in:
parent
273bdb2242
commit
fabdf9507e
Binary file not shown.
Binary file not shown.
|
|
@ -334,7 +334,7 @@ package
|
||||||
if (url.indexOf("http") == 0) {
|
if (url.indexOf("http") == 0) {
|
||||||
media_stream.play(url);
|
media_stream.play(url);
|
||||||
} else {
|
} else {
|
||||||
var streamName:String = url.substr(url.lastIndexOf("/"));
|
var streamName:String = url.substr(url.lastIndexOf("/") + 1);
|
||||||
media_stream.play(streamName);
|
media_stream.play(streamName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user