rainbowcreatures / FlashyWrappers

AIR / Flash video recording SDK
17 stars 10 forks source link

is this compatible with Flash Media Server? #35

Open AlexUrrutia opened 6 years ago

AlexUrrutia commented 6 years ago

Can I use this to stream live h264 video from Android to FMS? (Flash Media Server)

rainbowcreatures commented 6 years ago

Hey, this is purely for offline recording into mp4 file.

AlexUrrutia commented 6 years ago

Thank you for the clarification @rainbowcreatures any idea on how to encode H264 video within AIR?

rainbowcreatures commented 6 years ago

@AlexUrrutia AIR doesn't exposes that functionality as you know (you can only see it in their NetStream where it encodes videos sending them to FMS etc.). You'd need a native extension developed for your specific needs. Basically, you need the video encoding part(some of that is present inside FW I guess), but also the networking part / streaming the video to server.

You might also try some other means, like taking advantage of ffmpeg and using that as ANE (I think there's such project). I don't know if that would work, you'd need to research. What I know is ffmpeg would be slow for the encoding part, last time I checked they didn't support hardware accelerated MP4 encoding for Android. Their mp4 encoders are all software, so the strain is all on the CPU, plus, they are GPL'ed.