![]() ![]() : Specify the input audio data parameters Specify the video codec, it can specify the following value: : Specify the input video data parameters Specify the rtsp stream suffix, you can play the pusher stream from: : Specify the data pusher parameters, it can configure multiple nodes Open the rtsp server configuration file config.xml and edit the pusher node. If it is RTSP mode, it supports standard RTSP push stream, such as FFMPEG rtsp pusher.įfmpeg -re -i test.mp4 -vcodec libx264 -acodec copy -preset ultrafast -f rtsp -rtsp_transport udp rtsp://yourip/pusherįfmpeg -re -i test.mp4 -vcodec libx264 -acodec copy -preset ultrafast -f rtsp -rtsp_transport tcp rtsp://yourip/pusher ![]() The url suffix of the pushed RTSP address can be any legal string. If you use RTSP mode to push data, no configuration is required. ![]() Note: If you use TCP or UDP mode data push, you need to add tag in the rtsp server configuration file, specify the push audio and video parameters and push port, etc. You can download the examples of sending H264 data from the following link: Ttp_len: the RTP payload length, including RTP header If it is TCP mode, you need to add 4 bytes in front of the RTP header, as the following: The data pusher support TCP, UDP and RTSP mode.Īudio and video data are packaged and sent in RTP format. Data pusher means that RTSP server receives external data sources and then sends them out as RTSP streams. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |