Gstreamer in android

sej sergio.espi at embention.com
Sun Jan 26 13:37:46 UTC 2020


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/


More information about the gstreamer-devel mailing list