Commit Graph

28396 Commits

Author SHA1 Message Date
Anthony Minessale 20fa56bb6d FS-7500 FS-7508: shift some hacks around 2015-05-27 14:56:27 -05:00
Anthony Minessale df72e7caa1 FS-7500: reverse default for CF_VIDEO_ECHO to false and now it must be enabled when desired instead of disabled when not needed 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 7faf23df26 FS-7500: fix some of the debugging tools 2015-05-27 14:56:26 -05:00
Seven Du 96db13e842 FS-7500: fix decode_video App 2015-05-27 14:56:26 -05:00
Seven Du 4b58d383f8 FS-7500: use SWITCH_DEFAULT_VIDEO_SIZE as slice size 2015-05-27 14:56:26 -05:00
Seven Du 8b88b32dcc FS-7500: add more example yuv files 2015-05-27 14:56:26 -05:00
Seven Du 0045cde694 FS-7517: mod_openh264 follows up the new encoder flow 2015-05-27 14:56:25 -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 0a3662a05c FS-7508: change vpx encoder to not re-init the whole codec, it messes it up but side effect, we need to init the encoder at 4k and scale down to aovid the vpx resize seg 2015-05-27 14:56:25 -05:00
Anthony Minessale 3522c1abe5 FS-7500: remove debug 2015-05-27 14:56:25 -05:00
Anthony Minessale ca0dfbdc56 FS-7500: video_decoded_echo to echo_decode_video 2015-05-27 14:56:25 -05:00
Anthony Minessale 73891d6ebf FS-7500: make play_yuv silent since opus echo tends to kill chrome 2015-05-27 14:56:25 -05:00
Anthony Minessale f11251c61f FS-7500: remove temp bridge echo hack 2015-05-27 14:56:25 -05:00
Anthony Minessale 6116eeb459 FS-7500: clean up logic of encoder flow and set rules on return values and tweak some codec settings on vp8 2015-05-27 14:56:25 -05:00
Anthony Minessale 58ba334854 FS-7500: add video_decoded_echo var to make the echo app decode and re-encode video frames for testing 2015-05-27 14:56:25 -05:00
Seven Du 5dcd98d665 FS-7500: fix follows the last refactor of core code 2015-05-27 14:56:25 -05:00
Anthony Minessale dd8cee09bb FS-7500: tmp comment 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
Seven Du 7f0c946b1d FS-7500: fix if statement 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 17dafaf567 FS-7500: mark places to fix later 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
Anthony Minessale 5f1f628e28 FS-7500 FS-7517 FS-7508 FS-7514: chrome working on most, bria working on some 2015-05-27 14:56:24 -05:00
Anthony Minessale fa04fefb6e FS-7508 FS-7517: import h264 and vpx codec files 2015-05-27 14:56:24 -05:00
Anthony Minessale 8a90fad07e FS-7514: [mod_vlc] temp workaround 2015-05-27 14:56:24 -05:00
Anthony Minessale c1a9b3880a FS-7508: add autoconf for vpx lib 2015-05-27 14:56:24 -05:00
Brian West d7ae1bea6e fix line endings 2015-05-27 14:56:24 -05:00
Seven Du c5499bd426 FS-7500: fix and use 32bit timestamp, frame->timestamp is defined as switch_size_t and not always 32bit 2015-05-27 14:56:24 -05:00
Seven Du e729f3994a FS-7513: let the core thread to read video if vid-floor in conference already locked-hold by someone else 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 a563681c01 FS-7513: Example code to use the core video thread with a custom callback
It by default remains the default behaviour

However, you can setup a relationship between members to let the
member choose to see anyone else but the floor, e.g.:

  conference 3000 relate 1 2 sendvideo

In the above command member 2 will see member 1's video regardless
member 1 has video floor or not
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 feba8d1500 FS-7513: show relationships 2015-05-27 14:56:23 -05:00
Seven Du 591a97093c FS-7513: force floor on member join 2015-05-27 14:56:23 -05:00
Seven Du 9ee20c01bc FS-7514: refresh req on vlc channel 2015-05-27 14:56:23 -05:00
Seven Du 074a01bd2c FS-7514: not hardcoded H264 anymore 2015-05-27 14:56:23 -05:00
Seven Du 5d09f68dd4 FS-7514: cleanup 2015-05-27 14:56:23 -05:00
Seven Du b16b5d0584 FS-7514: allows the core video thread to read from the vlc endpoint 2015-05-27 14:56:23 -05:00
Seven Du 89cedc1ab7 FS-7514: follow the last core_video refactor 2015-05-27 14:56:23 -05:00
Seven Du 6774f7c488 FS-7500: update yuv codec 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
Seven Du 1cf2a53bbf FS-7500: add decode_video App 2015-05-27 14:56:23 -05:00
Seven Du 8c407e7374 FS-7514: refactor timestamp code 2015-05-27 14:56:23 -05:00
Seven Du e3460cd965 FS-7517: add play_yuv to test encoder 2015-05-27 14:56:23 -05:00
William King 8f96ed61b2 FS-7508 FS-7517: [build] Convert the build over to automake, though there is still room to fix
the autoconf portion to detect the correct location of libopenh264

Basic conversion for vpx too.
Borrowing from ldns handling, setup mod_vpx to prompt for the required library when the module is enabled
2015-05-27 14:56:23 -05:00