Play RTMP stream on Android with gstreamer -


i'm new in gstreamer. i'm trying create pipeline able play rtmp stream. googled lot, , understood, must recode video other format. pipeline:

data->pipeline = gst_parse_launch("rtmpsrc location=\"rtmp://193.93.236.33:443/rtmp&file=lenina347 live=1\" ! glimagesink name=sink sync=false", &error); 

i understand should add plugins between rtmpsrc , glimagesink. question is: what shoud add?

i found solution of problem. now, i'm using playbin play rtmp stream. playbin support playing rtmp out of box, it's important pass location property right link, i.e.:

rtmp://hostname[:port]/path/rtmpfile.

**important ** there must 2 slashes after hostname. noticed port optional.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -