提交 e4788c1d authored 作者: William King's avatar William King

Cleaning up docs and moving the docs to the wiki.

上级 ebb636f3
You HAVE to have libvlc version 1.2 or later for mod_vlc to work. Both for the reason that
libvlc version 1.2 is LGPL and because there are new api's in 1.2 that are required.
Building and usage:
I used git://git.videolan.org/vlc.git to get the latest version of libvlc.
On debian I had to install:
sudo apt-get install libavcodec-dev libavutil-dev libavformat-dev liba52-0.7.4-dev
My configure line for libvlc was:
./configure --prefix=/usr/ --disable-vlc --disable-lua --disable-mad --disable-swscale --disable-postproc --disable-xcb --disable-alsa
Debian unstable now has VLC 2.0 packaged. I am now testing with the packaged version of the library.
The dialplan syntax I use are one of the following:
<action application="playback" data="vlc://http://example.com/vlc.mp3"/>
<action application="playback" data="vlc://mms://example.com/mms_stream"/>
<action application="playback" data="vlc:///usr/local/freeswitch/sounds/vlc.mp3"/>
Development:
If you are having troubles, first change the value of vlc_args in mod_vlc.c.
The documentation for the libvlc library is located at:
http://www.videolan.org/developers/vlc/doc/doxygen/html/group__libvlc.html
\ No newline at end of file
http://wiki.freeswitch.org/wiki/Mod_vlc
\ No newline at end of file
Following list not in priority order.
1. Determine if a new instance is needed for each independant inbound stream, or if a global instance can handle all inbound and outbound streams
2. Look into libvlc imem and determine if it is possible to stream parts of a call at a time, or if imem requires all of the buffer to be loaded.
a. Add and confirm stream over network functionality
b. Add and confirm stream to file
c. Confirm transcode works to mp3, wav, aac, etc.
3. Test multiple concurrent listeners to the same stream.
a. Look into have a single libvlc thread stream the file and write to the audio buffer, and multiple readers
b. Test multiple input streams simultaniously
c. Load test multiple requests(both multiple to the same stream, and multiple unique streams) to look for issues
4. Enable proper seeking support
5. Add video support
6. Confirm streaming from file works on differnt sample rates. 8k, 16k, etc.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论