- Android Application
SimpleMjpegView was modified using Audiotrack.
Source code is available here. (TBD)
- Gstreamer SettingsTX (RPi)
gst-launch -v v4l2src ! ffmpegcolorspace ! video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)30/1 ! queue ! videorate ! video/x-raw-yuv,framerate=15/1 ! jpegenc quality=50 ! multipartmux ! tcpserversink host=x.x.x.x port=5000 sync=false alsasrc device=hw:1 ! audioconvert ! audioresample ! 'audio/x-raw-int,rate=8000,width=16,channels=1' ! udpsink host=x.x.x.x port=5001(Note: host IP address should be android IP address.)
EW-7781Uh WiFi dongle
Android phone (Droid X)
Android application was tested.
Jpecenc and PCM was used for video and audio encoder, respectively.
The audio latency was still not so great (~1 sec), but video was reasonable (< 1 sec).
RPi CPU usage was around 70%. (top command)