Now I'm using ffmpeg to mux video/audio stream into ts stream firstly,and then use libvlc_new_media_callbacks() to feed my ts stream to libvlc,it works fine, but has below problems:
- I put the media instance created by libvlc_new_media_callbacks() into a player instance,the player can play the stream,but the delay time is too long,it is 1.5s at least,how can I short the delay?
- What's the mrl of the media created by libvlc_new_media_callbacks()? I want to stream the ts stream over network using libvlc_vlm_add_broadcast(),but the api require the mrl of input media,I had tried using "imem://" as mrl,but I failed,vlc log report it can not find input module for "imem://", so what's the mrl of the media?