Publish video to flex ios application from flex app in flash builder 4.6
Hi, i am publishing my live video stream from flex application like this
ns_out.publish("livestream", "live");
and receiving it from flex mobile (IOS) application
ns_in.receiveVideo(true);
ns_in.play("liveStream");
but i am not receiving yet anything on my simulator, but in mean while when i publish my video from flash media live encoder, my flex ios application runs it smoothy..:)
I am using Adobe Flash Builder for this development..
Any help is appreciated!
Thanks
yes!!!!!!!!!
I got the answer, i need to encode video into H.264 format and then publish.
cheers!!!!!!!!!!!!
Similar Messages
-
How to Call a AIR application from Flex Application
Hi,
I have Used AIR (Desktop application) in Flex Builder to Upload a File from a local path and save it it a server path.
I need to Call this AIR(Desktop application) from my Flex Application.... i.e
I am using a link button to send a event using Script and Forward that Desktop application from Flex Screen
But it doesnot load that (Desktop application) in Screen. Only Balnk screen is loaded from path
Here is the code
AIR(Desktop application)
<?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="openBrowseWindow();">
<mx:HTTPService id="urlpath" showBusyCursor="true" useProxy="false" method="
POST" url="http://localhost:8080/nat/FlexAction.do?method=UrlPath"result="pathresult(event)"
fault="faultHandler(event)"
>
</mx:HTTPService>
<mx:Script>
<![CDATA[
import mx.events.FileEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.utils.ObjectUtil;
import mx.controls.Alert;
private
var openFile:File = new File()
private
function openBrowseWindow():void{openFile.addEventListener(Event.SELECT, onOpenFileComplete);
openFile.addEventListener(Event.OPEN, load);
openFile.browse();
private
function load():void{Alert.show(
"load");
var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
//var textTypes:FileFilter = new FileFilter("Text Files (*.txt, *.rtf)", "*.txt; *.rtf");
var allTypes:Array = new Array(imageTypes);openFile.browse(allTypes);
private
function faultHandler(event:FaultEvent):void {
//Alert.show("Fault")Alert.show(ObjectUtil.toString(event.fault));
private
function pathresult(event:ResultEvent):void{Alert.show(
"res")
//Alert.show(ObjectUtil.toString(event.result));}private
function onOpenFileComplete(event:Event):void{
//mx.controls.Alert.show("event: "+event.target.nativePath +"UR!!!");
var pPath = event.target.nativePath;
var parameters:Object = {FlexActionType:"PATH",path:pPath};
// Alert.show("Image Selected from Path : "+pPath); urlpath.send(parameters);
//Alert.show("Passed.."+parameters);}
]]>
</mx:Script>
<mx:Button click="openBrowseWindow();onOpenFileComplete(event)" name="Upload" label="Upload" x="120.5" y="10"/>
Here is Mxml Code for Flex Application
<?xml version="1.0" encoding="utf-8"?><mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="http://ns.adobe.com/air/application/1.0.M4" >
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function Upload():void{
// CursorManager.setBusyCursor();
//var url:String = "HomeAction.do?method=onLoad";
//var url:String = "assets/Air.swf";
var url1:URLRequest = new URLRequest("assets/Air.swf");navigateToURL(url1,
"_self");
// CursorManager.removeBusyCursor(); }
]]>
</mx:Script>
<mx:LinkButton id="up" click="Upload()" x="295" y="215" label="UpLoad"/>
In this code i forward using s url to Open tat Desktop application but a blank screen appears with out the proper output...
Please Help me in this to forward AIR from Flex Screen..
Thanks in Advance
With Regards
Gopinath.A
Software Developer
First Internet Systems Pvt. Ltd.,
Chennaitry this
http://www.leonardofranca.com/index.php/2009/09/17/launching-an-installed-air-application- from-the-browser/
regards
Leonardo França
Adobe Certified Expert Flex 3 with AIR
Adobe Certified Expert Rich Internet Application Specialist v1.0
Adobe Certified Expert Flash CS3 Professional
Certified Professional Adobe Flex 2 Developer
Adobe Certified Professional Flash MX 2004 Developer
http://www.leonardofranca.com
http://twitter/leofederal
Manager AUGDF - Adobe User Group do Distrito Federal
http://www.augdf.com.br
http://twitter/augdf -
Help needed in migrating Flex 2 application to Flex 3
Hi All,
We are in process of migrating a working Flex 2 application
to Flex 3.
There were no compilation errors when application was
compiled with Flex 3 SDK. But when we start the application, it
throws a script timeout error:
Error: Error #1502: A script has executed for longer than the
default timeout period of 15 seconds.
at
mx.managers.layoutClasses::PriorityQueue/removeSmallestChild()[C:\autobuild\3.2.0\framewo rks\projects\framework\src\mx\managers\layoutClasses\PriorityQueue.as:214]
at
mx.managers::LayoutManager/validateClient()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\managers\LayoutManager.as:915]
at
mx.core::UIComponent/validateNow()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m x\core\UIComponent.as:5679]
at mx.core::UIComponent/
http://www.adobe.com/2006/flex/mx/internal::validateBaselinePosition()[C:\autobuild\3.2.0\ frameworks\projects\framework\src\mx\core\UIComponent.as:5715
at mx.controls::TextInput/get
baselinePosition()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\TextI nput.as:408]
at
mx.containers::FormItem/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\containers\FormItem.as:913]
at
mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:6351]
at
mx.core::Container/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework \src\mx\core\Container.as:2677]
at
mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
at
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:677]
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
at
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
The application is taking a huge time to 'validate' each
component in the UI and each time we observe a timeout at different
UI component.
Few observations from our end:
1. The application is very straight forward and only thing
complex in it is UI layout. There are a few of complex layouts,
viewstacks and datagrids used.
2. The ‘creationPolicy' at application level has been
set to 'All' because of design. This although is not a standard
practice but this does not help us because the same application
compiled with Flex 2 used to load successfully.
If anybody has faced a similar issue and has some suggestions
please do give us pointers. Otherwise we are left with a lengthier
option of re-factoring the application so that creation policy
defaults to 'auto' and modify the application design.
Thanks in advance,
SujathaHi All,
We are in process of migrating a working Flex 2 application
to Flex 3.
There were no compilation errors when application was
compiled with Flex 3 SDK. But when we start the application, it
throws a script timeout error:
Error: Error #1502: A script has executed for longer than the
default timeout period of 15 seconds.
at
mx.managers.layoutClasses::PriorityQueue/removeSmallestChild()[C:\autobuild\3.2.0\framewo rks\projects\framework\src\mx\managers\layoutClasses\PriorityQueue.as:214]
at
mx.managers::LayoutManager/validateClient()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\managers\LayoutManager.as:915]
at
mx.core::UIComponent/validateNow()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m x\core\UIComponent.as:5679]
at mx.core::UIComponent/
http://www.adobe.com/2006/flex/mx/internal::validateBaselinePosition()[C:\autobuild\3.2.0\ frameworks\projects\framework\src\mx\core\UIComponent.as:5715
at mx.controls::TextInput/get
baselinePosition()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\TextI nput.as:408]
at
mx.containers::FormItem/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\containers\FormItem.as:913]
at
mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:6351]
at
mx.core::Container/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework \src\mx\core\Container.as:2677]
at
mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
at
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:677]
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
at
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
The application is taking a huge time to 'validate' each
component in the UI and each time we observe a timeout at different
UI component.
Few observations from our end:
1. The application is very straight forward and only thing
complex in it is UI layout. There are a few of complex layouts,
viewstacks and datagrids used.
2. The ‘creationPolicy' at application level has been
set to 'All' because of design. This although is not a standard
practice but this does not help us because the same application
compiled with Flex 2 used to load successfully.
If anybody has faced a similar issue and has some suggestions
please do give us pointers. Otherwise we are left with a lengthier
option of re-factoring the application so that creation policy
defaults to 'auto' and modify the application design.
Thanks in advance,
Sujatha -
Developing Iphone App using Flash Builder and Flex Air Mobile
I started developing an Iphone app using the trial version of Flash Builder and was pretty impressed with how easy it was, then i hit problems:
Trying to submit my app, I was getting invalid binary, using google i tracked this down to a change in the Apple App Store meaning that all apps needed to have native iphone 5 support, which meant updating to Air SDK 3.7
Updating to AIR SDK 3.7 was a nightmare (mainly as a result of my failure to read the small print)
Once I got SDK 3.7 to work with flash builder / flex mobile i though i was there.
However now i can produce a fast build but everytime i try and produce a standard / production build i get strange errors (air 3.8 does the same).
My Question is - before i actually buy Flash Builder has anybody actually achieved the following:
Building an Iphone App using:
Flash Builder 4.7 (running on OSX)
Flex Mobile 4.6
Air 3.7
If so how ?
cheers
TobyThanks for your reply, its nice to know its not just me.
the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
the error is always the same (snippet shown below):
Error occurred while packaging the application:
Undefined symbols for architecture armv7:
"__ZN7avmplus8Debugger9debugLineEi", referenced from:
__ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
__ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
cheers
Toby -
I bought an iPad and an iTunes card, I want to buy an application from the Apps store but it only gives me the option of credit card. How can I buy Pages with my iTunes card to my iPad? thank you
Have you redeemed your iTunes card to an account associated with an Apple ID?
Once you have your iPad associated with an Apple ID AND you have an account with a credit card associated with the same Apple ID AND you have some 'store credit' (from redeeming your iTunes card) then purchases use the store credit before they charge the credit card, so you should be ok!
Personally, I use 'store credit' as a way to monitor whether or not there have been any 'unauthorised' purchases because as soon as the store credit is zero, the security code from the credit card is needed for further purchases! It does mean that I have sometimes to top up store credit before making a purchase, but 'better safe than sorry'! -
Is there a way to have a wish list, or send a gift application from the app store?
Is there a way to have a wish list, or send a gift application from the app store?
No to both questions.
-
TS1702 I cant download applications from the app store
when i want to download any application from the app store an error occurs..
after pressing the "install app" button, the icon of the app appears on the springbord with "waiting" written below it (as if its going to start downloading), but suddenly a messege appears saying (unable to download application "app's name" will be avaliable for download when you log in to the iTunes Store on your computer) and even when I download apps from computer and want to transfer them to iphone using automatic sharing, same problem occurs (and the automatic sharing is turned on)
How can I fix this error??Upgrade your itunes to the latest version.
upgrade your phone to 5.1.1 -
When trying to download the free applications from itunes app store its asking about billing information.
Billing popup will display and navigating to billing detail page.Unless the instructions on this page are followed when creating an account : http://support.apple.com/kb/HT2534
then credit card details will need to be entered before the account can be used to download any item (free or paid-for) from the store.
If you are being prompted to review the account then you could see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054
If not then you will need to enter credit card details - you should be able to remove the card after entering it -
why i cant purchase the applications from US App store (eg. google talk)? my shipping and billing address is Sri Lanka
You must be within the Country with a Valid Billing Address and Credit Card for that Country to use the Store of that Country...
-
I purchased an application from the app store and the app is not working,How do I get a refund ?
First, contact the developer of the app and ask for assistance. Then if you cannot get the problem resolved, go to the following link, explain the reason for your request, including that the developer was unable to solve the problem, and ask:
http://www.apple.com/support/itunes/contact.html
Though a refund is not guaranteed, it's possible they'll make an exception for you.
Good luck. -
When downloading an application from the App Store requires a map of all. And I would like the function is deactivated
Please post in your native language. This makes no sense.
-
HT1904 I can download applications from my app store why?
I just bought a new iPhone I can download any application from the App Store why??
- Go to settings>iTunes & App store
- tap on your Apple ID
- tap sign out
- sign back into Apple ID
It should sign you into the Greek Store automatically but if it doesn;t then do this:
- tap you apple id
- tap view apple id
- select country/region
- if it is already selected on the Greek Store then select another country then select back onto Greece
- tap done to the top right -
I am not able to download any application from the App Store it is showing the the message that your account is not for US store to download the application switch to Indian store
This article explains how to change the iTunes store country on your phone: http://support.apple.com/kb/ht1311.
-
I built a fairly simple app using Flash Builder 4.6 and have successfully deployed it to the Android Market (after testing on my own Android device). I have also taken that same app and compiled it for iOS and tested it on my own iPad.
I have then done the release build with the "Final Release for App Store Distribution" option in the release build wizard. I have all the correct provisioning certificates in place and compiled the application to a .ipa file.
At this point, using a MAC, I have run the Application Loader utility to upload my application to the itunesConnect portal to get it in the appstore. I've already gone through the steps of entering the metadata, price scheme, and screenshots in the itunes connect portal, and just need to upload it for review.
When I upload the .ipa file into the application loader, it gives me the following error:
"iPhone/iPod Touch: application executable contains unsupported architecture(s): arm"
Anyone have any idea what this means and how I can fix it? Any help is greatly appreciated!
Thanks in advance!Solved it. Just added the following in the <InfoAdditions> tag for iPhone in my app descriptor XML file:
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>wifi</string>
<string>armv6</string>
<string>armv7</string>
</array> -
#2032 error observed while launching flex based application from the standalone machine.
We trying to launch flex based application deployed on weblogic on RHEL 6.4 OS with flash version 15.0, found #2032 error on UI. Request help us on this scenario.
hi all,
UPDATE:
i have some how managed to handle my error at both REQUEST MESSAGE peoplecode and at HANDLER peoplecode. Tested the webservice using SOAPUI tool. After passing all inputs required, the customer is not created and i am getting a blank response message which should contain the SETID and CUST_ID as response. Please help me out whether i am missing any Key part in creating a CUSTOMER. Note, i haven't written any Peoplecode for creation and i am also not aware how to do the same or where to write the logic for it.
Kindly bare with me and do help me out as i m struck with it for long. Thanks in advance
Maybe you are looking for
-
Approver Delegation failed in GRC AC 10.0
Hi GRC, I am looking for urgent help. I delegated my access to respective approver in GRC AC 10.0 System and I created one Request and select manager field as my name in GRC Access Request form. As per delegation process request should go to respecti
-
I just down loaded my software for the vz usb 720 modem on a new windows 8.1 computer and it says it is connected but the internet won't come on. It says firewall settings my have to be changed (921) Has anyone had this problem and is there a softwar
-
Spry Table works in Firefox but not IE
I have a Spry table working just fine in Firefox in a site I'm developing: http://www.abenaki.com/newsite/schedule.html, but in IE 6 and 7 it first shows the table, unpopulated, and then disappears altogether. I'm new to Spry and XML... have I done s
-
Can't get past setup assistant after installing leopard...
i am having trouble getting past the setup assistant after installing leopard on my other computer which is a 1.25 ghz G4 desktop. Everything seems to be going fine then the setup assistant comes up and i go through the exercise of filling it out and
-
hi, I read the documentation for srm business package 5.0. Following things were not clear 1. How does one configure the iviews to connect to backend system. Is it via jco destination, if so what are the parameters required 2. how do you custimize th