Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6602403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:52:22+00:00 2026-05-25T18:52:22+00:00

I have Adobe Media Server 4, and I am using Flash Professional CS5.5 to

  • 0

I have Adobe Media Server 4, and I am using Flash Professional CS5.5 to create streaming application.
For testing I use default Adobe Page where you can insert streamer url and Stream name to connect to streaming source, for overview.
It’s that page at start up, where you have two blocks of videos, left one to broadcast and right one to see stream.

Here is the AS3 code:

var bandwidth:int = 0; 
var quality:int = 50;
var camera:Camera = Camera.getCamera();

camera.setQuality(bandwidth, quality);
camera.setMode(430,320,15, true);

var video:Video = new Video();
video.attachCamera(camera);
addChild(video);
video.width = 430;
video.height = 320;

var nc:NetConnection = new NetConnection();
nc.connect("rtmp://***");
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);

function netStatusHandler(event:NetStatusEvent):void{
    if (event.info.code == "NetConnection.Connect.Success")
    {
    label10.text = 'Connected';
    var ns:NetStream = new NetStream(nc);
    ns.attachCamera(camera);
    ns.publish("NewStream1", "live");
    }

}

When I run this file I get “Connected” in label10, that means it’s connected to rtmp server link.

When I insert this specific rtmp link and NewStream1 ( from ns.publish(“NewStream1”, “live”); ) inside Adobe Default page, it doesn’t work… It connects, but it shows only blank black box.

And when I use that default page to stream, left broadcaster, it works great.

Can someone help me with this, tell me what I am doing wrong?

Thank you.

EDIT:

Also, strange thing happen when I remove

video.attachCamera(camera);

There is still line when camera is attached to streamer

ns.attachCamera(camera);

But light on camera, that is signing that camera is active, it turn on for 1-2 seconds and it turn off… So camera is not used after…
So it might be a problem with NetStreaming object, since it’s rejecting camera…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:52:23+00:00Added an answer on May 25, 2026 at 6:52 pm

    Problem was that

    var ns:NetStream = new NetStream(nc);
    

    needs to be outside function defined… Since this way it’s function variable and it’s “killed” after function ends…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an .flv movie embedded in HTML using Adobe's Flash Media Playback .
We are using a flash media server to serve streaming media (H.264) for our
I want to use RTMFP in Adobe's Flash Media Interactive Server 4 and host
I have created an application using Adobe Flex. I took all the files from
Greeting, I have a problem with flash media live encoder CS5 that when I
I am using Adobe Flash Media Live Encoder to stream live video to a
i create a chat application using Adobe FLEX, currently it is not implemented yet,
i have adobe media server on my laptop. I want to stream videos to
I have an Adobe AIR application for Android. Using for this AIR 3.0 and
I'm stumped on how to get started with Adobe Flash Media Server. On Linux.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.