OSMF having playing problems when used in OSGi context

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

OSMF having playing problems when used in OSGi context

Ramazan Ergüder Bekrek
I've created an OSMF plugin which fetch videos from youtube and then play them when the url is received.
When I test my plugin in an Adobe AIR Desktop project the video plays without a problem.
The code for the test app is the folowing:
 
https://pastebin.com/bn9kBrK0
 
the log trace is the following:
 
Success
Fri Jun 14 2019 01:10:49 PM.379 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
Fri Jun 14 2019 01:10:49 PM.400 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
Fri Jun 14 2019 01:10:49 PM.590 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
Fri Jun 14 2019 01:10:49 PM.694 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Full
 
and the video appears well : https://pasteboard.co/IjmMyE3.png
 
here is my problem, when I'm trying to use my OSMF plugin run the plugin in a dynamic app packaged as an OSGi bundle with an activator my plugin fails to play the video.
 
the log output is this:
 
New Trait removed : load
New Trait added : load
Fri Jun 14 2019 01:14:42 PM.541 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
New Trait added : audio
New Trait added : buffer
New Trait added : time
onStateChange : {0} durationChange
New Trait added : displayObject
New Trait added : play
onStateChange : {0} playing
Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
Fri Jun 14 2019 01:14:42 PM.564 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
Fri Jun 14 2019 01:14:42 PM.709 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
onStateChange : {0} buffering
onStateChange : {0} durationChange
Number of blocks : 234
Segment length in seconds : 5
New Trait added : seek
Fri Jun 14 2019 01:14:42 PM.737 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Failed
onStateChange : {0} playbackError
Number of blocks : 0
Segment length in seconds : 5
onStateChange : {0} durationChange
Number of blocks : 0
Segment length in seconds : 5
Fri Jun 14 2019 01:14:42 PM.738 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop
Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
 
can someone pin point what is the problem?
 
Best regards
Reply | Threaded
Open this post in threaded view
|

Re: OSMF having playing problems when used in OSGi context

Alex Harui-2
Hi Ramazan,

This project does not officially support OSMF.  The Flex project uses OSMF as a dependency, and Royale may as well someday, but there aren't any members of the Flex or Royale project who know the code and Flex and Royale are not the home for the OSMF source code.

Some folks on the Flex and Royale mailing lists may have experience using OSMF, but I'm not one of them.  Your email was hard to read, can you make it easier to see the difference in the logs?  It isn't clear to me if you are somehow using AIR as the runtime in an OSGI bundle that is part of some other large application or what.  Anytime you wrap a runtime in a bundle there may be restrictions on what that bundle can access.

HTH,
-Alex

On 6/14/19, 4:28 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:

    I've created an OSMF plugin which fetch videos from youtube and then play them when the url is received.
    When I test my plugin in an Adobe AIR Desktop project the video plays without a problem.
    The code for the test app is the folowing:
     
    https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Fbn9kBrK0&amp;data=02%7C01%7Caharui%40adobe.com%7C1c8a1b220322442cdb9108d6f0bb7937%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636961085319282579&amp;sdata=yZiyXLBP3SvucWT5%2B5kz9SGQWOeyo3NXxaqHMSyOOw8%3D&amp;reserved=0
     
    the log trace is the following:
     
    Success
    Fri Jun 14 2019 01:10:49 PM.379 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
    Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    Fri Jun 14 2019 01:10:49 PM.400 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
    Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    Fri Jun 14 2019 01:10:49 PM.590 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
    Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    Fri Jun 14 2019 01:10:49 PM.694 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Full
     
    and the video appears well : https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FIjmMyE3.png&amp;data=02%7C01%7Caharui%40adobe.com%7C1c8a1b220322442cdb9108d6f0bb7937%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636961085319287570&amp;sdata=oEvWmK30b0a65nleFFMHsd2rVjwEB%2BWr6qp5qDpk3G0%3D&amp;reserved=0
     
    here is my problem, when I'm trying to use my OSMF plugin run the plugin in a dynamic app packaged as an OSGi bundle with an activator my plugin fails to play the video.
     
    the log output is this:
     
    New Trait removed : load
    New Trait added : load
    Fri Jun 14 2019 01:14:42 PM.541 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
    New Trait added : audio
    New Trait added : buffer
    New Trait added : time
    onStateChange : {0} durationChange
    New Trait added : displayObject
    New Trait added : play
    onStateChange : {0} playing
    Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    Fri Jun 14 2019 01:14:42 PM.564 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
    Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    Fri Jun 14 2019 01:14:42 PM.709 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
    onStateChange : {0} buffering
    onStateChange : {0} durationChange
    Number of blocks : 234
    Segment length in seconds : 5
    New Trait added : seek
    Fri Jun 14 2019 01:14:42 PM.737 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Failed
    onStateChange : {0} playbackError
    Number of blocks : 0
    Segment length in seconds : 5
    onStateChange : {0} durationChange
    Number of blocks : 0
    Segment length in seconds : 5
    Fri Jun 14 2019 01:14:42 PM.738 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop
    Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
     
    can someone pin point what is the problem?
     
    Best regards
   

Reply | Threaded
Open this post in threaded view
|

Re: OSMF having playing problems when used in OSGi context

Ramazan Ergüder Bekrek
Hi Alex,

I found out what was the problem and to my astonishment the problem is coming from the Adobe AIR 32+ version.
Let me explain ... My software is working perfectly up until AIR SDK 31 and below. I was doing test with previous version from 31 and it works well. It seems that Adobe did a change and it broke OSMF working on AIR SDK 32.

What happened exactly? What change did they integrate in the flash player so that OSMF doesn't work at all anymore.

Best Regards

14.06.2019, 18:50, "Alex Harui" <[hidden email]>:

> Hi Ramazan,
>
> This project does not officially support OSMF. The Flex project uses OSMF as a dependency, and Royale may as well someday, but there aren't any members of the Flex or Royale project who know the code and Flex and Royale are not the home for the OSMF source code.
>
> Some folks on the Flex and Royale mailing lists may have experience using OSMF, but I'm not one of them. Your email was hard to read, can you make it easier to see the difference in the logs? It isn't clear to me if you are somehow using AIR as the runtime in an OSGI bundle that is part of some other large application or what. Anytime you wrap a runtime in a bundle there may be restrictions on what that bundle can access.
>
> HTH,
> -Alex
>
> On 6/14/19, 4:28 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>
>     I've created an OSMF plugin which fetch videos from youtube and then play them when the url is received.
>     When I test my plugin in an Adobe AIR Desktop project the video plays without a problem.
>     The code for the test app is the folowing:
>
>     https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Fbn9kBrK0&amp;data=02%7C01%7Caharui%40adobe.com%7C1c8a1b220322442cdb9108d6f0bb7937%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636961085319282579&amp;sdata=yZiyXLBP3SvucWT5%2B5kz9SGQWOeyo3NXxaqHMSyOOw8%3D&amp;reserved=0
>
>     the log trace is the following:
>
>     Success
>     Fri Jun 14 2019 01:10:49 PM.379 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>     Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     Fri Jun 14 2019 01:10:49 PM.400 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>     Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>     Fri Jun 14 2019 01:10:49 PM.590 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>     Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>     Fri Jun 14 2019 01:10:49 PM.694 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Full
>
>     and the video appears well : https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FIjmMyE3.png&amp;data=02%7C01%7Caharui%40adobe.com%7C1c8a1b220322442cdb9108d6f0bb7937%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636961085319287570&amp;sdata=oEvWmK30b0a65nleFFMHsd2rVjwEB%2BWr6qp5qDpk3G0%3D&amp;reserved=0
>
>     here is my problem, when I'm trying to use my OSMF plugin run the plugin in a dynamic app packaged as an OSGi bundle with an activator my plugin fails to play the video.
>
>     the log output is this:
>
>     New Trait removed : load
>     New Trait added : load
>     Fri Jun 14 2019 01:14:42 PM.541 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>     New Trait added : audio
>     New Trait added : buffer
>     New Trait added : time
>     onStateChange : {0} durationChange
>     New Trait added : displayObject
>     New Trait added : play
>     onStateChange : {0} playing
>     Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     Fri Jun 14 2019 01:14:42 PM.564 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>     Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>     Fri Jun 14 2019 01:14:42 PM.709 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>     onStateChange : {0} buffering
>     onStateChange : {0} durationChange
>     Number of blocks : 234
>     Segment length in seconds : 5
>     New Trait added : seek
>     Fri Jun 14 2019 01:14:42 PM.737 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Failed
>     onStateChange : {0} playbackError
>     Number of blocks : 0
>     Segment length in seconds : 5
>     onStateChange : {0} durationChange
>     Number of blocks : 0
>     Segment length in seconds : 5
>     Fri Jun 14 2019 01:14:42 PM.738 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop
>     Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>
>     can someone pin point what is the problem?
>
>     Best regards
Reply | Threaded
Open this post in threaded view
|

Re: OSMF having playing problems when used in OSGi context

Frost, Andrew
In reply to this post by Ramazan Ergüder Bekrek
Hi

It might be worth trying again with the very latest AIR SDK 32 version, there had been some beta releases from Adobe that caused issues with multimedia playback on some platforms but I believe they are resolved now..

thanks

   Andrew


-----Original Message-----
From: Ramazan Ergüder Bekrek <[hidden email]>
Sent: 17 July 2019 11:39
To: [hidden email]
Subject: [EXTERNAL] Re: OSMF having playing problems when used in OSGi context

Hi Alex,

I found out what was the problem and to my astonishment the problem is coming from the Adobe AIR 32+ version.
Let me explain ... My software is working perfectly up until AIR SDK 31 and below. I was doing test with previous version from 31 and it works well. It seems that Adobe did a change and it broke OSMF working on AIR SDK 32.

What happened exactly? What change did they integrate in the flash player so that OSMF doesn't work at all anymore.

Best Regards

14.06.2019, 18:50, "Alex Harui" <[hidden email]>:

> Hi Ramazan,
>
> This project does not officially support OSMF. The Flex project uses OSMF as a dependency, and Royale may as well someday, but there aren't any members of the Flex or Royale project who know the code and Flex and Royale are not the home for the OSMF source code.
>
> Some folks on the Flex and Royale mailing lists may have experience using OSMF, but I'm not one of them. Your email was hard to read, can you make it easier to see the difference in the logs? It isn't clear to me if you are somehow using AIR as the runtime in an OSGI bundle that is part of some other large application or what. Anytime you wrap a runtime in a bundle there may be restrictions on what that bundle can access.
>
> HTH,
> -Alex
>
> On 6/14/19, 4:28 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>
>     I've created an OSMF plugin which fetch videos from youtube and then play them when the url is received.
>     When I test my plugin in an Adobe AIR Desktop project the video plays without a problem.
>     The code for the test app is the folowing:
>
>     https://clicktime.symantec.com/3WEXbeBh4zr4kZuWi8CDQaS7Vc?u=https%3A%2F%2Fnam04.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fpastebin.com%252Fbn9kBrK0%26data%3D02%257C01%257Caharui%2540adobe.com%257C1c8a1b220322442cdb9108d6f0bb7937%257Cfa7b1b5a7b34438794aed2c178decee1%257C0%257C0%257C636961085319282579%26sdata%3DyZiyXLBP3SvucWT5%252B5kz9SGQWOeyo3NXxaqHMSyOOw8%253D%26reserved%3D0
>
>     the log trace is the following:
>
>     Success
>     Fri Jun 14 2019 01:10:49 PM.379 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>     Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     Fri Jun 14 2019 01:10:49 PM.400 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>     Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>     Fri Jun 14 2019 01:10:49 PM.590 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>     Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>     Fri Jun 14 2019 01:10:49 PM.694 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Full
>
>     and the video appears well : https://clicktime.symantec.com/3XXXpWProZBG5RP91kvUFmX7Vc?u=https%3A%2F%2Fnam04.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fpasteboard.co%252FIjmMyE3.png%26data%3D02%257C01%257Caharui%2540adobe.com%257C1c8a1b220322442cdb9108d6f0bb7937%257Cfa7b1b5a7b34438794aed2c178decee1%257C0%257C0%257C636961085319287570%26sdata%3DoEvWmK30b0a65nleFFMHsd2rVjwEB%252BWr6qp5qDpk3G0%253D%26reserved%3D0
>
>     here is my problem, when I'm trying to use my OSMF plugin run the plugin in a dynamic app packaged as an OSGi bundle with an activator my plugin fails to play the video.
>
>     the log output is this:
>
>     New Trait removed : load
>     New Trait added : load
>     Fri Jun 14 2019 01:14:42 PM.541 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>     New Trait added : audio
>     New Trait added : buffer
>     New Trait added : time
>     onStateChange : {0} durationChange
>     New Trait added : displayObject
>     New Trait added : play
>     onStateChange : {0} playing
>     Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     Fri Jun 14 2019 01:14:42 PM.564 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>     Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>     Fri Jun 14 2019 01:14:42 PM.709 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>     onStateChange : {0} buffering
>     onStateChange : {0} durationChange
>     Number of blocks : 234
>     Segment length in seconds : 5
>     New Trait added : seek
>     Fri Jun 14 2019 01:14:42 PM.737 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Failed
>     onStateChange : {0} playbackError
>     Number of blocks : 0
>     Segment length in seconds : 5
>     onStateChange : {0} durationChange
>     Number of blocks : 0
>     Segment length in seconds : 5
>     Fri Jun 14 2019 01:14:42 PM.738 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop
>     Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>
>     can someone pin point what is the problem?
>
>     Best regards
Reply | Threaded
Open this post in threaded view
|

Re: OSMF having playing problems when used in OSGi context

Ramazan Ergüder Bekrek
To validate if the problem still persists I will do the test when I have some time.
Thanx for the feedback.

17.07.2019, 16:12, "Frost, Andrew" <[hidden email]>:

> Hi
>
> It might be worth trying again with the very latest AIR SDK 32 version, there had been some beta releases from Adobe that caused issues with multimedia playback on some platforms but I believe they are resolved now..
>
> thanks
>
>    Andrew
>
> -----Original Message-----
> From: Ramazan Ergüder Bekrek <[hidden email]>
> Sent: 17 July 2019 11:39
> To: [hidden email]
> Subject: [EXTERNAL] Re: OSMF having playing problems when used in OSGi context
>
> Hi Alex,
>
> I found out what was the problem and to my astonishment the problem is coming from the Adobe AIR 32+ version.
> Let me explain ... My software is working perfectly up until AIR SDK 31 and below. I was doing test with previous version from 31 and it works well. It seems that Adobe did a change and it broke OSMF working on AIR SDK 32.
>
> What happened exactly? What change did they integrate in the flash player so that OSMF doesn't work at all anymore.
>
> Best Regards
>
> 14.06.2019, 18:50, "Alex Harui" <[hidden email]>:
>>  Hi Ramazan,
>>
>>  This project does not officially support OSMF. The Flex project uses OSMF as a dependency, and Royale may as well someday, but there aren't any members of the Flex or Royale project who know the code and Flex and Royale are not the home for the OSMF source code.
>>
>>  Some folks on the Flex and Royale mailing lists may have experience using OSMF, but I'm not one of them. Your email was hard to read, can you make it easier to see the difference in the logs? It isn't clear to me if you are somehow using AIR as the runtime in an OSGI bundle that is part of some other large application or what. Anytime you wrap a runtime in a bundle there may be restrictions on what that bundle can access.
>>
>>  HTH,
>>  -Alex
>>
>>  On 6/14/19, 4:28 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>>
>>      I've created an OSMF plugin which fetch videos from youtube and then play them when the url is received.
>>      When I test my plugin in an Adobe AIR Desktop project the video plays without a problem.
>>      The code for the test app is the folowing:
>>
>>      https://clicktime.symantec.com/3WEXbeBh4zr4kZuWi8CDQaS7Vc?u=https%3A%2F%2Fnam04.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fpastebin.com%252Fbn9kBrK0%26data%3D02%257C01%257Caharui%2540adobe.com%257C1c8a1b220322442cdb9108d6f0bb7937%257Cfa7b1b5a7b34438794aed2c178decee1%257C0%257C0%257C636961085319282579%26sdata%3DyZiyXLBP3SvucWT5%252B5kz9SGQWOeyo3NXxaqHMSyOOw8%253D%26reserved%3D0
>>
>>      the log trace is the following:
>>
>>      Success
>>      Fri Jun 14 2019 01:10:49 PM.379 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>>      Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      Fri Jun 14 2019 01:10:49 PM.400 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>>      Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>      Fri Jun 14 2019 01:10:49 PM.590 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>>      Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>      Fri Jun 14 2019 01:10:49 PM.694 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Full
>>
>>      and the video appears well : https://clicktime.symantec.com/3XXXpWProZBG5RP91kvUFmX7Vc?u=https%3A%2F%2Fnam04.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fpasteboard.co%252FIjmMyE3.png%26data%3D02%257C01%257Caharui%2540adobe.com%257C1c8a1b220322442cdb9108d6f0bb7937%257Cfa7b1b5a7b34438794aed2c178decee1%257C0%257C0%257C636961085319287570%26sdata%3DoEvWmK30b0a65nleFFMHsd2rVjwEB%252BWr6qp5qDpk3G0%253D%26reserved%3D0
>>
>>      here is my problem, when I'm trying to use my OSMF plugin run the plugin in a dynamic app packaged as an OSGi bundle with an activator my plugin fails to play the video.
>>
>>      the log output is this:
>>
>>      New Trait removed : load
>>      New Trait added : load
>>      Fri Jun 14 2019 01:14:42 PM.541 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>>      New Trait added : audio
>>      New Trait added : buffer
>>      New Trait added : time
>>      onStateChange : {0} durationChange
>>      New Trait added : displayObject
>>      New Trait added : play
>>      onStateChange : {0} playing
>>      Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      Fri Jun 14 2019 01:14:42 PM.564 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>>      Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>      Fri Jun 14 2019 01:14:42 PM.709 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>>      onStateChange : {0} buffering
>>      onStateChange : {0} durationChange
>>      Number of blocks : 234
>>      Segment length in seconds : 5
>>      New Trait added : seek
>>      Fri Jun 14 2019 01:14:42 PM.737 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Failed
>>      onStateChange : {0} playbackError
>>      Number of blocks : 0
>>      Segment length in seconds : 5
>>      onStateChange : {0} durationChange
>>      Number of blocks : 0
>>      Segment length in seconds : 5
>>      Fri Jun 14 2019 01:14:42 PM.738 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop
>>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>
>>      can someone pin point what is the problem?
>>
>>      Best regards
Reply | Threaded
Open this post in threaded view
|

Re: OSMF having playing problems when used in OSGi context

Ramazan Ergüder Bekrek
In reply to this post by Frost, Andrew
I tried to reinstall the Apache Flex SDK 4.16.1 with AIR SDK 32 and noticed that the AIRSDK_Compiler.zip file which is downloaded by the Apache Flex installer is different in size compared to what is available on adobe latest release web site.

Flex installer file size : 418 MB
Adobe latest release file size : 454 MB

My question is did adobe update the file at Flex's installer URL?

Flex installer URL: Downloading Adobe AIR Runtime Kit for Windows from: https://airdownload.adobe.com/air/win/download/32.0//AdobeAIRSDK.zip

Adobe latest URL: http://airdownload.adobe.com/air/win/download/latest/AIRSDK_Compiler.zip

17.07.2019, 16:12, "Frost, Andrew" <[hidden email]>:

