• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Webcam runs in background even after the netstream is closed

Guest
Nov 10, 2013 Nov 10, 2013

Copy link to clipboard

Copied

Hi All,

We are having an application for capturing live video from presenter and broadcasting to a viewer. We have coded this using flex as3 and the server is Adobe Media Server. When a broadcasting happens and suddenly the presenter stops the video, the video display becomes blank as i have given the code and also i have closed the netstream by giving

videoDisplay.visible = false;

videoDisplay.attachCamera(null);

_ns.close();

_video.attachCamera(null);

_ns.attachCamera(null);

_ns.attachAudio(null);

_video = null;

But still the webcam runs in background and capturing the video. I can see the increase in size of video in the server. Is there any possible way to stop webcam from capturing the video when it si set to off?

Thanks in advance

Arasakumar.

Views

536

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 13, 2013 Nov 13, 2013

Copy link to clipboard

Copied

LATEST

Possibly the Camera object is still attached to the NetStream.

Add this to a NetStream.Status.Closed event handler:

netSream.attachCamera(null);

I hope this helps.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines