Commit Graph

28373 Commits

Author SHA1 Message Date
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
Anthony Minessale d4a5ebf97d FS-7500 FS-7517 FS-7508 FS-7514: chrome working on most, bria working on some 2015-05-28 12:46:44 -05:00
Anthony Minessale 9fdb54766c FS-7508 FS-7517: import h264 and vpx codec files 2015-05-28 12:46:44 -05:00
Anthony Minessale d0d2e03672 FS-7514: [mod_vlc] temp workaround 2015-05-28 12:46:44 -05:00
Anthony Minessale 8cda93eac0 FS-7508: add autoconf for vpx lib 2015-05-28 12:46:44 -05:00
Brian West cd98ec85e2 fix line endings 2015-05-28 12:46:43 -05:00
Seven Du 3466a2e468 FS-7500: fix and use 32bit timestamp, frame->timestamp is defined as switch_size_t and not always 32bit 2015-05-28 12:46:43 -05:00
Seven Du 055de41484 FS-7513: let the core thread to read video if vid-floor in conference already locked-hold by someone else 2015-05-28 12:46:43 -05:00
William King 4fc94e3907 FS-7500 S-7513: Few build fixes 2015-05-28 12:46:43 -05:00
Seven Du 99ed41a4bd 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-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 422a1f0419 FS-7513: show relationships 2015-05-28 12:46:43 -05:00
Seven Du 48c1363476 FS-7513: force floor on member join 2015-05-28 12:46:43 -05:00
Seven Du d33e5659f6 FS-7514: refresh req on vlc channel 2015-05-28 12:46:43 -05:00
Seven Du 78efac8154 FS-7514: not hardcoded H264 anymore 2015-05-28 12:46:43 -05:00
Seven Du 282b04a880 FS-7514: cleanup 2015-05-28 12:46:43 -05:00
Seven Du 240ec72fa4 FS-7514: allows the core video thread to read from the vlc endpoint 2015-05-28 12:46:43 -05:00
Seven Du 8e5cbb0e26 FS-7514: follow the last core_video refactor 2015-05-28 12:46:42 -05:00
Seven Du f3ad699526 FS-7500: update yuv codec 2015-05-28 12:46:42 -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
Seven Du bcbdf8a347 FS-7500: add switch_core_video code 2015-05-28 12:46:42 -05:00
Seven Du 71cafe536b FS-7500: add decode_video App 2015-05-28 12:46:42 -05:00
Seven Du 74d6db8809 FS-7514: refactor timestamp code 2015-05-28 12:46:42 -05:00
Seven Du c9a13474a4 FS-7517: add play_yuv to test encoder 2015-05-28 12:46:42 -05:00
William King 6dec4de2fe 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-28 12:46:42 -05:00
Seven Du 4af7e7c68d FS-7514: vlc video 2015-05-28 12:46:42 -05:00
liyang 90818f137e FS-7500: allow using the video thread externally - e.g. non rtp based video 2015-05-28 12:46:42 -05:00
Seven Du e80b40f9f1 FS-7500: add raw video codec yuv I420 2015-05-28 12:46:42 -05:00
Seven Du 998d933671 FS-7500: initial idea to decode video in core 2015-05-28 12:46:42 -05:00
Seven Du 416745e2cd FS-7500: move video bridge logic to switch_core_media so possible to do transcoding 2015-05-28 12:46:41 -05:00
Seven Du dcca71d97d FS-7502: refresh video on video record or eavesdrop 2015-05-28 12:46:41 -05:00
Seven Du b23ba52807 FS-7502: video eavesdrop 2015-05-28 12:46:41 -05:00
Seven Du 90b654e923 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-28 12:46:41 -05:00
Seven Du 67334bea27 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-28 12:46:41 -05:00
Seven Du a7b6ef0888 FS-7500: [mod_fsv] fix fsv sample_count and mux of channels 2015-05-28 12:46:41 -05:00
Anthony Minessale 6a2fc5e0f7 bump 2015-05-28 12:35:17 -05:00
Ken Rice d9ba7fc008 tweak rebootstrapping for use with mock. 2015-05-27 13:22:29 -05:00
Anthony Minessale b5f75a0f43 FS-7582 #resolve #comment port from 1.6 its probably better to start working on 1.6 for any webrtc or dtls stuff 2015-05-27 16:48:16 -05:00
Anthony Minessale 2db8f94ab6 skip rtcp addr when mux is set 2015-05-27 06:14:08 -05:00
Ken Rice 87f61009d7 FS-7574 #resolve Make curl in getg729.sh.in and getsounds.sh follow 3XX redirecrts 2015-05-26 09:14:30 -05:00
Ken Rice fb9ad099e2 make curl call in getlib.sh follow 301 redirects 2015-05-26 00:09:42 -05:00
Ken Rice 861c4e9c47 update URLs for sound files 2015-05-26 00:05:37 -05:00
Brian West 1073b32bcf FS-7529 correct fix 2015-05-21 12:42:51 -05:00
Anthony Minessale d413bcd7b3 FS-7567 #resolve #comment additional occurrences beyond the initial patch discovered 2015-05-21 09:50:49 -05:00
Brian West 38ab8a9b31 Merge branch 'master' of https://freeswitch.org/stash/scm/fs/freeswitch 2015-05-20 14:52:44 -05:00
Brian West 4811ec9d6a FS-7562 --resolve 2015-05-20 14:52:23 -05:00
Jeff Lenk 278b42eb11 FS-7488 remove windows duplicate files 2015-05-20 13:19:12 -05:00
Anthony Minessale 5045864672 FS-7541 use switch_time_now for more accurate timestamps and wait for 3 consecutive missing packets to write silence into native recordings 2015-05-18 14:29:39 -05:00
Jeff Lenk acdb1ca582 FS-7488 windows fix build error 2015-05-17 13:45:52 -05:00