> Hi
>
> It might be worth trying again with the very latest AIR SDK 32 version, there had been some beta releases from Adobe that caused issues with multimedia playback on some platforms but I believe they are resolved now..
>
> thanks
>
>    Andrew
>
> -----Original Message-----
> From: Ramazan Ergüder Bekrek <[hidden email]>
> Sent: 17 July 2019 11:39
> To: [hidden email]
> Subject: [EXTERNAL] Re: OSMF having playing problems when used in OSGi context
>
> Hi Alex,
>
> I found out what was the problem and to my astonishment the problem is coming from the Adobe AIR 32+ version.
> Let me explain ... My software is working perfectly up until AIR SDK 31 and below. I was doing test with previous version from 31 and it works well. It seems that Adobe did a change and it broke OSMF working on AIR SDK 32.
>
> What happened exactly? What change did they integrate in the flash player so that OSMF doesn't work at all anymore.
>
> Best Regards
>
> 14.06.2019, 18:50, "Alex Harui" <[hidden email]>:
>>  Hi Ramazan,
>>
>>  This project does not officially support OSMF. The Flex project uses OSMF as a dependency, and Royale may as well someday, but there aren't any members of the Flex or Royale project who know the code and Flex and Royale are not the home for the OSMF source code.
>>
>>  Some folks on the Flex and Royale mailing lists may have experience using OSMF, but I'm not one of them. Your email was hard to read, can you make it easier to see the difference in the logs? It isn't clear to me if you are somehow using AIR as the runtime in an OSGI bundle that is part of some other large application or what. Anytime you wrap a runtime in a bundle there may be restrictions on what that bundle can access.
>>
>>  HTH,
>>  -Alex
>>
>>  On 6/14/19, 4:28 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>>
>>      I've created an OSMF plugin which fetch videos from youtube and then play them when the url is received.
>>      When I test my plugin in an Adobe AIR Desktop project the video plays without a problem.
>>      The code for the test app is the folowing:
>>
>>      https://clicktime.symantec.com/3WEXbeBh4zr4kZuWi8CDQaS7Vc?u=https%3A%2F%2Fnam04.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fpastebin.com%252Fbn9kBrK0%26data%3D02%257C01%257Caharui%2540adobe.com%257C1c8a1b220322442cdb9108d6f0bb7937%257Cfa7b1b5a7b34438794aed2c178decee1%257C0%257C0%257C636961085319282579%26sdata%3DyZiyXLBP3SvucWT5%252B5kz9SGQWOeyo3NXxaqHMSyOOw8%253D%26reserved%3D0
>>
>>      the log trace is the following:
>>
>>      Success
>>      Fri Jun 14 2019 01:10:49 PM.379 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>>      Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      Fri Jun 14 2019 01:10:49 PM.400 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>>      Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>      Fri Jun 14 2019 01:10:49 PM.590 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>>      Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>      Fri Jun 14 2019 01:10:49 PM.694 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Full
>>
>>      and the video appears well : https://clicktime.symantec.com/3XXXpWProZBG5RP91kvUFmX7Vc?u=https%3A%2F%2Fnam04.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fpasteboard.co%252FIjmMyE3.png%26data%3D02%257C01%257Caharui%2540adobe.com%257C1c8a1b220322442cdb9108d6f0bb7937%257Cfa7b1b5a7b34438794aed2c178decee1%257C0%257C0%257C636961085319287570%26sdata%3DoEvWmK30b0a65nleFFMHsd2rVjwEB%252BWr6qp5qDpk3G0%253D%26reserved%3D0
>>
>>      here is my problem, when I'm trying to use my OSMF plugin run the plugin in a dynamic app packaged as an OSGi bundle with an activator my plugin fails to play the video.
>>
>>      the log output is this:
>>
>>      New Trait removed : load
>>      New Trait added : load
>>      Fri Jun 14 2019 01:14:42 PM.541 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>>      New Trait added : audio
>>      New Trait added : buffer
>>      New Trait added : time
>>      onStateChange : {0} durationChange
>>      New Trait added : displayObject
>>      New Trait added : play
>>      onStateChange : {0} playing
>>      Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      Fri Jun 14 2019 01:14:42 PM.564 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>>      Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>      Fri Jun 14 2019 01:14:42 PM.709 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>>      onStateChange : {0} buffering
>>      onStateChange : {0} durationChange
>>      Number of blocks : 234
>>      Segment length in seconds : 5
>>      New Trait added : seek
>>      Fri Jun 14 2019 01:14:42 PM.737 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Failed
>>      onStateChange : {0} playbackError
>>      Number of blocks : 0
>>      Segment length in seconds : 5
>>      onStateChange : {0} durationChange
>>      Number of blocks : 0
>>      Segment length in seconds : 5
>>      Fri Jun 14 2019 01:14:42 PM.738 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop
>>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>
>>      can someone pin point what is the problem?
>>
>>      Best regards
Reply | Threaded
Open this post in threaded view
|

Re: OSMF having playing problems when used in OSGi context

Alex Harui-2
Adobe typically publishes two packages, one with a compiler and one for Flex without a compiler (because Flex has its own compiler).  Are you sure you checked the right urls?

-Alex

