[Freeswitch-users] How to play a stream other than mp3 with mod_shout.

Aqs Younas aqsyounas at gmail.com
Tue Jan 6 19:54:35 MSK 2015


Thanks guys i am able to play a stream with mod_vlc. But when i hangup, i
see my fs_cli flooding with these logs. Is it ok to have these in your
logs.?

EXECUTE sofia/internal/1010 at 192.168.1.28 playback(shout://
online.radiodifusion.net:8024/)
2015-01-06 21:49:21.841076 [DEBUG] mod_vlc.c:354 VLC waiting to close the
files: 34132
2015-01-06 21:49:22.341221 [DEBUG] mod_vlc.c:354 VLC waiting to close the
files: 34132
freeswitch at internal>
freeswitch at internal>
2015-01-06 21:49:22.841088 [DEBUG] mod_vlc.c:354 VLC waiting to close the
files: 50456
2015-01-06 21:49:23.341098 [DEBUG] mod_vlc.c:354 VLC waiting to close the
files: 50456
2015-01-06 21:49:23.841108 [DEBUG] mod_vlc.c:354 VLC waiting to close the
files: 66038
2015-01-06 21:49:24.341107 [DEBUG] mod_vlc.c:354 VLC waiting to close the
files: 66038
2015-01-06 21:49:24.841066 [DEBUG] mod_vlc.c:354 VLC waiting to close the
files: 83104
2015-01-06 21:49:25.341114 [DEBUG] mod_vlc.c:354 VLC waiting to close the
files: 83104
2015-01-06 21:49:25.841237 [WARNING] mod_vlc.c:357 Giving up waiting for
client to empty the audio buffer
2015-01-06 21:49:25.841237 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:26.341107 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:26.841098 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:27.341065 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:27.841100 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:28.341099 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:28.841099 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:29.341125 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:29.841215 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:30.341078 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:30.841089 [DEBUG] mod_vlc.c:365 VLC waiting for clients: 3
2015-01-06 21:49:31.341078 [WARNING] mod_vlc.c:368 Giving up waiting for
client to get the last of the audio stream


On 22 December 2014 at 21:22, Aqs Younas <aqsyounas at gmail.com> wrote:

