[Freeswitch-users] mod_vlc youtube playback
Anonim Stefan
fanx07 at gmail.com
Fri Nov 11 16:31:49 MSK 2016
Hi,
I want to ask if sound/video playback of an youtube URL can be done with
mod_vlc. Looking in freeswitch mod_vlc.c I can see
"vlc_file_supported_formats[argc++] = "youtube";".
I have tried <action application="playback" data="vlc://
https://youtu.be/VoeCcCQuJrM"/> without success:
"
EXECUTE sofia/internal/7479572798 playback(vlc://
https://youtu.be/VoeCcCQuJrM)
2016-11-11 13:23:36.772643 [DEBUG] mod_vlc.c:832 VLC attempt to open
https://youtu.be/VoeCcCQuJrM read
2016-11-11 13:23:36.772643 [DEBUG] mod_vlc.c:857 VLC open
https://youtu.be/VoeCcCQuJrM for reading
2016-11-11 13:23:36.772643 [NOTICE] mod_vlc.c:863 VLC Path is http
https://youtu.be/VoeCcCQuJrM
2016-11-11 13:23:36.772643 [DEBUG] switch_ivr_play_say.c:1467 Codec
Activated L16 at 8000hz 1 channels 20ms
2016-11-11 13:23:36.772643 [DEBUG] mod_vlc.c:242 Got a
libvlc_MediaStateChanged callback. New state: 1
2016-11-11 13:23:37.472579 [DEBUG] mod_vlc.c:242 Got a
libvlc_MediaStateChanged callback. New state: 3
2016-11-11 13:23:37.532634 [DEBUG] mod_vlc.c:242 Got a
libvlc_MediaStateChanged callback. New state: 7
2016-11-11 13:23:37.532634 [DEBUG] mod_vlc.c:227 Got a
libvlc_MediaPlayerEncounteredError callback. mediaPlayer Status: 7
2016-11-11 13:23:37.532634 [ERR] mod_vlc.c:1094 VLC error
2016-11-11 13:23:37.532634 [DEBUG] switch_ivr_play_say.c:1910 done playing
file vlc://https://youtu.be/VoeCcCQuJrM
2016-11-11 13:23:37.572584 [DEBUG] mod_vlc.c:242 Got a
libvlc_MediaStateChanged callback. New state: 5
2016-11-11 13:23:37.572584 [DEBUG] mod_python.c:286 Finished calling python
script
2016-11-11 13:23:37.572584 [DEBUG] switch_cpp.cpp:1107
sofia/internal/7479572798 destroy/unlink session from object
EXECUTE sofia/internal/7479572798 hangup()
"
Couldn't find any documentation/examples about youtube playback using
mod_vlc. Can someone help me with some examples, please?
Thank you,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161111/e9e78d54/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list