On 7/24/19, 7:22 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:

    I tried to reinstall the Apache Flex SDK 4.16.1 with AIR SDK 32 and noticed that the AIRSDK_Compiler.zip file which is downloaded by the Apache Flex installer is different in size compared to what is available on adobe latest release web site.
   
    Flex installer file size : 418 MB
    Adobe latest release file size : 454 MB
   
    My question is did adobe update the file at Flex's installer URL?
   
    Flex installer URL: Downloading Adobe AIR Runtime Kit for Windows from: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fairdownload.adobe.com%2Fair%2Fwin%2Fdownload%2F32.0%2F%2FAdobeAIRSDK.zip&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=ay1i8FuzYQoHUWVeYdNtRxbTMITqjuJifXzIUEni8hQ%3D&amp;reserved=0
   
    Adobe latest URL: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fairdownload.adobe.com%2Fair%2Fwin%2Fdownload%2Flatest%2FAIRSDK_Compiler.zip&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=TbW1gs0DWOzQvbICRl3TFpuldVfI34R1rEZ6XCROG4c%3D&amp;reserved=0
   
    17.07.2019, 16:12, "Frost, Andrew" <[hidden email]>:
    > Hi
    >
    > It might be worth trying again with the very latest AIR SDK 32 version, there had been some beta releases from Adobe that caused issues with multimedia playback on some platforms but I believe they are resolved now..
    >
    > thanks
    >
    >    Andrew
    >
    > -----Original Message-----
    > From: Ramazan Ergüder Bekrek <[hidden email]>
    > Sent: 17 July 2019 11:39
    > To: [hidden email]
    > Subject: [EXTERNAL] Re: OSMF having playing problems when used in OSGi context
    >
    > Hi Alex,
    >
    > I found out what was the problem and to my astonishment the problem is coming from the Adobe AIR 32+ version.
    > Let me explain ... My software is working perfectly up until AIR SDK 31 and below. I was doing test with previous version from 31 and it works well. It seems that Adobe did a change and it broke OSMF working on AIR SDK 32.
    >
    > What happened exactly? What change did they integrate in the flash player so that OSMF doesn't work at all anymore.
    >
    > Best Regards
    >
    > 14.06.2019, 18:50, "Alex Harui" <[hidden email]>:
    >>  Hi Ramazan,
    >>
    >>  This project does not officially support OSMF. The Flex project uses OSMF as a dependency, and Royale may as well someday, but there aren't any members of the Flex or Royale project who know the code and Flex and Royale are not the home for the OSMF source code.
    >>
    >>  Some folks on the Flex and Royale mailing lists may have experience using OSMF, but I'm not one of them. Your email was hard to read, can you make it easier to see the difference in the logs? It isn't clear to me if you are somehow using AIR as the runtime in an OSGI bundle that is part of some other large application or what. Anytime you wrap a runtime in a bundle there may be restrictions on what that bundle can access.
    >>
    >>  HTH,
    >>  -Alex
    >>
    >>  On 6/14/19, 4:28 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >>
    >>      I've created an OSMF plugin which fetch videos from youtube and then play them when the url is received.
    >>      When I test my plugin in an Adobe AIR Desktop project the video plays without a problem.
    >>      The code for the test app is the folowing:
    >>
    >>      https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Fbn9kBrK0&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=udYj5NDEsKZ7aOiCIHEz0OPeVY7JDbPsbOlqQvnj8eM%3D&amp;reserved=0
    >>
    >>      the log trace is the following:
    >>
    >>      Success
    >>      Fri Jun 14 2019 01:10:49 PM.379 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
    >>      Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    >>      Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    >>      Fri Jun 14 2019 01:10:49 PM.400 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
    >>      Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    >>      Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    >>      Fri Jun 14 2019 01:10:49 PM.590 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
    >>      Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    >>      Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    >>      Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    >>      Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    >>      Fri Jun 14 2019 01:10:49 PM.694 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Full
    >>
    >>      and the video appears well : https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FIjmMyE3.png&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=PrW2csmxkwfcTJI8v%2F%2FyljuJCWfd8YL0MLPcVbeaBJg%3D&amp;reserved=0
    >>
    >>      here is my problem, when I'm trying to use my OSMF plugin run the plugin in a dynamic app packaged as an OSGi bundle with an activator my plugin fails to play the video.
    >>
    >>      the log output is this:
    >>
    >>      New Trait removed : load
    >>      New Trait added : load
    >>      Fri Jun 14 2019 01:14:42 PM.541 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
    >>      New Trait added : audio
    >>      New Trait added : buffer
    >>      New Trait added : time
    >>      onStateChange : {0} durationChange
    >>      New Trait added : displayObject
    >>      New Trait added : play
    >>      onStateChange : {0} playing
    >>      Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    >>      Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    >>      Fri Jun 14 2019 01:14:42 PM.564 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
    >>      Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    >>      Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    >>      Fri Jun 14 2019 01:14:42 PM.709 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
    >>      onStateChange : {0} buffering
    >>      onStateChange : {0} durationChange
    >>      Number of blocks : 234
    >>      Segment length in seconds : 5
    >>      New Trait added : seek
    >>      Fri Jun 14 2019 01:14:42 PM.737 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Failed
    >>      onStateChange : {0} playbackError
    >>      Number of blocks : 0
    >>      Segment length in seconds : 5
    >>      onStateChange : {0} durationChange
    >>      Number of blocks : 0
    >>      Segment length in seconds : 5
    >>      Fri Jun 14 2019 01:14:42 PM.738 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop
    >>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    >>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    >>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    >>      Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    >>
    >>      can someone pin point what is the problem?
    >>
    >>      Best regards
   

Reply | Threaded
Open this post in threaded view
|

Re: OSMF having playing problems when used in OSGi context

Ramazan Ergüder Bekrek
Well my last post was a confirmation that I checked the urls so the installation and see for yourself.

25.07.2019, 09:19, "Alex Harui" <[hidden email]>:

