i want to push live stream with rtmp,is there any example ?

i use opencv videocapture obtain frame, then i deal with it, the opencv Mat is output,then i want to transfer these datas to rtmp server, how can i do it? any example codes for me(C/C++)?,please help me!

Hi,
There are posts about rtsp, udp.
[url]https://devtalk.nvidia.com/default/topic/1014789/jetson-tx1/-the-cpu-usage-cannot-down-use-cuda-decode-/post/5188538/#5188538[/url]
[url]https://devtalk.nvidia.com/default/topic/1043770/jetson-tx2/problems-minimizing-latency-and-maximizing-quality-for-rtsp-and-mpeg-ts-/post/5295828/#5295828[/url]
[url]https://devtalk.nvidia.com/default/topic/1049924/jetson-agx-xavier/using-rtsp-encode-with-h264-and-stream-images-at-device-memory-on-xavier-/post/5331159/#5331159[/url]
[url]https://devtalk.nvidia.com/default/topic/1027423/jetson-tx2/gstreamer-issue-on-tx2/post/5225972/#5225972[/url]

Other users may have experience of running rtmp.