Receive multicast stream in Android

VLC for Android and Chrome OS specific usage questions
aquarius1302
New Cone
New Cone
Posts: 1
Joined: 25 Sep 2015 17:13

Receive multicast stream in Android

Postby aquarius1302 » 25 Sep 2015 17:20

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
My question is:
How I can receive that RTP stream in my mobile - I dont know how to let the VLC on android know the SDP format?

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

Reagards,
VinhLoc

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Receive multicast stream in Android

Postby edwardw » 30 Sep 2015 08:26

You can open a URL to the .sdp file as a network stream as with VLC for Desktop.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: Spike1 and 65 guests