> Adobe typically publishes two packages, one with a compiler and one for Flex without a compiler (because Flex has its own compiler). Are you sure you checked the right urls?
>
> -Alex
>
> On 7/24/19, 7:22 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>
>     I tried to reinstall the Apache Flex SDK 4.16.1 with AIR SDK 32 and noticed that the AIRSDK_Compiler.zip file which is downloaded by the Apache Flex installer is different in size compared to what is available on adobe latest release web site.
>
>     Flex installer file size : 418 MB
>     Adobe latest release file size : 454 MB
>
>     My question is did adobe update the file at Flex's installer URL?
>
>     Flex installer URL: Downloading Adobe AIR Runtime Kit for Windows from: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fairdownload.adobe.com%2Fair%2Fwin%2Fdownload%2F32.0%2F%2FAdobeAIRSDK.zip&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=ay1i8FuzYQoHUWVeYdNtRxbTMITqjuJifXzIUEni8hQ%3D&amp;reserved=0
>
>     Adobe latest URL: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fairdownload.adobe.com%2Fair%2Fwin%2Fdownload%2Flatest%2FAIRSDK_Compiler.zip&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=TbW1gs0DWOzQvbICRl3TFpuldVfI34R1rEZ6XCROG4c%3D&amp;reserved=0
>
>     17.07.2019, 16:12, "Frost, Andrew" <[hidden email]>:
>     > Hi
>     >
>     > It might be worth trying again with the very latest AIR SDK 32 version, there had been some beta releases from Adobe that caused issues with multimedia playback on some platforms but I believe they are resolved now..
>     >
>     > thanks
>     >
>     > Andrew
>     >
>     > -----Original Message-----
>     > From: Ramazan Ergüder Bekrek <[hidden email]>
>     > Sent: 17 July 2019 11:39
>     > To: [hidden email]
>     > Subject: [EXTERNAL] Re: OSMF having playing problems when used in OSGi context
>     >
>     > Hi Alex,
>     >
>     > I found out what was the problem and to my astonishment the problem is coming from the Adobe AIR 32+ version.
>     > Let me explain ... My software is working perfectly up until AIR SDK 31 and below. I was doing test with previous version from 31 and it works well. It seems that Adobe did a change and it broke OSMF working on AIR SDK 32.
>     >
>     > What happened exactly? What change did they integrate in the flash player so that OSMF doesn't work at all anymore.
>     >
>     > Best Regards
>     >
>     > 14.06.2019, 18:50, "Alex Harui" <[hidden email]>:
>     >> Hi Ramazan,
>     >>
>     >> This project does not officially support OSMF. The Flex project uses OSMF as a dependency, and Royale may as well someday, but there aren't any members of the Flex or Royale project who know the code and Flex and Royale are not the home for the OSMF source code.
>     >>
>     >> Some folks on the Flex and Royale mailing lists may have experience using OSMF, but I'm not one of them. Your email was hard to read, can you make it easier to see the difference in the logs? It isn't clear to me if you are somehow using AIR as the runtime in an OSGI bundle that is part of some other large application or what. Anytime you wrap a runtime in a bundle there may be restrictions on what that bundle can access.
>     >>
>     >> HTH,
>     >> -Alex
>     >>
>     >> On 6/14/19, 4:28 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>     >>
>     >> I've created an OSMF plugin which fetch videos from youtube and then play them when the url is received.
>     >> When I test my plugin in an Adobe AIR Desktop project the video plays without a problem.
>     >> The code for the test app is the folowing:
>     >>
>     >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Fbn9kBrK0&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=udYj5NDEsKZ7aOiCIHEz0OPeVY7JDbPsbOlqQvnj8eM%3D&amp;reserved=0
>     >>
>     >> the log trace is the following:
>     >>
>     >> Success
>     >> Fri Jun 14 2019 01:10:49 PM.379 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>     >> Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     >> Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     >> Fri Jun 14 2019 01:10:49 PM.400 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>     >> Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     >> Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>     >> Fri Jun 14 2019 01:10:49 PM.590 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>     >> Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     >> Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     >> Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     >> Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>     >> Fri Jun 14 2019 01:10:49 PM.694 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Full
>     >>
>     >> and the video appears well : https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FIjmMyE3.png&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=PrW2csmxkwfcTJI8v%2F%2FyljuJCWfd8YL0MLPcVbeaBJg%3D&amp;reserved=0
>     >>
>     >> here is my problem, when I'm trying to use my OSMF plugin run the plugin in a dynamic app packaged as an OSGi bundle with an activator my plugin fails to play the video.
>     >>
>     >> the log output is this:
>     >>
>     >> New Trait removed : load
>     >> New Trait added : load
>     >> Fri Jun 14 2019 01:14:42 PM.541 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>     >> New Trait added : audio
>     >> New Trait added : buffer
>     >> New Trait added : time
>     >> onStateChange : {0} durationChange
>     >> New Trait added : displayObject
>     >> New Trait added : play
>     >> onStateChange : {0} playing
>     >> Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     >> Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     >> Fri Jun 14 2019 01:14:42 PM.564 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>     >> Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     >> Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>     >> Fri Jun 14 2019 01:14:42 PM.709 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>     >> onStateChange : {0} buffering
>     >> onStateChange : {0} durationChange
>     >> Number of blocks : 234
>     >> Segment length in seconds : 5
>     >> New Trait added : seek
>     >> Fri Jun 14 2019 01:14:42 PM.737 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Failed
>     >> onStateChange : {0} playbackError
>     >> Number of blocks : 0
>     >> Segment length in seconds : 5
>     >> onStateChange : {0} durationChange
>     >> Number of blocks : 0
>     >> Segment length in seconds : 5
>     >> Fri Jun 14 2019 01:14:42 PM.738 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop
>     >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>     >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>     >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>     >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>     >>
>     >> can someone pin point what is the problem?
>     >>
>     >> Best regards
Reply | Threaded
Open this post in threaded view
|

Re: OSMF having playing problems when used in OSGi context

Ramazan Ergüder Bekrek
Sorry about the last message something weird happened with my mouse and keyboard got some things deleted and my keyboard send the message. What I meant is that I did meticulous check before I wrote my first message so to answer your question "yes". You can try from your side if you come up to the same result.

25.07.2019, 12:28, "Ramazan Ergüder Bekrek" <[hidden email]>:

