ireader / media-server

RTSP/RTP/RTMP/FLV/HLS/MPEG-TS/MPEG-PS/MPEG-DASH/MP4/fMP4/MKV/WebM
MIT License
3.1k stars 1.08k forks source link

need help about live streaming h264 rtp/udp #176

Open jcyhcs opened 3 years ago

jcyhcs commented 3 years ago

hi,professor: i want to encode opencv Mat frame to h264, then send packet to server with rtp/udp, is there any possible to use this library? is there any demos? please HELP ME!

MengGang0725 commented 1 week ago

just simply use rtp_payload_encode_create to create a packer, and send the H.264 frame to the payload_encode_input method, you will get each sperate rtp packet.