Commit Graph

28386 Commits

Author SHA1 Message Date
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
Seven Du a4eb5eb412 FS-7514: vlc video 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 90f611cea1 FS-7500: add raw video codec yuv I420 2015-05-27 14:56:22 -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 753204090b FS-7502: refresh video on video record or eavesdrop 2015-05-27 14:56:22 -05:00
Seven Du e280e28bae FS-7502: video eavesdrop 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
Seven Du e1804e5e39 FS-7513: [mod_conference] video recording in conference
conference 3000 record /tmp/testrecord.fsv
call 9194 try to playback
mp4 should also work with the mp4 file format, will be available soon
2015-05-27 14:56:22 -05:00
Seven Du 8af92a21ed FS-7500: [mod_fsv] fix fsv sample_count and mux of channels 2015-05-27 14:56:22 -05:00