> Well my last post was a confirmation that I checked the urls so the installation and see for yourself.
>
> 25.07.2019, 09:19, "Alex Harui" <[hidden email]>:
>>  Adobe typically publishes two packages, one with a compiler and one for Flex without a compiler (because Flex has its own compiler). Are you sure you checked the right urls?
>>
>>  -Alex
>>
>>  On 7/24/19, 7:22 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>>
>>      I tried to reinstall the Apache Flex SDK 4.16.1 with AIR SDK 32 and noticed that the AIRSDK_Compiler.zip file which is downloaded by the Apache Flex installer is different in size compared to what is available on adobe latest release web site.
>>
>>      Flex installer file size : 418 MB
>>      Adobe latest release file size : 454 MB
>>
>>      My question is did adobe update the file at Flex's installer URL?
>>
>>      Flex installer URL: Downloading Adobe AIR Runtime Kit for Windows from: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fairdownload.adobe.com%2Fair%2Fwin%2Fdownload%2F32.0%2F%2FAdobeAIRSDK.zip&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=ay1i8FuzYQoHUWVeYdNtRxbTMITqjuJifXzIUEni8hQ%3D&amp;reserved=0
>>
>>      Adobe latest URL: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fairdownload.adobe.com%2Fair%2Fwin%2Fdownload%2Flatest%2FAIRSDK_Compiler.zip&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=TbW1gs0DWOzQvbICRl3TFpuldVfI34R1rEZ6XCROG4c%3D&amp;reserved=0
>>
>>      17.07.2019, 16:12, "Frost, Andrew" <[hidden email]>:
>>      > Hi
>>      >
>>      > It might be worth trying again with the very latest AIR SDK 32 version, there had been some beta releases from Adobe that caused issues with multimedia playback on some platforms but I believe they are resolved now..
>>      >
>>      > thanks
>>      >
>>      > Andrew
>>      >
>>      > -----Original Message-----
>>      > From: Ramazan Ergüder Bekrek <[hidden email]>
>>      > Sent: 17 July 2019 11:39
>>      > To: [hidden email]
>>      > Subject: [EXTERNAL] Re: OSMF having playing problems when used in OSGi context
>>      >
>>      > Hi Alex,
>>      >
>>      > I found out what was the problem and to my astonishment the problem is coming from the Adobe AIR 32+ version.
>>      > Let me explain ... My software is working perfectly up until AIR SDK 31 and below. I was doing test with previous version from 31 and it works well. It seems that Adobe did a change and it broke OSMF working on AIR SDK 32.
>>      >
>>      > What happened exactly? What change did they integrate in the flash player so that OSMF doesn't work at all anymore.
>>      >
>>      > Best Regards
>>      >
>>      > 14.06.2019, 18:50, "Alex Harui" <[hidden email]>:
>>      >> Hi Ramazan,
>>      >>
>>      >> This project does not officially support OSMF. The Flex project uses OSMF as a dependency, and Royale may as well someday, but there aren't any members of the Flex or Royale project who know the code and Flex and Royale are not the home for the OSMF source code.
>>      >>
>>      >> Some folks on the Flex and Royale mailing lists may have experience using OSMF, but I'm not one of them. Your email was hard to read, can you make it easier to see the difference in the logs? It isn't clear to me if you are somehow using AIR as the runtime in an OSGI bundle that is part of some other large application or what. Anytime you wrap a runtime in a bundle there may be restrictions on what that bundle can access.
>>      >>
>>      >> HTH,
>>      >> -Alex
>>      >>
>>      >> On 6/14/19, 4:28 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
>>      >>
>>      >> I've created an OSMF plugin which fetch videos from youtube and then play them when the url is received.
>>      >> When I test my plugin in an Adobe AIR Desktop project the video plays without a problem.
>>      >> The code for the test app is the folowing:
>>      >>
>>      >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Fbn9kBrK0&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=udYj5NDEsKZ7aOiCIHEz0OPeVY7JDbPsbOlqQvnj8eM%3D&amp;reserved=0
>>      >>
>>      >> the log trace is the following:
>>      >>
>>      >> Success
>>      >> Fri Jun 14 2019 01:10:49 PM.379 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>>      >> Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      >> Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      >> Fri Jun 14 2019 01:10:49 PM.400 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>>      >> Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      >> Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>      >> Fri Jun 14 2019 01:10:49 PM.590 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>>      >> Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      >> Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      >> Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      >> Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>      >> Fri Jun 14 2019 01:10:49 PM.694 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Full
>>      >>
>>      >> and the video appears well : https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FIjmMyE3.png&amp;data=02%7C01%7Caharui%40adobe.com%7C6677a8fcbb8f4e40a8c308d710426420%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636995749654704174&amp;sdata=PrW2csmxkwfcTJI8v%2F%2FyljuJCWfd8YL0MLPcVbeaBJg%3D&amp;reserved=0
>>      >>
>>      >> here is my problem, when I'm trying to use my OSMF plugin run the plugin in a dynamic app packaged as an OSGi bundle with an activator my plugin fails to play the video.
>>      >>
>>      >> the log output is this:
>>      >>
>>      >> New Trait removed : load
>>      >> New Trait added : load
>>      >> Fri Jun 14 2019 01:14:42 PM.541 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
>>      >> New Trait added : audio
>>      >> New Trait added : buffer
>>      >> New Trait added : time
>>      >> onStateChange : {0} durationChange
>>      >> New Trait added : displayObject
>>      >> New Trait added : play
>>      >> onStateChange : {0} playing
>>      >> Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      >> Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      >> Fri Jun 14 2019 01:14:42 PM.564 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
>>      >> Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      >> Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>      >> Fri Jun 14 2019 01:14:42 PM.709 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
>>      >> onStateChange : {0} buffering
>>      >> onStateChange : {0} durationChange
>>      >> Number of blocks : 234
>>      >> Segment length in seconds : 5
>>      >> New Trait added : seek
>>      >> Fri Jun 14 2019 01:14:42 PM.737 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Failed
>>      >> onStateChange : {0} playbackError
>>      >> Number of blocks : 0
>>      >> Segment length in seconds : 5
>>      >> onStateChange : {0} durationChange
>>      >> Number of blocks : 0
>>      >> Segment length in seconds : 5
>>      >> Fri Jun 14 2019 01:14:42 PM.738 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop
>>      >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
>>      >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
>>      >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
>>      >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
>>      >>
>>      >> can someone pin point what is the problem?
>>      >>
>>      >> Best regards
Reply | Threaded
Open this post in threaded view
|

Re: OSMF having playing problems when used in OSGi context

Alex Harui-2
I'm still on vacation so have limited time.  Also my email client munges URLs, but it appears that you are comparing the version with the Compiler in it with the one that Flex uses that does not have the compiler in it.

HTH,
-Alex

