One way to do it would be via FFMpeg.
You can run FFMpeg via a NativeProcess from AIR. However, the air application
then needs to be compiled as a native application (exe, dmg).
http://help.adobe.com/en_US/air/html/dev/WSb2ba3b1aad8a27b060d22f991220f00ad8a-8000.html
regards,
Peter
On 25/09/2017 23:25, Nicholas Kwiatkowski wrote:
David,
Unfortunately, Adobe's FMS (now Adobe Media Server) does not support
sending content from Flex/AIR/JS, unless it is from a camera input. No
idea why they didn't implement it, but you have to use their proprietary
client to do the streaming.
Wowza allows you to stream MP4 files via an HTTP Post, which you can do
with AIR/Flex. The only gotcha I would note is the file size that you want
to stream -- anything over 2GB will start to cap out the memory in the AIR
client and won't produce favorable results.
-Nick
On Thu, Sep 21, 2017 at 3:49 PM, David Frank <david.fr...@on24.com> wrote:
Hi there Flex experts!
Does Apache AIR SDK have support for streaming a video file (mp4) to a
media server (FMS/Wowza)? I know how to stream a camera feed to a media
server. But what I need is to be able to stream a local mp4 file to a media
server. This mp4 file will then get re-streamed to other peers from the
media server.
Is this possible using the NetStream/NetConnection/Other classes? If it
isn't directly possible to do this, then is there a way I can simulate the
video as a camera feed and then attach this to the NetStream instance?
Thank you,
David Frank