Commit Graph

2230 Commits

Author SHA1 Message Date
Seven Du 5b82b695fa FS-7500: add switch_img_copy to clone an image 2015-05-27 14:57:39 -05:00
Anthony Minessale 5f3106bb05 FS-7500: factor back in video_thread callback and move it to the video_read_frame 2015-05-27 14:57:38 -05:00
Anthony Minessale abd71a7144 support AVPF too 2015-05-27 14:57:38 -05:00
Anthony Minessale b197142c17 FS-7499: add generic nack support to rtp stack 2015-05-27 14:57:38 -05:00
Anthony Minessale be4c75830e FS-7500: add switch_inthash variety of hash that can key on int 2015-05-27 14:57:38 -05:00
Anthony Minessale 2b31a8310c FS-7501: more factoring on vid buffer 2015-05-27 14:57:37 -05:00
Anthony Minessale ca67770dff FS-7501: connect video buffer for testing, still needs a lot of work 2015-05-27 14:57:37 -05:00
Anthony Minessale 6f4d1334ea FS-7501: use vidderbuffer in rtp 2015-05-27 14:57:37 -05:00
Anthony Minessale b121c610ab FS-7501: add vidderbuffer 2015-05-27 14:57:37 -05:00
Seven Du 05bccbdb0b FS-7499: magic number to macro 2015-05-27 14:57:37 -05:00
Anthony Minessale 12ef09c5b3 FS-7500: poll rtp on answer until dtls is negotiated 2015-05-27 14:57:37 -05:00
Anthony Minessale a95d5048f0 FS-7499: move fir and pli into the normal rtcp code so it can be bundled with a report block per the rfc 2015-05-27 14:57:36 -05:00
Anthony Minessale 88aa7f1003 FS-7500: use unsigned int for frame->timestamp 2015-05-27 14:57:36 -05:00
Anthony Minessale 4ba3254523 FS-7500: refactoring 2015-05-27 14:57:36 -05:00
Anthony Minessale 62d428215a FS-7500: improvement for conf vid 2015-05-27 14:56:29 -05:00
Anthony Minessale 8415653ec5 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-27 14:56:28 -05:00
Anthony Minessale 4805dc7709 FS-7500: another round of trying to make things work 2015-05-27 14:56:28 -05:00
Anthony Minessale 25a397dda4 FS-7513: fix video switching in conference 2015-05-27 14:56:27 -05:00
Anthony Minessale 1aa8ae0110 FS-7500: reduce CNG frames on video and move debug from mod_fsv to the core with a flag to enable it since the raw packet is not available anymore when you set DECODED READ flag 2015-05-27 14:56:27 -05:00
Anthony Minessale bf94575251 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-27 14:56:26 -05:00
Anthony Minessale 956cf413c2 FS-7508: tolerate some messed up packets a little more 2015-05-27 14:56:25 -05:00
Anthony Minessale 87c3b919aa FS-7500: add SFF_USE_VIDEO_TIMESTAMP to tell video write frame if it needs to use a timer or not for timestamps 2015-05-27 14:56:25 -05:00
Anthony Minessale 4752c76b8b FS-7500: another refactoring pass, temp code still in place, WORK IN PROGRESS 2015-05-27 14:56:25 -05:00
Anthony Minessale 8be53f4387 FS-7500: revert earlier bridge change 2015-05-27 14:56:24 -05:00
Anthony Minessale 5c7f7440dd FS-7500: Work in progress. Added codec config params that can be set from session and made vpx codec re-init on size change. Also add periodic key frame timer 2015-05-27 14:56:24 -05:00
Anthony Minessale 375d311e1c 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-27 14:56:24 -05:00
Anthony Minessale a6012594fb 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-27 14:56:24 -05:00
William King ca3d2007be FS-7500 S-7513: Few build fixes 2015-05-27 14:56:23 -05:00
Seven Du 04f3d9d16d 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-27 14:56:23 -05:00
Seven Du 798a18a73d 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-27 14:56:23 -05:00
Seven Du 1ccd8dc447 FS-7500: add switch_core_video code 2015-05-27 14:56:23 -05:00
liyang 1012113774 FS-7500: allow using the video thread externally - e.g. non rtp based video 2015-05-27 14:56:23 -05:00
Seven Du 464d18029b FS-7500: initial idea to decode video in core 2015-05-27 14:56:22 -05:00
Seven Du 9498f60853 FS-7500: move video bridge logic to switch_core_media so possible to do transcoding 2015-05-27 14:56:22 -05:00
Seven Du bcb226eace FS-7502: add simple video media bug implementation, should work with .fsv, be sure to set enable_file_write_buffering=false
Conflicts:
	src/include/switch_types.h
2015-05-27 14:56:22 -05:00
Anthony Minessale d413bcd7b3 FS-7567 #resolve #comment additional occurrences beyond the initial patch discovered 2015-05-21 09:50:49 -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
Michael Jerris b90aa23cbd FS-7488: [mod_managed] fix build error 2015-04-28 11:59:15 -05:00
Anthony Minessale c56b7da53a copy part of 0e7eb72ca75a3584d203c6464fc8ceaacf79ebae 2015-04-25 13:22:43 -05:00
Anthony Minessale 2c92ef31e3 FS-7386
Conflicts:
	src/switch_core_media.c
2015-03-26 23:52:53 -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
Dave Olszewski 2890afc918 FS-7285 allow eavesdrop to bridge only one leg
Add channel variables eavesdrop_bridge_aleg and eavesdrop_bridge_bleg,
and if one is set to true on the eavesdrop channel, bridge that leg from
the target.  If neither is specified, bridge both.
2015-02-14 14:45:15 -08:00
Anthony Minessale 83dd94193d FS-7166 #resolve 2015-01-23 21:16:47 -06:00
Anthony Minessale 76370f4d17 auto urlencode user portion of sip uri 2015-01-23 21:06:02 -06:00
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 b74448462d FS-7173 #resolve #comment please verify fix in master 2015-01-20 19:55:50 -06:00
Anthony Minessale e783999b51 some changes to webrtc to make it work with iDoubs in rtcweb profile mode 2014-12-12 20:55:40 -06:00
Anthony Minessale 06c241a233 FS-6891 FS-7002 FS-7059 FS-7072 FS-7073 FS-7076 #close #comment All of these bugs are invalidated due to a botched revert -- commit 72c3df5ed3 was supposed to revert commit 1b612fecb6 but it only reverted part of it. commit 158c1f23da from the other day was erroneously created to work around the result of the botched revert so it is reverted. The result of this commit should be to bring it back to effectively properly revert 1b612fecb6 and now you can test and open new bugs if necessary. This includes the segfault in eavesdrop, and any media bug releated reports. Consider working together and only reporting one new bug if you still encounter any more problems and be sure to include details and make sure the jitter buffer is being used. 2014-12-11 20:57:55 -06:00
Michael Jerris 62a2e10e41 remove hack breaking some cross compile builds. if you really need this, you should be using new enough glibc anyways 2014-11-19 16:06:42 -05:00
Anthony Minessale df423b88d6 improve timerfd implementation to be more accurate 2014-11-18 17:14:04 -06:00