Anthony Minessale
7c294f242f
FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec
2015-05-28 12:47:13 -05:00
Anthony Minessale
517a6d4ab7
FS-7503: add video read flags to choose flush and or block mode and add stuff to vlc so it can play youtube urls
2015-05-28 12:47:10 -05:00
Anthony Minessale
a63dab7a4a
FS-7503 FS-7514: A bunch of stuff:
...
Get filehandles working with video in some cases (if using vlc://):
mod_conference for play and record video (will record the canvas in mix mode or floor holder in non-mix mode)
regular playback app should be able to play vlc streams
Add no-minimize-encoding member flag so particilar memebers can opt out of that setting and still get their own encoded stream (for bw related needs)
TODO:
mod_vlc is a mess. Find a way to merge video_context and file_context. They are very similar and they are intertwined and messy.
Find out why vlc creates messed up mp4 files that don't play everywhere
Get VLC so it can record aac, mp4x webm
2015-05-28 12:47:06 -05:00
Anthony Minessale
fa5d6af2cd
FS-7513: refactor conference video muxing to create one distinct encoder per codec used and only create one encoded frame per distinct codec, store current image used by layer on the layer so it is not destroyed before the canvas is written, refactor and rearrange some functions
2015-05-28 12:46:57 -05:00
Anthony Minessale
a69938c3d5
FS-7500: factor back in video_thread callback and move it to the video_read_frame
2015-05-28 12:46:53 -05:00
Anthony Minessale
836e2b2888
FS-7500: add switch_inthash variety of hash that can key on int
2015-05-28 12:46:53 -05:00
Anthony Minessale
76ec99ed97
FS-7500: poll rtp on answer until dtls is negotiated
2015-05-28 12:46:51 -05:00
Anthony Minessale
970064294c
FS-7500: refactoring
2015-05-28 12:46:50 -05:00
Anthony Minessale
853873725b
FS-7500: factor out the write_image callback and fix the vlc video endpoint to setup and match the audio params of the A leg when bridged
2015-05-28 12:46:48 -05:00
Anthony Minessale
b90d24a05f
FS-7513: fix video switching in conference
2015-05-28 12:46:48 -05:00
Anthony Minessale
4dc155f164
FS-7500: add switch_core_session_raw_read to put session into raw read mode without needing a local codec var (WE SHOULD REFACTOR MUCH OF switch_ivr_* to use this...) and add echo_decode_audio option to echo app
2015-05-28 12:46:47 -05:00
Anthony Minessale
0cd5658caa
FS-7500: another refactoring pass, temp code still in place, WORK IN PROGRESS
2015-05-28 12:46:44 -05:00
Anthony Minessale
365a5dd820
FS-7500: major refactoring pass. Push concepts from mod_vlc as deep as possible and flesh out api to use everywhere else. Round 2 will be to convert the bridge and other places using the same code
2015-05-28 12:46:44 -05:00
Anthony Minessale
765fff3d75
FS-7500: add support for codec control and use it to pass messages down to the codec and use it to implement keyframe reset for fir, pli and nack. Later we will expand to handle nack correctly.
2015-05-28 12:46:44 -05:00
William King
4fc94e3907
FS-7500 S-7513: Few build fixes
2015-05-28 12:46:43 -05:00
Seven Du
35ff4b5cda
FS-7500: add ability to insert a custom callback to the core video thread
...
the callback will be called on each loop on read video frame, or
the callback function call run it's own loop to take over the core
loop so it can read video from session by itself.
the callback function can -
return SWITCH_STATUS_SUCCESS to wait another loop
return SWITCH_STATUS_CONTINUE to continue use the default behaviour
return anything else will break the core video loop and end the
core thread
2015-05-28 12:46:43 -05:00
Seven Du
ea2f00b3d9
FS-7500: refactor to use switch_core_video
...
added switch_core_codec_encode_video and switch_core_codec_decode video and add separate video implementations
the switch_core_video code depends on libvpx, wraped into the switch_ namespace like switch_apr, need to figure out how to find the correct libvpx lib in autotools
2015-05-28 12:46:42 -05:00
Chris Rienzo
b28f7acac1
FS-7496 Updated mime.types, added switch_core_mime_type2ext function and used it in mod_httapi. Now, file extensions defined in mime.types will be applied if mod_httapi downloads a file without one.
2015-04-30 14:24:41 -04:00
Anthony Minessale
c56b7da53a
copy part of 0e7eb72ca75a3584d203c6464fc8ceaacf79ebae
2015-04-25 13:22:43 -05:00
Manav Rathi
830bc28c45
FS-7352: Document how to use switch_core_set_variable to delete variables
...
I had to scan through the source of the function to verify that this
is the indeed the actual behaviour, and that NULL is a valid
argument. By mentioning this in the header, we save posterity that
effort.
2015-03-07 06:59:06 +05:30
E. Schmidbauer
01dcb74f33
FS-7187 add switch_cache_db_create_schema() to test for SCF_AUTO_SCHEMAS flag
2015-01-22 15:41:22 -05:00
Anthony Minessale
928a989de1
first pass of stereo support
2014-06-12 22:06:33 +05:00
Anthony Minessale
495db48f5a
make device state code more accurate
2014-05-31 00:30:59 +05:00
Travis Cross
333aff8a05
Document that switch_core_alloc returns zeroed memory
2014-05-27 11:24:09 +00:00
Anthony Minessale
4178688b4a
add switch_hashtable_insert_destructor so you can insert a pointer into a hash with a custom destructor and use it in spandsp to fix a leak on reloadxml with the tone_descriptor tables and fix a bunch of random tiny leaks etc
2014-04-09 23:26:47 +05:00
Anthony Minessale
7151d6acea
FS-6402 part 2
2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3
FS-6402 --resolve
2014-04-02 01:20:19 +05:00
Eliot Gable
5b1ab59f00
Add error handling to sql queue manager callback functionality and fix spelling.
2014-03-14 15:54:05 +00:00
Anthony Minessale
efef505e26
add switch_sql_queue_manager_pause and switch_sql_queue_manager_resume
2014-03-12 11:42:37 -05:00
Anthony Minessale
804ef7709d
change from sqlite hash to newly added one
2014-03-09 00:37:17 +05:00
Ken Rice
6e7d5d0897
update copyright header for 2014
2014-02-12 12:08:56 -06:00
Anthony Minessale
6fef880f12
FS-5675 --resolve
2014-01-24 00:23:58 +05:00
Anthony Minessale
8dfbd91a3d
fold version macros into runtime functions to avoid cascade rebuilds when modifying the core
2014-01-17 01:54:47 +05:00
Seven Du
7256caf278
add a debug_pool param to fsctl
2013-11-16 14:17:59 +08:00
Anthony Minessale
d6bb35ad3c
add soft timer support for fd per timer use enable-softtimer-timerfd=broadcast in switch.conf.xml for orig behaviour
2013-11-16 01:37:16 +05:00
Anthony Minessale
e2e8a57d9d
add ring_wait callstate for devstate interface
2013-10-30 14:08:34 -05:00
Anthony Minessale
916a75e9cf
device state tweaks
2013-10-23 20:45:34 -05:00
Anthony Minessale
4a172402d2
some refactoring and plumbing for 1.4
2013-10-16 02:24:32 +05:00
Jeff Lenk
cc806e21f1
FS-5807 -- fix windows warnings
2013-09-21 16:13:48 -05:00
Anthony Minessale
a5f2176ea4
deliver events with the core thread pool set events-use-dispatch=true in switch.conf.xml to use the old way
2013-09-05 03:42:40 +05:00
Anthony Minessale
7d6d688e53
FS-5731 --resolve
2013-08-26 20:25:14 +05:00
Anthony Minessale
d35db852a8
follow up to last commit
2013-08-16 12:17:00 -04:00
Anthony Minessale
70d78f1665
FS-5583 --resolve
2013-07-19 14:02:58 -05:00
Ken Rice
f30e40a80b
--resolve FS-3922
2013-07-04 21:18:20 -05:00
Nathan Neulinger
32adc789f6
make noexpandtab explicit in all vim modelines other than xml files
2013-06-25 11:50:17 -05:00
Anthony Minessale
2fac3a8e83
refactor some of the video passthru code
2013-06-17 19:52:37 -05:00
Anthony Minessale
df1bba55ee
FS-5498
2013-06-10 19:13:21 -05:00
Anthony Minessale
860ed3f9a6
add last callback run stamp to device records
2013-06-06 13:09:13 -05:00
Anthony Minessale
4240526ce3
add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device
2013-06-05 11:20:11 -05:00
Anthony Minessale
101b116daf
FS-5011 try to fill gaps
2013-05-14 11:22:53 -05:00