So I and trying to compile a new StrobeMediaPlayer.swf file from the StobeMediaPlayer.as and associated libraries. I'm getting the following errors when I perform an Export --> Release Build:
Encountered errors or warnings while building project StrobeMediaPlayback.as
MulticastNetLoader.as: The definition of base class MulticastNetLoader was not found.
MulticastNetLoader.as: Method marked overide must override another method.
VideoInfoOverlay.as: Type was not found or was not a compile-time constant: VideoSurface.
VideoInfoOverlay.as: Access of undefined property OSMFSettings.
VideoInfoOverlay.as: Access of undefined property VideoSurface.
VideoInfoOverlay.as: Type was not found or was not a compile-time constant: VideoSurfaceInfo.
VideoInfoOverlay.as: Access of possibly undefined property netGroup through a reference with static type org.osmf.net:NetStreamLoadTrait.
VideoInfoOverlay.as: Definition org.osmf.media.videoClasses:VideoSurface could not be found.
VideoInfoOverlay.as: Definition org.osmf.media.videoClasses:VideoSurfaceInfo could not be found.
VideoInfoOverlay.as: Definition org.osmf.utils:OSMFSettings could not be found.
StrobeMediaPlayer.as: Access of undefined property isDVRRecording.
Has anyone encountered this. I know OSMF 2.0 has been recently released. I could go back to 1.6, but some of the ABR features are very appealing.
Just checking... do you know about this build document? It might help...
Yes, I know about this document. Have gone thru it extensively. I'm not using command-line tools to compile though. Using AFB 4. There is not much documentation using Flex 4.5.1 with OSMF 2.0. I can get it to compile with OSMF 1.6 just fine. I prefer to use Flex 4.6 SDK with OSMF 2.0.
OSMF 2.0 has a SWC included in the download files at http://sourceforge.net/projects/osmf.adobe/files/OSMF%202.0%20Release% 20%28final%20source%2C%20ASDocs%2C%20pdf%20guides%20and%20release%20no tes%29/OSMF.swc/download - you could use it.
Please replace also the OSMF1_6_FP10.swc - or don't use this old swc .
Sorry, instructions for building OSMF.swf are in http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS6f97d7caa66ef 6eb1e63e3d11b6c4d0d21-7fe6.html. Not sure why it's not already built, but I'm sure there's a good reason.