Gstreamer in android

classic Classic list List threaded Threaded
1 message Options
sej
Reply | Threaded
Open this post in threaded view
|

Gstreamer in android

sej
I'm following the gstreamer tutorials to stream a video from a PC to an
android by udp.
I changed in the tutorial
3(https://gstreamer.freedesktop.org/documentation/tutorials/android/video.html?gi-language=c)
the next line:
  data->pipeline = gst_parse_launch("videotestsrc ! warptv ! videoconvert !
autovideosink", &error);
to
 gst_parse_launch ("udpsrc multicast-group=224.1.1.1 auto-multicast=true
port=5000 caps=\"application/x-rtp, media=(string)video,
clock-rate=(int)90000, encoding-name=(string)H264,
sprop-parameter-sets=(string)\\\"Z0KAHukBQHpCAAAH0AAB1MAIAA\\\\=\\\\=\\\\,aM48gAA\\\\=\\\"\"
! rtph264depay ! decodebin ! autovideosink", &error);
but when I start the app I always see "State changed to PAUSED" and when i
press the play button this state never changes and the app doesn't throw any
error.
Any idea how I can fix that?
Thanks in advance



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel