clappr-rtmp-plugin icon indicating copy to clipboard operation
clappr-rtmp-plugin copied to clipboard

If you try to build RTMP.swf on windows you will get stuck

Open Red-Killer opened this issue 2 years ago • 0 comments

If you try to build RTMP.swf on windows using git bash you will get this error

command line
Error: unable to open 'C:\Users\RedKiller\Desktop\clappr-rtmp-plugin-0.0.19\src\OSMF.swc:.\SMILPlugin.swc'.

to fix it basically change the content of build_player.sh in ./src folder to this $(find $HOME/airsdk/ -name mxmlc | sed -n 1p) -default-background-color=0x000000 -define CONFIG::LOGGING false -define CONFIG::MOCK false -define CONFIG::PLATFORM true -define CONFIG::FLASH_10_1 true -default-size=640,360 -language=as3 -output=../public/RTMP.swf -optimize=true -compress=true -use-gpu=true -target-player=11.1 -use-network=false RTMP.as -library-path+=./OSMF.swc -library-path+=./SMILPlugin.swc

Red-Killer avatar Apr 30 '23 16:04 Red-Killer