On 7/25/19, 8:08 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:

    Sorry about the last message something weird happened with my mouse and keyboard got some things deleted and my keyboard send the message. What I meant is that I did meticulous check before I wrote my first message so to answer your question "yes". You can try from your side if you come up to the same result.
   
    25.07.2019, 12:28, "Ramazan Ergüder Bekrek" <[hidden email]>:
    > Well my last post was a confirmation that I checked the urls so the installation and see for yourself.
    >
    > 25.07.2019, 09:19, "Alex Harui" <[hidden email]>:
    >>  Adobe typically publishes two packages, one with a compiler and one for Flex without a compiler (because Flex has its own compiler). Are you sure you checked the right urls?
    >>
    >>  -Alex
    >>
    >>  On 7/24/19, 7:22 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >>
    >>      I tried to reinstall the Apache Flex SDK 4.16.1 with AIR SDK 32 and noticed that the AIRSDK_Compiler.zip file which is downloaded by the Apache Flex installer is different in size compared to what is available on adobe latest release web site.
    >>
    >>      Flex installer file size : 418 MB
    >>      Adobe latest release file size : 454 MB
    >>
    >>      My question is did adobe update the file at Flex's installer URL?
    >>
    >>      Flex installer URL: Downloading Adobe AIR Runtime Kit for Windows from: https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fairdownload.adobe.com%2Fair%2Fwin%2Fdownload%2F32.0%2F%2FAdobeAIRSDK.zip&amp;data=02%7C01%7Caharui%40adobe.com%7C3785cc56390d4c3d45a308d71111ffb4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636996641315363041&amp;sdata=n8EtkmbdWupF5Y1lW%2BvluOtqv5HVtq0OjbRQTs4rRxs%3D&amp;reserved=0
    >>
    >>      Adobe latest URL: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fairdownload.adobe.com%2Fair%2Fwin%2Fdownload%2Flatest%2FAIRSDK_Compiler.zip&amp;data=02%7C01%7Caharui%40adobe.com%7C3785cc56390d4c3d45a308d71111ffb4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636996641315363041&amp;sdata=oVFmfptziBWfS76cxZHwI8ywlWyN6JrfQOMCAUK7PBI%3D&amp;reserved=0
    >>
    >>      17.07.2019, 16:12, "Frost, Andrew" <[hidden email]>:
    >>      > Hi
    >>      >
    >>      > It might be worth trying again with the very latest AIR SDK 32 version, there had been some beta releases from Adobe that caused issues with multimedia playback on some platforms but I believe they are resolved now..
    >>      >
    >>      > thanks
    >>      >
    >>      > Andrew
    >>      >
    >>      > -----Original Message-----
    >>      > From: Ramazan Ergüder Bekrek <[hidden email]>
    >>      > Sent: 17 July 2019 11:39
    >>      > To: [hidden email]
    >>      > Subject: [EXTERNAL] Re: OSMF having playing problems when used in OSGi context
    >>      >
    >>      > Hi Alex,
    >>      >
    >>      > I found out what was the problem and to my astonishment the problem is coming from the Adobe AIR 32+ version.
    >>      > Let me explain ... My software is working perfectly up until AIR SDK 31 and below. I was doing test with previous version from 31 and it works well. It seems that Adobe did a change and it broke OSMF working on AIR SDK 32.
    >>      >
    >>      > What happened exactly? What change did they integrate in the flash player so that OSMF doesn't work at all anymore.
    >>      >
    >>      > Best Regards
    >>      >
    >>      > 14.06.2019, 18:50, "Alex Harui" <[hidden email]>:
    >>      >> Hi Ramazan,
    >>      >>
    >>      >> This project does not officially support OSMF. The Flex project uses OSMF as a dependency, and Royale may as well someday, but there aren't any members of the Flex or Royale project who know the code and Flex and Royale are not the home for the OSMF source code.
    >>      >>
    >>      >> Some folks on the Flex and Royale mailing lists may have experience using OSMF, but I'm not one of them. Your email was hard to read, can you make it easier to see the difference in the logs? It isn't clear to me if you are somehow using AIR as the runtime in an OSGI bundle that is part of some other large application or what. Anytime you wrap a runtime in a bundle there may be restrictions on what that bundle can access.
    >>      >>
    >>      >> HTH,
    >>      >> -Alex
    >>      >>
    >>      >> On 6/14/19, 4:28 AM, "Ramazan Ergüder Bekrek" <[hidden email]> wrote:
    >>      >>
    >>      >> I've created an OSMF plugin which fetch videos from youtube and then play them when the url is received.
    >>      >> When I test my plugin in an Adobe AIR Desktop project the video plays without a problem.
    >>      >> The code for the test app is the folowing:
    >>      >>
    >>      >> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpastebin.com%2Fbn9kBrK0&amp;data=02%7C01%7Caharui%40adobe.com%7C3785cc56390d4c3d45a308d71111ffb4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636996641315363041&amp;sdata=JeuZbrDi0FD97SCKZMKbRtTGy3%2FFfV75%2B79XnjPgiMs%3D&amp;reserved=0
    >>      >>
    >>      >> the log trace is the following:
    >>      >>
    >>      >> Success
    >>      >> Fri Jun 14 2019 01:10:49 PM.379 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
    >>      >> Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    >>      >> Fri Jun 14 2019 01:10:49 PM.397 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    >>      >> Fri Jun 14 2019 01:10:49 PM.400 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
    >>      >> Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    >>      >> Fri Jun 14 2019 01:10:49 PM.408 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    >>      >> Fri Jun 14 2019 01:10:49 PM.590 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
    >>      >> Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    >>      >> Fri Jun 14 2019 01:10:49 PM.605 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    >>      >> Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    >>      >> Fri Jun 14 2019 01:10:49 PM.606 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    >>      >> Fri Jun 14 2019 01:10:49 PM.694 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Buffer.Full
    >>      >>
    >>      >> and the video appears well : https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpasteboard.co%2FIjmMyE3.png&amp;data=02%7C01%7Caharui%40adobe.com%7C3785cc56390d4c3d45a308d71111ffb4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636996641315373031&amp;sdata=IMgKqiDNoIfufEB022wiL4DaY%2BMWu60ku7Q6nhN%2FiG4%3D&amp;reserved=0
    >>      >>
    >>      >> here is my problem, when I'm trying to use my OSMF plugin run the plugin in a dynamic app packaged as an OSGi bundle with an activator my plugin fails to play the video.
    >>      >>
    >>      >> the log output is this:
    >>      >>
    >>      >> New Trait removed : load
    >>      >> New Trait added : load
    >>      >> Fri Jun 14 2019 01:14:42 PM.541 [DEBUG] [org.osmf.elements.LightweightVideoElement] No DRM Content data available upfront. Play the content and listen for any DRM-related events.
    >>      >> New Trait added : audio
    >>      >> New Trait added : buffer
    >>      >> New Trait added : time
    >>      >> onStateChange : {0} durationChange
    >>      >> New Trait added : displayObject
    >>      >> New Trait added : play
    >>      >> onStateChange : {0} playing
    >>      >> Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    >>      >> Fri Jun 14 2019 01:14:42 PM.564 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    >>      >> Fri Jun 14 2019 01:14:42 PM.564 [INFO] [org.osmf.media.videoClasses.VideoSurface] switchRenderer. currentVideoRenderer = null; the new renderer = [object StageVideo]
    >>      >> Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    >>      >> Fri Jun 14 2019 01:14:42 PM.565 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    >>      >> Fri Jun 14 2019 01:14:42 PM.709 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Start
    >>      >> onStateChange : {0} buffering
    >>      >> onStateChange : {0} durationChange
    >>      >> Number of blocks : 234
    >>      >> Segment length in seconds : 5
    >>      >> New Trait added : seek
    >>      >> Fri Jun 14 2019 01:14:42 PM.737 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Failed
    >>      >> onStateChange : {0} playbackError
    >>      >> Number of blocks : 0
    >>      >> Segment length in seconds : 5
    >>      >> onStateChange : {0} durationChange
    >>      >> Number of blocks : 0
    >>      >> Segment length in seconds : 5
    >>      >> Fri Jun 14 2019 01:14:42 PM.738 [INFO] [org.osmf.net.NetStreamLoadTrait] NetStream.Play.Stop
    >>      >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: BEGIN
    >>      >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] VALIDATING LAYOUT
    >>      >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] LAYOUT VALIDATED
    >>      >> Fri Jun 14 2019 01:14:42 PM.744 [DEBUG] [org.osmf.layout.LayoutRendererBase] ON EXIT FRAME: END
    >>      >>
    >>      >> can someone pin point what is the problem?
    >>      >>
    >>      >> Best regards