Commit Graph

2191 Commits

Author SHA1 Message Date
Anthony Minessale e33ddac0e6 FS-7513: do layers in order and reset when attaching 2015-05-27 14:57:43 -05:00
Anthony Minessale f198bc3601 FS-7500 FS-7513: add video bandwidth control function and use it in mod_conference 2015-05-27 14:57:42 -05:00
Anthony Minessale 41de24eae9 FS-7500: move function to core 2015-05-27 14:57:42 -05:00
Anthony Minessale 312ede9010 FS-7500: forgot one 2015-05-27 14:57:42 -05:00
Anthony Minessale e778e28400 FS-7500: fix signed error 2015-05-27 14:57:42 -05:00
Anthony Minessale 4333bf49ad FS-7513: add flag to choose between encoding each frame and using central encoder per codec, add parsing for floor fields and reservation fields in layouts, add param to control bandwidth for consolidated codecs, add audio-position attr to images in layout to sync with virtual HRTF 2015-05-27 14:57:42 -05:00
Anthony Minessale 78da46860a 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-27 14:57:42 -05:00
Anthony Minessale 383e12f5ff FS-7500: convert more to typedef to avoid warnings and build problems 2015-05-27 14:57:41 -05:00
Anthony Minessale afe3da1cc2 FS-7500: use the vpx_image_t from the installed header file to prevent mismatch 2015-05-27 14:57:40 -05:00
Anthony Minessale caadaedd3f FS-7509: stop media on verto detach 2015-05-27 14:57:40 -05:00
Anthony Minessale 50e30fbe12 FS-7501: fix vid buffer reset 2015-05-27 14:57:39 -05:00
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