Lines Matching refs:rtmp
168 sink->rtmp = RTMP_Alloc (); in gst_rtmp_sink_start()
170 if (!sink->rtmp) { in gst_rtmp_sink_start()
175 RTMP_Init (sink->rtmp); in gst_rtmp_sink_start()
176 if (!RTMP_SetupURL (sink->rtmp, sink->rtmp_uri)) { in gst_rtmp_sink_start()
185 RTMP_EnableWrite (sink->rtmp); in gst_rtmp_sink_start()
193 if (sink->rtmp) { in gst_rtmp_sink_start()
194 RTMP_Free (sink->rtmp); in gst_rtmp_sink_start()
195 sink->rtmp = NULL; in gst_rtmp_sink_start()
211 if (sink->rtmp) { in gst_rtmp_sink_stop()
212 RTMP_Close (sink->rtmp); in gst_rtmp_sink_stop()
213 RTMP_Free (sink->rtmp); in gst_rtmp_sink_stop()
214 sink->rtmp = NULL; in gst_rtmp_sink_stop()
231 if (sink->rtmp == NULL) { in gst_rtmp_sink_render()
244 if (!RTMP_IsConnected (sink->rtmp)) { in gst_rtmp_sink_render()
245 if (!RTMP_Connect (sink->rtmp, NULL)) in gst_rtmp_sink_render()
248 if (!RTMP_ConnectStream (sink->rtmp, 0)) { in gst_rtmp_sink_render()
249 RTMP_Close (sink->rtmp); in gst_rtmp_sink_render()
274 if (RTMP_Write (sink->rtmp, (char *) map.data, map.size) <= 0) in gst_rtmp_sink_render()
298 RTMP_Free (sink->rtmp); in gst_rtmp_sink_render()
299 sink->rtmp = NULL; in gst_rtmp_sink_render()