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

stageVideo on local Cam glitchy

Advisor ,
Mar 09, 2020 Mar 09, 2020

Copy link to clipboard

Copied

Hi,

 

Actionscript3 / Flash version 32.0.330

When I'm using stageVideo for a local cam the video shown is blinking, repeating the same frames for ever.

rather, with a NetStream, everything is ok. Any clue?

 

var sv:Vector.<StageVideo> = stage.stageVideos;
stageVideo = sv[slotNumber];
if(stageVideo){
    stageVideo.addEventListener(StageVideoEvent.RENDER_STATE,onRenderStateChanged);
    gpuSlotArray[name] = slotNumber;
    if(isPublish == true){
         stageVideo.attachCamera(cam);
    }else{
        stageVideo.attachNetStream(ns);
    }

 

Thanks!

Views

284

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
no replies

Have something to add?

Join the conversation