GStreamer streaming - has client to start first?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GStreamer streaming - has client to start first?

Jump to solution
1,798 Views
martink_
Contributor I

Hi community,

I am able to stream h264 or MPEG4 video. Client (player) has to be started first and then start streaming (start server).

What I need is to be able to connect to the already playing stream (start client after server).

Both server and client run on same i.MX6 device.

Server example: gst-launch-0.10 -vvv filesrc location=bruce.mp4 typefind=true ! qtdemux name=demux demux.video_00 ! queue ! h264parse split-packetized=true ! mpegtsmux ! rtpmp2tpay ! gdppay ! udpsink host=239.255.1.1 port=5004

Client example: gst-launch-0.10 -vvv udpsrc port=5004 multicast-group=239.255.1.1 caps="application/x-gdp" ! gdpdepay ! gstrtpjitterbuffer ! rtpmp2tdepay ! mpegtsdemux name=demux ! queue max-size-buffers=0 max-size-time=0 ! vpudec low-latency=true framedrop=true ! mfw_isink sync=false

Tags (2)
0 Kudos
1 Solution
1,076 Views
martink_
Contributor I

Sorry, my mistake. Done.

View solution in original post

0 Kudos
2 Replies
1,076 Views
Wlodek_D_
Senior Contributor II

Dear Martin K.

Thank you for your post, however please consider moving it to the right community place (e.g. i.MX Community )  for better visibility.

For details please see general advice https://community.freescale.com/docs/DOC-99909

Thank you for using Freescale Community.

Regards,

Wlodek_D.

0 Kudos
1,077 Views
martink_
Contributor I

Sorry, my mistake. Done.

0 Kudos