Receive multicast stream in Android phone!!

aquarius1302 tavinhloc1302 at gmail.com
Fri Sep 25 08:00:09 PDT 2015


Hi all,

I am writing a application to stream video capture from camera to mobile
devices.
Until now, I do some test with example in gstreamer1.0 rtsp-server. With
both test-launch and test-multicast. They work well but only in unicast.
I want to send multicast RTP stream to mobile device.
I try the following pipeline:

gst-launch-1.0 filesrc location=(mp4 or mov) ! qtdemux name=d d. ! h264parse
! rtph264pay config-interval=3 pt=96 mtu=1024 ! udpsink host=224.1.1.1
port=5000

Now I can see UDP RTP send to multicast IP. 
And I can receive RTP data and playback normally with my SDP file test.sdp
c=IN IP4 224.1.1.1
m=video 5000 RTP/AVP 96
a=rtpmap:96 H264/90000

I run VLC on PC with this SDP file:
vlc test.sdp

But now I want to receive that stream in my android deivce? But I don't know
how to let the android know the SDP format? 
Are there andy helpful idea? Android 3rd application? Implement media player
Android device? SDP send from server?

I use camera connect to raspberry and use raspberry to stream multicast to
android.

Reagards,
VinhLoc




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Receive-multicast-stream-in-Android-phone-tp4673837.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list