121 Commits

Author SHA1 Message Date
Anthony Minessale
e0dcd176f4 FS-7083 #comment patch to change mod_shout to use lame_encode_buffer_interleaved on stereo channels so we don't have to mess with the input data 2014-12-18 16:07:51 -06:00
Brian West
8eaaa083ad FS-6622: [mod_shout] set buffer size for streams based on the number of channels to avoid buffer starvation 2014-11-18 09:47:43 -06:00
Matteo Brancaleoni
3f0d6b3f2d FS-6756 lame_init_params must be called after setting all id3tag stuff, otherwise id3 tags will not be written.
So, instead of calling it early, revert FS-3646 and add a check on free_context to really do lame stuff only
if lame has been set ready, avoid seg faults in some corner cases.
2014-10-22 12:31:21 +02:00
Anthony Minessale
295fcce8a8 add buffer_seconds param to shout filehandles to override the original default of 1 and remove previous code to attempt to buffer several seconds of audio in the open routine. Any experiencing jittery playback from slow shout destinations should add {buffer_seconds=N} to the file path to increase the amount of time allotted for buffering when no audio is discovered on the wire 2014-09-17 04:54:38 +05:00
Anthony Minessale
c71f89a39b FS-6627 2014-06-24 15:42:07 -05:00
Anthony Minessale
280e816a90 FS-6590 --resolve 2014-06-14 04:56:55 +05:00
Anthony Minessale
928a989de1 first pass of stereo support 2014-06-12 22:06:33 +05:00
Michael Jerris
bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Peter Olsson
084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Stefan Knoblich
cb554fb023 mod_shout: Rework our_mpg123_new() to handle error cases correctly and to clean up the code
Keeping parameter handling quirks for backwards compatibility reasons.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-07-11 03:17:04 +02:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
William King
5026788c4a Fix minor typo so that the metadata album field can be set. 2013-06-12 17:17:57 -07:00
Anthony Minessale
c0f736c9da FS-5242 2013-03-29 10:54:45 -05:00
Anthony Minessale
47e6dfbbdf FS-5242 2013-03-29 10:43:12 -05:00
Raymond Chandler
d60317c153 FS-5091 --resolve avoid division by 0 2013-03-19 22:32:40 -04:00
Seven Du
26b10fcc01 FS-3960 update and apply patch 2012-11-11 14:23:27 +08:00
Michael Jerris
200ca61731 FS-4581: --resolve use specific column names in telecast web_callback 2012-08-31 17:11:08 -04:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Anthony Minessale
e794a6db21 FS-2936 stage 2 please test ASAP 2011-11-29 15:35:36 -06:00
Jeff Lenk
44b5cf828b FS-3646 --resolve Initialize Lame sooner for file open 2011-11-02 09:20:12 -05:00
dschreiber
69b8ce4d80 Fix issue where mod_shout does not properly flush buffer on writing mp3 streams, resulting in incomplete files. TODO: Refactor as part of the while loop. 2011-08-31 13:35:13 -07:00
Jeff Lenk
8ea3cbd5b1 FS-1231 -- resolve thanks please watch the code formatting in the future 2011-08-06 11:09:41 -05:00
Anthony Minessale
0419c4e0f3 add append flag to mod_shout 2011-05-31 10:40:34 -05:00
Anthony Minessale
acf3090adf FS-2936 plan B for curl stuff 2011-05-13 13:17:54 -05:00
Anthony Minessale
c196e2c109 revert curl changes 2011-05-13 12:03:30 -05:00
Anthony Minessale
7064487df2 FS-2936 please test on windows 2011-05-11 10:07:00 -05:00
Mathieu Rene
c91b409caa Tricky preprocessor... try again 2011-01-21 11:53:20 -05:00
Mathieu Rene
1561ad2ca6 extra spaces </ocd> 2011-01-21 11:38:56 -05:00
Mathieu Rene
74de704973 FS-2942 - At least display __FILE__ and __LINE__ properly so we can have more data 2011-01-21 11:32:38 -05:00
Brian West
3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Jeff Lenk
0cc28f37fb FSCORE-676 Buffer too small 2010-09-23 08:15:55 -05:00
Rupa Schomaker
b472913683 correct error msgs 2010-04-29 08:34:53 -05:00
Anthony Minessale
80a93da4ed handle some errors on missing db handle conditions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17136 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-30 03:13:49 +00:00
Anthony Minessale
cc39f9e4bc add events for bug start and stop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-02 01:11:15 +00:00
Rupa Schomaker
969688a0d3 even more mod_shout logging
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-19 18:53:02 +00:00
Rupa Schomaker
66c0f8f735 more logging for mod_shout
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-19 18:15:22 +00:00
Rupa Schomaker
f55304d30b add some more error logging
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16701 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-19 17:39:41 +00:00
Anthony Minessale
886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Brian West
21e3bb970a if space
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 01:20:26 +00:00
Anthony Minessale
9cf0d7f846 add append and truncate to audio file api
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 21:40:09 +00:00
Jeff Lenk
67b3210a31 fix compiler error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15489 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 01:31:12 +00:00
Brian West
357c93b999 fix vim format line
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-14 22:03:37 +00:00
Rupa Schomaker
90f2c27cd0 terminate shoutcast read thread when requested
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14478 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-10 16:27:42 +00:00
Michael Jerris
c0248be1c3 fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14424 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 22:33:44 +00:00
Rupa Schomaker
154d82399b MODFORM-32 - mp3 improvements (seeking, cleanup)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14223 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-13 19:01:03 +00:00
Brian West
49c1dc415f mod_shout: bring media back so telecast of a no-media call will work. (MODFORM-28)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13895 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-22 18:42:16 +00:00
Anthony Minessale
213a372b11 add padding to cycles on session_record
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 19:52:02 +00:00
Michael Jerris
4441606b17 cleanup msvc code analysis tagging and warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-11 22:28:02 +00:00
Rupa Schomaker
546c94cc8d connection timeout
(very) slow connection timeout
Timeouts needed to avoid deadlock between read thread and file close.  If
read thread never returns -- the file can never be closed.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13224 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-04 13:42:52 +00:00