You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by sathishkumar <sa...@gmail.com> on 2014/02/17 12:25:58 UTC
Unable to attach videoObject for VideoDisplay
Hi;
I am working on display live video, so that I used VideoDisplay property to
display camera stream in the user view.
I used localVideo.videoObject.attachCamera(cam);
It throws an error like this
Error #1009: Cannot access a property or method of a null object reference.
there is only one issue with this that is localVideo.videoObject shows null
object error.
other than that all the values are set.
Sample Code:
protected function video_creationCompleteHandler(event:FlexEvent):void
{
var _dynVideoSource : DynamicStreamingVideoSource =new
DynamicStreamingVideoSource();
var videoItems:Vector.<DynamicStreamingVideoItem>;
videoItems=new Vector.<DynamicStreamingVideoItem>();
videoItems[0]=new DynamicStreamingVideoItem();
_dynVideoSource.host= "";
_dynVideoSource.streamType=StreamType.LIVE;
_dynVideoSource.streamItems=videoItems;
localVideo.source=_dynVideoSource;
}
<s:VideoDisplay id="localVideo" visible="false"
creationComplete="video_creationCompleteHandler(event);" />
Is there any osmf.swc error with Apache Flex sdk 4.12 RC1?
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Unable-to-attach-videoObject-for-VideoDisplay-tp5000.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Unable to attach videoObject for VideoDisplay
Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Feb 17, 2014 9:21 PM, "sathishkumar" <sa...@gmail.com> wrote:
>
> is there any other temporary solution to solve this issue until adobe to
> fix?
Sathish,
You can directly use a Video object instead of a Flex VideoDisplay object.
Have you tried that?
Thanks,
Om
>
> Regards.
> Sathishkumar.R
>
>
>
> On Tue, Feb 18, 2014 at 6:11 AM, jmclean [via Apache Flex Users] <
> ml-node+s2333346n5017h96@n4.nabble.com> wrote:
>
> > Hi,
> >
> > There is one known issue with the newer version of OSMF which we are
> > waiting for Adobe to fix - this may be the issue.
> > https://issues.apache.org/jira/browse/FLEX-33926
> >
> > https://bugbase.adobe.com/index.cfm?event=bug&id=3679506
> > https://bugbase.adobe.com/index.cfm?event=bug&id=3684919
> >
> > Thanks,
> > Justin
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the
discussion
> > below:
> >
> >
http://apache-flex-users.2333346.n4.nabble.com/Unable-to-attach-videoObject-for-VideoDisplay-in-mobile-application-tp5000p5017.html
> > To unsubscribe from Unable to attach videoObject for VideoDisplay in
> > mobile application, click here<
http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5000&code=c2F0aGlzaGt1bWFyNzIzQGdtYWlsLmNvbXw1MDAwfDE5NDE1MjYxMjM=
>
> > .
> > NAML<
http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>
> >
>
>
>
>
> --
> View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Unable-to-attach-videoObject-for-VideoDisplay-in-mobile-application-tp5000p5027.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Unable to attach videoObject for VideoDisplay
Posted by sathishkumar <sa...@gmail.com>.
I had same issue after replacing the OSMF with an older one.
Regards.
Sathishkumar.R
On Tue, Feb 18, 2014 at 10:56 AM, jmclean [via Apache Flex Users] <
ml-node+s2333346n5029h68@n4.nabble.com> wrote:
> Hi,
>
> > is there any other temporary solution to solve this issue until adobe to
> fix?
>
> You can replace the OSMF swc (in framework/libs) with an older one.
>
> Thanks,
> Justin
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.2333346.n4.nabble.com/Unable-to-attach-videoObject-for-VideoDisplay-in-mobile-application-tp5000p5029.html
> To unsubscribe from Unable to attach videoObject for VideoDisplay in
> mobile application, click here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5000&code=c2F0aGlzaGt1bWFyNzIzQGdtYWlsLmNvbXw1MDAwfDE5NDE1MjYxMjM=>
> .
> NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Unable-to-attach-videoObject-for-VideoDisplay-in-mobile-application-tp5000p5030.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Unable to attach videoObject for VideoDisplay
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
> is there any other temporary solution to solve this issue until adobe to fix?
You can replace the OSMF swc (in framework/libs) with an older one.
Thanks,
Justin
Re: Unable to attach videoObject for VideoDisplay
Posted by sathishkumar <sa...@gmail.com>.
is there any other temporary solution to solve this issue until adobe to
fix?
Regards.
Sathishkumar.R
On Tue, Feb 18, 2014 at 6:11 AM, jmclean [via Apache Flex Users] <
ml-node+s2333346n5017h96@n4.nabble.com> wrote:
> Hi,
>
> There is one known issue with the newer version of OSMF which we are
> waiting for Adobe to fix - this may be the issue.
> https://issues.apache.org/jira/browse/FLEX-33926
>
> https://bugbase.adobe.com/index.cfm?event=bug&id=3679506
> https://bugbase.adobe.com/index.cfm?event=bug&id=3684919
>
> Thanks,
> Justin
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.2333346.n4.nabble.com/Unable-to-attach-videoObject-for-VideoDisplay-in-mobile-application-tp5000p5017.html
> To unsubscribe from Unable to attach videoObject for VideoDisplay in
> mobile application, click here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5000&code=c2F0aGlzaGt1bWFyNzIzQGdtYWlsLmNvbXw1MDAwfDE5NDE1MjYxMjM=>
> .
> NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Unable-to-attach-videoObject-for-VideoDisplay-in-mobile-application-tp5000p5027.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Unable to attach videoObject for VideoDisplay
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
There is one known issue with the newer version of OSMF which we are waiting for Adobe to fix - this may be the issue.
https://issues.apache.org/jira/browse/FLEX-33926
https://bugbase.adobe.com/index.cfm?event=bug&id=3679506
https://bugbase.adobe.com/index.cfm?event=bug&id=3684919
Thanks,
Justin