39 Commits

Author SHA1 Message Date
Stefan Knoblich
d311b4380e mod_fsv: Check audio/video frame size for possible buffer overflow and abort playback
Audio frame sizes were already being checked for overflow,
but video frame sizes were taken as-is, which would
lead to heap corruption.

In case an overflow has been detected, playback is aborted immediately as
there is no way we can ever recover from such a situation due to the lack
of a (well-known) frame header signature that could be used to skip over
the corrupted part of the streams.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-01-21 23:27:23 +01:00
Jeff Lenk
dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Seven Du
14cb9af607 add switch_core_file_write_video
open a door to write video data
so it is possible to record a .fsv file
also possible to write to .mp4 with proper file format support
2012-07-20 11:38:20 +08:00
Seven Du
30c009b30e fsv file formate
audio only at this time
video is possible when add a file_write_video interface to core
only tested/working with 8000hz at this time
2012-07-20 11:06:48 +08:00
Seven Du
5a0d9514db set marker and ts, some endpoints depending on the marker bit to render correct video 2012-07-15 18:48:51 +08:00
Anthony Minessale
f5fe8bc5f6 close fd on fsv_record 2012-07-12 14:03:19 -05:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Anthony Minessale
67f559685f req vid refresh in fsv 2012-01-18 14:08:55 -06:00
Anthony Minessale
c358f67fe4 eat inbound vid while playing fsv files 2012-01-17 12:19:31 -06:00
Anthony Minessale
a405b779c9 FS-3319 --resolve 2011-05-27 19:14:00 -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
a87429ac87 Add initial support for VS2010 2010-06-28 15:49:19 -05:00
Anthony Minessale
c0f0a6c311 wait for video before recording in mod_fsv but have a 30 sec timeout
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 19:08:00 +00:00
Anthony Minessale
8e09dab3ac wait for video before recording in mod_fsv
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17103 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 19:06:18 +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
Anthony Minessale
34866da82e fix fsv bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-07 16:40:38 +00:00
Mathieu Rene
5acb8ad899 Per-call logging, part two
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 21:24:51 +00:00
Anthony Minessale
68b0359cfb FSCORE-349 add flag to denote if a codec is init or not
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-09 17:17:12 +00:00
Michael Jerris
4212af498b build: build path cleanups (FSBUILD-130)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12490 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-06 19:27:14 +00:00
Michael Jerris
bbdf4744aa inital work on x64 windows build (FSBUILD-125)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 00:56:56 +00:00
Brian West
babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Anthony Minessale
be25cc9631 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11730 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-10 19:09:06 +00:00
Brian West
ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale
0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Anthony Minessale
7f2d4b9736 close MODAPP-169
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10459 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-19 17:08:46 +00:00
Anthony Minessale
2ed601f934 more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Anthony Minessale
30c318b995 clean some old members and naming conventions in the codec structs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 17:48:42 +00:00
Brian West
e0cdf8172a more polishing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9959 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-11 06:19:56 +00:00
Brian West
8b8a7f14c6 fix callback arg and CoreSession::sleep to not require a file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-12 18:44:05 +00:00
Michael Jerris
64997c4d8e vim extendtab is bad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Anthony Minessale
f930eaeec7 indent pass 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8689 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:54:52 +00:00
Anthony Minessale
c4a18a09c2 spring cleaning, lose some pointless code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-08 19:19:47 +00:00
Michael Jerris
40c3e6c323 get both msvc builds and msi builds all in sync.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-19 05:08:12 +00:00
Michael Jerris
7cd4672c15 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7710 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-20 20:07:19 +00:00
Michael Jerris
b69f5addb2 add mod_fsv to msvc 2008 build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7703 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-19 21:18:31 +00:00
Michael Jerris
0bd6503656 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-19 21:18:11 +00:00
Anthony Minessale
f4e013e2dd tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7582 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-11 17:14:14 +00:00
Michael Jerris
8368c5ed18 We generate these instead of using hardcoded paths.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7567 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-09 04:26:52 +00:00
Anthony Minessale
a1be7a5b87 initial check in of fsv
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7564 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-09 00:37:58 +00:00