osmf-hls-plugin
osmf-hls-plugin copied to clipboard
Verify error, but only when compiled for release?
Hi, This one has me stumped, it may well be something I'm doing, but I can't see what! Any pointers are welcome.
- I am using Charles web proxy to ensure crossdomain.xml always returns a valid and very permissive crossdomain.xml (no domain security issues)
- When running in debug, I can view .m3u8 content absolutely perfectly as per https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8 https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8
- If I compile the exact same content, using the exact same code, and the exact same media, but with a SWF compiled without debugger, I invariably get a Verify error as per the below
VerifyError: Error #1021: At least one branch target was not on a valid instruction in the method.
at org.denivip.osmf.net.httpstreaming.hls::HTTPStreamingMP2TSFileHandler/flushFileSegment()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamSource/doSomeProcessingAndGetBytes()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamSource/getBytes()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamMixer/doSomeProcessingAndGetBytes()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamMixer/getBytes()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSNetStream/onMainTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
G
What compiler you use?
It's the most current one for FlashBuilder - comes with AIR4.0 - it's the ASC2.0 compiler. G
Can you rebuild plugin with compc compiler from Flex 4.6 SDK (available here http://www.adobe.com/devnet/flex/flex-sdk-download.html)? You can use Ant build system or *.bat scripts to do this,
Hi,
I’ve tried compiling using –swf-version=12 as a compile argument and that should do the same thing – the ASC2.0 compiler became the standard for after version 12 and specifying swf-version=12 uses the compiler from 4.6.0.
I am seeing the same issue:
VerifyError: Error #1021: At least one branch target was not on a valid instruction in the method.
at org.denivip.osmf.net.httpstreaming.hls::HTTPStreamingMP2TSFileHandler/flushFileSegment()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamSource/doSomeProcessingAndGetBytes()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSStreamSource/getBytes()
at org.denivip.osmf.net.httpstreaming.hls::HTTPHLSNetStream/onMainTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
This happens immediately that a stream starts to load but, as I say, doesn’t happen with debugger (it works very nicely with debugger).
Any clues as to what I can do to resolve this? I would prefer not to require an entirely separate project to compile this as all other OSMF libraries are working fine together and, obviously, it is way easier to debug when you can chase things through the code.
Thanks, G
From: D3adKnight [mailto:[email protected]] Sent: 22 March 2014 12:36 To: denivip/osmf-hls-plugin Cc: GaiusCoffey Subject: Re: [osmf-hls-plugin] Verify error, but only when compiled for release? (#89)
Can you rebuild plugin with compc compiler from Flex 4.6 SDK (available here http://www.adobe.com/devnet/flex/flex-sdk-download.html)? You can use Ant build system or *.bat scripts to do this,
— Reply to this email directly or view it on GitHub https://github.com/denivip/osmf-hls-plugin/issues/89#issuecomment-38350381 . https://github.com/notifications/beacon/1902699__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMTExMDk2NCwiZGF0YSI6eyJpZCI6MjY5MjY3NzJ9fQ==--d0d09f91b866c6604d04336576089cc46ee56038.gif
Hi, I've logged a bug ticket here; https://bugbase.adobe.com/index.cfm?event=bug&id=4109701
Please vote for it! Thanks, G
hi, GaiusCoffey Has this problem been solved yet? The same problem happened to me。
No, no progress. I have logged a ticket with Adobe as I suspect it is a plugin issue. Please vote on that ticket! (See link above.) G