android - how to send video stream from java to flex netstream? -



android - how to send video stream from java to flex netstream? -

does know how send video info stream 1 side written java side written flex , display it? know on flex 1 method utilize netstream class real-time video stream , bind videodisplay display it. class should utilize send video stream in java , class need utilize in flex receive flow , pass netstream class?

does have ideas that?

thanks!

check out red5 - http://www.red5.org/

it's free open source platform streaming media flash / flex. it's been around years , quite mature.

telling how implement particular situation out of scope of q&a format, can tell experience red5 easy implement solution relative rolling own or flash media server (which pricey!)

more tutorials , examples here: http://trac.red5.org/wiki/documentation

if decide write own (why?) - check out java media framework (jmf) - http://www.oracle.com/technetwork/java/javase/specdownload-136569.html

for android - you're going want take @ :

android.hardware.camera; android.media.mediarecorder;

then along lines of :

recorder = new mediarecorder(); recorder.setaudiosource(mediarecorder.audiosource.mic); recorder.setvideosource(mediarecorder.videosource.default); recorder.setoutputformat(mediarecorder.outputformat.mpeg_4); recorder.setaudioencoder(mediarecorder.audioencoder.aac); recorder.setvideoencoder(mediarecorder.videoencoder.h264); // might seek mpeg_4_sp recorder.start();

i specified in above codecs in format friendly flash.

java android flex

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -