I am in deep trouble.I have a problem with videochat showing this error on broadcasting video.Please help me to solve this issue
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Publish.BadName at com.view::VideoPod/init() Here is my videopod code <?xml version="1.0" encoding="utf-8"?> <mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" title="{ userItem.username } " creationComplete="init()" layout="vertical" width="180" height="160" xmlns:view="com.view.*"> <mx:Script> <![CDATA[ import mx.controls.Alert; import com.model.DataManager; import flash.media.Video; private var microphone:Microphone; private var camera:Camera; private var video:Video; [Bindable] public var userItem:Object; public var nc:NetConnection; private var ns:NetStream; [Bindable] private var dataManager : DataManager = DataManager.getInstance(); [Bindable] public var isSender:Boolean; [Bindable] private var chat:Chat; private function init():void { ns = new NetStream( nc ); video = new Video( 160, 120 ); if( isSender ) { camera = Camera.getCamera(); camera.setQuality( 16384 / 4, 0 ); camera.setMode( 160, 120, 15, false ); camera.setLoopback( true ); video.attachCamera( camera ); ns.attachCamera( camera ); microphone = Microphone.getMicrophone(); ns.attachAudio( microphone ); ns.publish( userItem.username ); } else { video.attachNetStream( ns ); ns.play( userItem.username ); } videoDisplay.video = video; } ]]> </mx:Script> <view:VideoContainer id="videoDisplay" width="160" height="120" /> </mx:Panel>

