1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine the ui, link the players to the api server static dir

This commit is contained in:
winlin 2013-12-25 23:42:23 +08:00
parent 7b2f9d59a2
commit 4b4f317e09
10 changed files with 514 additions and 15 deletions

View file

@ -243,10 +243,13 @@ package
*/
private function js_call_stop():void {
if (this.media_video) {
this.media_video.attachCamera(null);
this.removeChild(this.media_video);
this.media_video = null;
}
if (this.media_stream) {
this.media_stream.attachAudio(null);
this.media_stream.attachCamera(null);
this.media_stream.close();
this.media_stream = null;
}