> Many thanks for you reply. I will try this and get back to you if i face
> any problem.
>
> Really Appreciate your Help.
>
> On 21 December 2014 at 01:57, William King <william.king at quentustech.com>
> wrote:
>
>> Comment out this line:
>> https://github.com/videolan/vlc/blob/master/modules/access/http.c#L366
>>
>> once you install the updated http access module it'll no longer hang.
>>
>> William King
>> Senior Engineer
>> Quentus Technologies, INC
>> 1037 NE 65th St Suite 273
>> Seattle, WA 98115
>> Main:   (877) 211-9337
>> Office: (206) 388-4772
>> Cell:   (253) 686-5518
>> william.king at quentustech.com
>>
>> On 12/20/14 11:03 AM, Aqs Younas wrote:
>> > I installed vlc 2.1.5 from source code using instructions provided in
>> > wiki. https://wiki.freeswitch.org/wiki/Mod_vlc
>> > I am currently using Debian 7.6.
>> >
>> > Thanks for you reply.
>> > Would really appreciate your help.
>> >
>> > On 20 December 2014 at 23:44, William King <
>> william.king at quentustech.com
>> > <mailto:william.king at quentustech.com>> wrote:
>> >
>> >     I wrote mod_vlc and have been working with the libvlc author who
>> added
>> >     the patch that is causing the http streaming to hang.
>> >
>> >     Which OS and version of vlc are you using? If it is a debian distro
>> I
>> >     can provide a patch you can apply while rebuilding libvlc.
>> >
>> >     William King
>> >     Senior Engineer
>> >     Quentus Technologies, INC
>> >     1037 NE 65th St Suite 273
>> >     Seattle, WA 98115
>> >     Main:   (877) 211-9337 <tel:%28877%29%20211-9337>
>> >     Office: (206) 388-4772 <tel:%28206%29%20388-4772>
>> >     Cell:   (253) 686-5518 <tel:%28253%29%20686-5518>
>> >     william.king at quentustech.com <mailto:william.king at quentustech.com>
>> >
>> >     On 12/20/14 9:50 AM, Aqs Younas wrote:
>> >     > Thanks for your reply and time.
>> >     >
>> >     > Could you tell me how long its gonna take or when this feature
>> will be
>> >     > available.?
>> >     >
>> >     > Many thanks for your reply.
>> >     >
>> >     > On 20 December 2014 at 22:45, Anthony Minessale
>> >     > <anthony.minessale at gmail.com <mailto:anthony.minessale at gmail.com>
>> >     <mailto:anthony.minessale at gmail.com
>> >     <mailto:anthony.minessale at gmail.com>>> wrote:
>> >     >
>> >     >     I think there is an issue playing urls with vlc because vlc
>> has some
>> >     >     code in it that uses signal handlers which are blocked by FS.
>> >     >     The developer who made this function in vlc is not very
>> receptive to
>> >     >     a solution so its being worked on.
>> >     >
>> >     >
>> >     >
>> >     >     On Sat, Dec 20, 2014 at 6:02 AM, Aqs Younas <
>> aqsyounas at gmail.com <mailto:aqsyounas at gmail.com>
>> >     >     <mailto:aqsyounas at gmail.com <mailto:aqsyounas at gmail.com>>>
>> wrote:
>> >     >
>> >     >         Hi, Seven
>> >     >
>> >     >         When i try to play a stream it doesn't give any audio.
>> Also
>> >     >         session created when i try to play a stream with mod_vlc
>> does
>> >     >         not terminate even with "hupall".
>> >     >
>> >     >         [0x7f69b00025d8] main input debug: Creating an input for
>> >     >         'http://s9.voscast.com:7584'
>> >     >         [0x7f69b00025d8] main input debug: using timeshift
>> granularity
>> >     >         of 50 MiB, in path '/tmp'
>> >     >         [0x7f69b00025d8] main input debug: `
>> http://s9.voscast.com:7584'
>> >     >         gives access `http' demux `' path `s9.voscast.com:7584 <
>> http://s9.voscast.com:7584>
>> >     >         <http://s9.voscast.com:7584>'
>> >     >         [0x7f69b00025d8] main input debug: creating demux:
>> access='http'
>> >     >         demux='' location='s9.voscast.com:7584 <
>> http://s9.voscast.com:7584>
>> >     >         <http://s9.voscast.com:7584>' file='(null)'
>> >     >         [0x26cbd48] main demux debug: looking for access_demux
>> module
>> >     >         matching "http": 11 candidates
>> >     >         [0x26cbd48] main demux debug: no access_demux modules
>> matched
>> >     >         [0x7f69b00025d8] main input debug: creating access 'http'
>> >     >         location='s9.voscast.com:7584 <http://s9.voscast.com:7584
>> >
>> >     <http://s9.voscast.com:7584>'
>> >     >         , path='(null)'
>> >     >         [0x26cbc68] main access debug: looking for access module
>> >     >         matching "http": 19 candidates
>> >     >         [0x26cbc68] access_http access debug: querying proxy for
>> >     >         http://s9.voscast.com:7584
>> >     >
>> >     >         This is what i see in my logs. Can you provide me with an
>> >     >         example or guide me that i am doing wrong?
>> >     >
>> >     >         Thanks
>> >     >
>> >     >
>> >     >         On 20 December 2014 at 06:15, Seven Du <
>> dujinfang at gmail.com <mailto:dujinfang at gmail.com>
>> >     >         <mailto:dujinfang at gmail.com <mailto:dujinfang at gmail.com>>>
>> wrote:
>> >     >
>> >     >             mod_vlc is the best answer to the original question.
>> >     >
>> >     >             On Wednesday, December 17, 2014 at 10:26 PM, Brian
>> West wrote:
>> >     >
>> >     >>             Don't think mod_rtmp can actually do this, from
>> loading it:
>> >     >>
>> >     >>             2014-12-17 08:25:39.983446 [NOTICE]
>> >     >>             switch_loadable_module.c:149 Adding Endpoint 'rtmp'
>> >     >>
>> >     >>             2014-12-17 08:25:39.983446 [NOTICE]
>> >     >>             switch_loadable_module.c:315 Adding API Function
>> 'rtmp'
>> >     >>
>> >     >>             2014-12-17 08:25:39.983446 [NOTICE]
>> >     >>             switch_loadable_module.c:315 Adding API Function
>> >     >>             'rtmp_contact'
>> >     >>
>> >     >>
>> >     >>             This is all that gets registered.
>> >     >>
>> >     >>
>> >     >>             On Sun, Dec 14, 2014 at 1:37 PM, Danny Gershman
>> >     >>             <danny.gershman at gmail.com <mailto:
>> danny.gershman at gmail.com>
>> >     >>             <mailto:danny.gershman at gmail.com <mailto:
>> danny.gershman at gmail.com>>> wrote:
>> >     >>>             Also mod_rtmp lets you play from an FMS server.
>> >     >>>
>> >     >>>
>> >     >>>             On Friday, December 12, 2014, Aqs Younas
>> >     >>>             <aqsyounas at gmail.com <mailto:aqsyounas at gmail.com>
>> >     <mailto:aqsyounas at gmail.com <mailto:aqsyounas at gmail.com>>> wrote:
>> >     >>>>             Hi, All
>> >     >>>>
>> >     >>>>             How can i play a live stream other than mp3 with
>> >     >>>>             mod_shout or any module.? Is there any way to
>> buffer the
>> >     >>>>             stream before playing it with mod_shout.
>> >     >>>>
>> >     >>>>
>> >     >>>>             Currently i have a list of streams and when i play
>> them
>> >     >>>>             with mod_shout some work fine but others give
>> (time out)
>> >     >>>>             error.
>> >     >>>>
>> >     >>>>             How can i play mostly stream in freeswitch?
>> >     >>>>
>> >     >>>>             Thanks
>> >     >>>
>> >     >>>
>>  _________________________________________________________________________
>> >     >>>             Professional FreeSWITCH Consulting Services:
>> >     >>>             consulting at freeswitch.org
>> >     <mailto:consulting at freeswitch.org> <mailto:
>> consulting at freeswitch.org
>> >     <mailto:consulting at freeswitch.org>>
>> >     >>>             http://www.freeswitchsolutions.com
>> >     >>>
>> >     >>>             Official FreeSWITCH Sites
>> >     >>>             http://www.freeswitch.org
>> >     >>>             http://confluence.freeswitch.org
>> >     >>>             http://www.cluecon.com
>> >     >>>
>> >     >>>             FreeSWITCH-users mailing list
>> >     >>>             FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> >     >>>             <mailto:FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>>
>> >     >>>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >     >>>             UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >     >>>             http://www.freeswitch.org
>> >     >>
>> >     >>
>> >     >>             --
>> >     >>
>> >     >>             */Brian West/*
>> >     >>             brian at freeswitch.org <mailto:brian at freeswitch.org>
>> >     <mailto:brian at freeswitch.org <mailto:brian at freeswitch.org>>
>> >     >>
>> >     >>
>> >     >>             */Twitter: @FreeSWITCH , @briankwest/*
>> >     >>             http://www.freeswitchbook.com
>> >     >>             http://www.freeswitchcookbook.com
>> >     >>
>> >     >>             *T:*+19184209001 <tel:%2B19184209001>
>> >     <tel:%2B19184209001> | *F:*+19184209002 <tel:%2B19184209002>
>> >     >>             <tel:%2B19184209002> | *M:*+1918424WEST (9378)
>> >     >>             *iNUM:*+883 5100 1420 9001
>> >     <tel:%2B883%205100%201420%209001> | *ISN:*410*543
>> >     >>             | *Skype:*briankwest
>> >     >>
>> >     >>
>>  _________________________________________________________________________
>> >     >>             Professional FreeSWITCH Consulting Services:
>> >     >>             consulting at freeswitch.org
>> >     <mailto:consulting at freeswitch.org> <mailto:
>> consulting at freeswitch.org
>> >     <mailto:consulting at freeswitch.org>>
>> >     >>             http://www.freeswitchsolutions.com
>> >     >>
>> >     >>             Official FreeSWITCH Sites
>> >     >>             http://www.freeswitch.org
>> >     >>             http://confluence.freeswitch.org
>> >     >>             http://www.cluecon.com
>> >     >>
>> >     >>             FreeSWITCH-users mailing list
>> >     >>             FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> >     >>             <mailto:FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>>
>> >     >>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >     >>             UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >     >>             http://www.freeswitch.org
>> >     >
>> >     >
>> >     >
>>  _________________________________________________________________________
>> >     >             Professional FreeSWITCH Consulting Services:
>> >     >             consulting at freeswitch.org
>> >     <mailto:consulting at freeswitch.org> <mailto:
>> consulting at freeswitch.org
>> >     <mailto:consulting at freeswitch.org>>
>> >     >             http://www.freeswitchsolutions.com
>> >     >
>> >     >             Official FreeSWITCH Sites
>> >     >             http://www.freeswitch.org
>> >     >             http://confluence.freeswitch.org
>> >     >             http://www.cluecon.com
>> >     >
>> >     >             FreeSWITCH-users mailing list
>> >     >             FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> >     >             <mailto:FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>>
>> >     >
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >     >             UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >     >             http://www.freeswitch.org
>> >     >
>> >     >
>> >     >
>> >     >
>>  _________________________________________________________________________
>> >     >         Professional FreeSWITCH Consulting Services:
>> >     >         consulting at freeswitch.org
>> >     <mailto:consulting at freeswitch.org> <mailto:
>> consulting at freeswitch.org
>> >     <mailto:consulting at freeswitch.org>>
>> >     >         http://www.freeswitchsolutions.com
>> >     >
>> >     >         Official FreeSWITCH Sites
>> >     >         http://www.freeswitch.org
>> >     >         http://confluence.freeswitch.org
>> >     >         http://www.cluecon.com
>> >     >
>> >     >         FreeSWITCH-users mailing list
>> >     >         FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> >     >         <mailto:FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>>
>> >     >
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >     >         UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >     >         http://www.freeswitch.org
>> >     >
>> >     >
>> >     >
>> >     >
>> >     >     --
>> >     >     Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>> >     >
>> >     >     ☞ http://freeswitch.org/http://cluecon.com/>> >     >     http://twitter.com/FreeSWITCH
>> >     >     ☞ irc.freenode.net <http://irc.freenode.net>
>> >     <http://irc.freenode.net> #freeswitch ☞
>> >     >     _http://freeswitch.org/g+_
>> >     >
>> >     >     ClueCon Weekly Development Call
>> >     >     ☎ sip:888 at conference.freeswitch.org
>> >     <mailto:sip%3A888 at conference.freeswitch.org>
>> >     >     <mailto:sip%3A888 at conference.freeswitch.org
>> >     <mailto:sip%253A888 at conference.freeswitch.org>>  ☎ +19193869900
>> >     <tel:%2B19193869900>
>> >     >     <tel:%2B19193869900>
>> >     >
>> >     >
>> >     >
>>  _________________________________________________________________________
>> >     >     Professional FreeSWITCH Consulting Services:
>> >     >     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> >     <mailto:consulting at freeswitch.org <mailto:consulting at freeswitch.org
>> >>
>> >     >     http://www.freeswitchsolutions.com
>> >     >
>> >     >     Official FreeSWITCH Sites
>> >     >     http://www.freeswitch.org
>> >     >     http://confluence.freeswitch.org
>> >     >     http://www.cluecon.com
>> >     >
>> >     >     FreeSWITCH-users mailing list
>> >     >     FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> >     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>>
>> >     >     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >     >
>> >      UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >     >     http://www.freeswitch.org
>> >     >
>> >     >
>> >     >
>> >     >
>> >     >
>> >
>>  _________________________________________________________________________
>> >     > Professional FreeSWITCH Consulting Services:
>> >     > consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> >     > http://www.freeswitchsolutions.com
>> >     >
>> >     > Official FreeSWITCH Sites
>> >     > http://www.freeswitch.org
>> >     > http://confluence.freeswitch.org
>> >     > http://www.cluecon.com
>> >     >
>> >     > FreeSWITCH-users mailing list
>> >     > FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> >     > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >     >
>> >     UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >     > http://www.freeswitch.org
>> >     >
>> >
>> >
>>  _________________________________________________________________________
>> >     Professional FreeSWITCH Consulting Services:
>> >     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> >     http://www.freeswitchsolutions.com
>> >
>> >     Official FreeSWITCH Sites
>> >     http://www.freeswitch.org
>> >     http://confluence.freeswitch.org
>> >     http://www.cluecon.com
>> >
>> >     FreeSWITCH-users mailing list
>> >     FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> >     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >     UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >     http://www.freeswitch.org
>> >
>> >
>> >
>> >
>> >
>> _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://confluence.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> >
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150106/32937762/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list