I creating server for storing video on server. User connect to server using rtp protocol.
For store one inciming video I use sdp input format. But for opening more then one connect av_read_frame() may be need not blocking thread.
My program create sdp file in memory and use url_open_buf() for send this data to sdp format.