Commit Graph

17589 Commits

Author SHA1 Message Date
Seven Du 046798a057 FS-7513: don't write 0 data, openh264 might return 0 2015-05-28 12:47:20 -05:00
Anthony Minessale 7d60e6e868 FS-7513: missing some logic for those with video to take layers from those with avatars 2015-05-28 12:47:20 -05:00
Anthony Minessale c312b50da7 FS-7515: update cv to use new alpha supported switch_image_t 2015-05-28 12:47:20 -05:00
Seven Du cc27c51eb7 FS-7517: trival treak openh264 logs 2015-05-28 12:47:20 -05:00
Anthony Minessale c6bd6aea4e FS-7499: juggle log lines 2015-05-28 12:47:20 -05:00
Seven Du 0ddfea1d1b FS-7500: refactor to support Alpha channel on core image, only ARGB & I420 are supported 2015-05-28 12:47:20 -05:00
Brian West 8f361ab00b Clang-3.5 warnings fixed 2015-05-28 12:47:20 -05:00
Anthony Minessale eb86d65cde FS-7515: add missing parse code 2015-05-28 12:47:19 -05:00
Anthony Minessale e20ddd3818 FS-7515: debounce 2015-05-28 12:47:19 -05:00
Anthony Minessale 8fddf6b99d FS-7513: protect layout hash 2015-05-28 12:47:19 -05:00
Anthony Minessale 9cf804d4d0 FS-7515: add opaque container for png to pass around and save width and height 2015-05-28 12:47:19 -05:00
Seven Du ecab16ed88 FS-7516: add mod_imagick
use the magick-core API
We have pdfs and gifs
auto play gif and png
yeah, you can play video files with imgk

video only
requires ffmpeg binary
need autoplay=(1000/FPS)
2015-05-28 12:47:18 -05:00
Anthony Minessale f364a4190b FS-7509: don't need this change revert it 2015-05-28 12:47:18 -05:00
Anthony Minessale 3e24ac5e6b FS-7501: add auto sync of jb and fps detection 2015-05-28 12:47:18 -05:00
Anthony Minessale c8a189a433 FS-7499: demote log line 2015-05-28 12:47:18 -05:00
Anthony Minessale fc0bf67219 move nested condition parsing to only happen if main condition was satisfied may alter behaviour see docs and FS-4935 2015-05-28 12:47:18 -05:00
Anthony Minessale d10ea7f943 FS-7513: favor callers with video to take spaces in the layouts over callers with avatars 2015-05-28 12:47:18 -05:00
Anthony Minessale 5d9e4752a5 FS-7513: add auto-3d-position attr to <layout> and the auto as a valid value in existingaudio-position in <image> to auto-arrage the 3d openal positioning to either set it for the whole layout or an individual image 2015-05-28 12:47:17 -05:00
Anthony Minessale 42e7b81b1e FS-7500 FS-7508: move debug logging to DEBUG1 2015-05-28 12:47:17 -05:00
Anthony Minessale 6901329760 FS-7500: drop flags on recover 2015-05-28 12:47:17 -05:00
Anthony Minessale 01c0a1d44d FS-7500: don't send blank vid on sleep unless there is nothing else going on 2015-05-28 12:47:17 -05:00
Anthony Minessale 6522dbdffb FS-7500: wait for video ready on answer 2015-05-28 12:47:17 -05:00
Anthony Minessale d293e9bd1b FS-7500: check for uninit srtp 2015-05-28 12:47:17 -05:00
Anthony Minessale 62c3ddfab3 FS-7500: fix sleep sending blank img too fast 2015-05-28 12:47:17 -05:00
Anthony Minessale d5e48302e6 FS-7501: improve linked list algorithm in a few places to help performance 2015-05-28 12:47:17 -05:00
Seven Du 70953c868b FS-7512: add audio to png 2015-05-28 12:47:17 -05:00
Seven Du 8c56410d7f FS-7512: slow down in block mod 2015-05-28 12:47:17 -05:00
Anthony Minessale 74cff6a744 FS-7513: fix queued video playbacks 2015-05-28 12:47:16 -05:00
Anthony Minessale 8a0b95115f FS-7513: have one way video calls also use blank avatar system 2015-05-28 12:47:16 -05:00
Seven Du 828b6a553e FS-7508: improve vpx err msg 2015-05-28 12:47:16 -05:00
Brian West cfc8dc5b47 FS-7500: fix buffer too small in fsv 2015-05-28 12:47:16 -05:00
Anthony Minessale f8287d0617 FS-7513: add profile param video-no-video-avatar and variable video_avatar_png to set video replacement avatar images
add also video_no_video_avatar_png to only check the var on no-video situations
2015-05-28 12:47:16 -05:00
Anthony Minessale 755a0c0549 FS-7512: add mod_png to play a png as video defaults to 10 sec add {png_ms=N} to change (negative number is forever) 2015-05-28 12:47:16 -05:00
Anthony Minessale 07b9600130 FS-7513: play files in layers 2015-05-28 12:47:16 -05:00
Seven Du c128d0c850 FS-7515: fix copy & paste err 2015-05-28 12:47:16 -05:00
Seven Du 384c595c31 FS-7515: fix compiler warnings on Mac 2015-05-28 12:47:16 -05:00
Brian West 379950f523 FS-7500: video introp tweaks 2015-05-28 12:47:15 -05:00
Brian West 0f3b3752d2 FS-7513: support simo vid recording of conference 2015-05-28 12:47:15 -05:00
Anthony Minessale abd9867cf9 FS-7514: tweak vlc to ask for aac in mp4
don't start playing until the first read in vlc vid handles
use correct buffer len
Fixing typo. memset should zero out the whole struct
add some mutexes
fix locking issue on bad formatted input string
2015-05-28 12:47:15 -05:00
Anthony Minessale c07513ea55 FS-7506: make freetype optional 2015-05-28 12:47:15 -05:00
Anthony Minessale 83b72513f6 FS-7515: reset stats in a few places 2015-05-28 12:47:15 -05:00
Anthony Minessale 74737983be FS-7515: automake and pkg-config detection for mod_cv/opencv 2015-05-28 12:47:15 -05:00
Anthony Minessale c13d4bcbbb FS-7514: add pkg-config checks for vlc 2015-05-28 12:47:15 -05:00
Anthony Minessale cb2bf7269a FS-7515: promote debug message 2015-05-28 12:47:15 -05:00
Anthony Minessale b21406e4c0 FS-7515: add mod_cv 2015-05-28 12:47:15 -05:00
Anthony Minessale ee81167996 FS-7502: add some changes for video media bug 2015-05-28 12:47:15 -05:00
Anthony Minessale 026ae6945e FS-7519: cleanup on mod_avformat 2015-05-28 12:47:15 -05:00
Anthony Minessale 1cbc3c58a5 FS-7502: add record_concat_video=true to show split video recordings with session record 2015-05-28 12:47:15 -05:00
Seven Du 96d4318964 FS-7508: add debug logs 2015-05-28 12:47:15 -05:00
Seven Du dc17932a81 FS-7508: restart on ts mismatch and add some logs to track packet loss 2015-05-28 12:47:15 -05:00
Anthony Minessale 216850c1a0 FS-7502: set video flag on record session 2015-05-28 12:47:14 -05:00
Anthony Minessale dc7608fb9e FS-7501: add mutex to vid buf and fix regression from last regression fix 2015-05-28 12:47:14 -05:00
Anthony Minessale 84ca513353 FS-7500: fix some regressions regarding passthru video 2015-05-28 12:47:14 -05:00
Michael Jerris 0fc2c54b11 FS-7513: Add new conference profile param video-mode (mux,transcode,passthrough) with passthrough as default
remove transcode-video, decode-video, mix-video flags
2015-05-28 12:47:14 -05:00
Michael Jerris 93debc5ae1 FS-7501: remove debug 2015-05-28 12:47:14 -05:00
Anthony Minessale 8b9f8748a2 FS-7500: fix syntax 2015-05-28 12:47:14 -05:00
Anthony Minessale fa7695847a FS-7499: improve generic nack and vpx framing 2015-05-28 12:47:14 -05:00
Brian West 7fc019a979 FS-7513: fix segfault on conference hangup 2015-05-28 12:47:14 -05:00
Anthony Minessale eb819b51b5 FS-7509: WIP media reneg stuff 2015-05-28 12:47:14 -05:00
Michael Jerris 6d5590a76a FS-7513: don't seg when you have a mute png defined that can not be read 2015-05-28 12:47:13 -05:00
Michael Jerris 2171081963 FS-7513: remove unused profile params ack-sound and nack-sound 2015-05-28 12:47:13 -05:00
Anthony Minessale 2bbe417fab FS-7508: use all the cpus 2015-05-28 12:47:13 -05:00
Anthony Minessale 7c294f242f FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec 2015-05-28 12:47:13 -05:00
Anthony Minessale 52d15f6398 FS-7505: clean up and support multiple formats to same extensions {modname=mod_vlc}rtmp://foo.com/flvplayback also move [/tmp]file to be {spool_path=/tmp} 2015-05-28 12:47:13 -05:00
Anthony Minessale 13e60c420d FS-7513: don't want detach here 2015-05-28 12:47:13 -05:00
Seven Du fb429b2134 FS-7519: Another round to break mod_av, now mod_avcodec 2015-05-28 12:47:13 -05:00
Seven Du ed62be70c3 FS-7519: WIP break mod_av into mod_avformat, moving to libav.org API
Tested with libav 11.3
./configure --prefix=/opt/av --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libfaac --enable-libspeex --enable-nonfree --enable-vda

WIP av file interface, kind of works, need further tweak & cleanup
2015-05-28 12:47:13 -05:00
Anthony Minessale 25dade86aa FS-7519: add pkg-config checks for avformat and avcodec and move modules to use automke 2015-05-28 12:47:13 -05:00
Anthony Minessale 697107547a add audio offset 2015-05-28 12:47:13 -05:00
Seven Du adbb197414 fix stereo 2015-05-28 12:47:12 -05:00
Seven Du bbfd9f7ef3 got webm working with mono, todo: stereo, syncing 2015-05-28 12:47:12 -05:00
Seven Du 29bddbd3fc WIP add experimental vorbis codec
made it like a codec mod so we can share the same code in case opus is fully supported in webm
add -lvorbis -lvorbisenc to Makefile
the audio is still completely silence, hope we can find out why
2015-05-28 12:47:12 -05:00
Michael Jerris ca291c3f12 FS-7513: fix conference position api command description 2015-05-28 12:47:12 -05:00
Anthony Minessale fc1ff9209e FS-7508: timing update 2015-05-28 12:47:12 -05:00
Seven Du 8d4686aee2 some refactors and make audio work with opus
use SWITCH_RTP_MAX_BUF_LEN for video
timestamp has to times 1000 or it too short
neither VLC nor Chrome plays it because they don't support OPUS,
but you can use `ffmpeg -i a.webm b.webm`
2015-05-28 12:47:12 -05:00
Anthony Minessale db31cc650e fix size 2015-05-28 12:47:12 -05:00
Seven Du 18cd917916 FS-7508: fix when reading invalid vp9 and cleanup a bit 2015-05-28 12:47:12 -05:00
Seven Du 897ec20c99 WIP add mod_webm, video is working, audio is not 2015-05-28 12:47:12 -05:00
Anthony Minessale 66dd1bc8e7 FS-7508: tweak 2015-05-28 12:47:12 -05:00
Seven Du 87766a23b7 FS-7508: add vp9 key frame detection and some packet sanity check 2015-05-28 12:47:12 -05:00
Anthony Minessale 4a6e9fd4b0 FS-7508: WIP vp9 stuff 2015-05-28 12:47:12 -05:00
Anthony Minessale 35c6a1479d FS-7500: move flags up 2015-05-28 12:47:11 -05:00
Anthony Minessale d418fb37ed FS-7500: init dtmf to 0 2015-05-28 12:47:11 -05:00
Anthony Minessale 5fcb594246 FS-7500: add partition mode to switch_buffer 2015-05-28 12:47:11 -05:00
Anthony Minessale 8f3788abce FS-7500: wtf 2015-05-28 12:47:11 -05:00
Anthony Minessale fdcfcaece9 FS-7500: don't wait for video ready from inside video thread that sets that flag 2015-05-28 12:47:11 -05:00
Anthony Minessale 24254bb1fd FS-7500: revert 2015-05-28 12:47:11 -05:00
Anthony Minessale d3359ff9f0 FS-7500: don't wait for video ready from inside video thread that sets that flag 2015-05-28 12:47:11 -05:00
Seven Du 1a31f1f183 add vp9 passthru 2015-05-28 12:47:11 -05:00
Anthony Minessale 39730182e5 FS-7514: add logging to vlc 2015-05-28 12:47:11 -05:00
Anthony Minessale 80fdf7a24c FS-7514: add sanity check for framing 2015-05-28 12:47:11 -05:00
Anthony Minessale 6db97cae7e FS-7514: add youtube stream name 2015-05-28 12:47:11 -05:00
Anthony Minessale bc09ade1a5 FS-7514: merge conflict from hell 2015-05-28 12:47:10 -05:00
Anthony Minessale dc2e4c42ca FS-7514: amend 2015-05-28 12:47:10 -05:00
Anthony Minessale bffdac0bb7 FS-7514: add file params to set some optimal settings from conference into recording handle and make streaming better 2015-05-28 12:47:10 -05:00
Seven Du ae8ddfd4f1 FS-7518: add mod_mp4v2
libmp4v2-dev is required for this mod
2015-05-28 12:47:10 -05:00
Seven Du 39bd8adbdc FS-7514: fix binary & 2015-05-28 12:47:10 -05:00
Anthony Minessale 41577304ad FS-7514: add write to rtmp transparent wrapper 2015-05-28 12:47:10 -05:00
Anthony Minessale c040b0ff0d FS-7503: store stream name so same module can handle mutiple stream interfaces 2015-05-28 12:47:10 -05:00
Anthony Minessale 517a6d4ab7 FS-7503: add video read flags to choose flush and or block mode and add stuff to vlc so it can play youtube urls 2015-05-28 12:47:10 -05:00
Anthony Minessale fa2f274c61 FS-7513: move layout switching to muxing thread for more protection 2015-05-28 12:47:10 -05:00
Seven Du 9d635f57ef add MP3 codec interface 2015-05-28 12:47:10 -05:00
Michael jerris 1cd9e52b9e FS-7499: add enum for various rtcp related types 2015-05-28 12:47:10 -05:00
Anthony Minessale 6f379f43c1 FS-7500: fix calculation bug in switch_img_fit 2015-05-28 12:47:10 -05:00
Seven Du b7fc2e047d add 48k PCMU support 2015-05-28 12:47:09 -05:00
Anthony Minessale cd9dd44a16 FS-7514: reduce default 2015-05-28 12:47:09 -05:00
Anthony Minessale e3d79947fc FS-7513: reset layer on aspect change 2015-05-28 12:47:09 -05:00
Anthony Minessale 8b47053915 FS-7514: drop extra frames 2015-05-28 12:47:09 -05:00
Anthony Minessale c9cccd519a FS-7509: add some more bandwidth control features 2015-05-28 12:47:09 -05:00
Anthony Minessale 3e7c0f6558 FS-7499: fix seg 2015-05-28 12:47:09 -05:00
Anthony Minessale 6e05e09e9a FS-7500: missing newline 2015-05-28 12:47:09 -05:00
Anthony Minessale 405abc5177 FS-7500: fix regression in no-camera mode 2015-05-28 12:47:08 -05:00
Anthony Minessale e7ab257c45 FS-7513: revert 2015-05-28 12:47:08 -05:00
Anthony Minessale 5755b7849e FS-7513: move code to core 2015-05-28 12:47:08 -05:00
Anthony Minessale 7fe734e1f9 FS-7513: move thread create and fix missing mutex unlock 2015-05-28 12:47:08 -05:00
Anthony Minessale 5b9ada2b43 FS-7509 FS-7513: add vid floor control 2015-05-28 12:47:08 -05:00
Anthony Minessale 7cf3cb0cda FS-7513: move vb to each member for less contention 2015-05-28 12:47:08 -05:00
Anthony Minessale 0cd254ef8f FS-7513: fix banner disappearing when vid muting 2015-05-28 12:47:08 -05:00
Anthony Minessale ee09575466 FS-7500: try not do 2015-05-28 12:47:08 -05:00
Anthony Minessale 0d34e8ac77 FS-7500: add a framebuffer to reuse memory and use it to offload frame writing from video muxing thread to a dedicated write thread 2015-05-28 12:47:08 -05:00
Anthony Minessale 5ac63b9250 FS-7514: pop only newest frame on video file read to keep sync 2015-05-28 12:47:08 -05:00
Anthony Minessale 289c7925aa FS-7508: reset packet data on codec reset 2015-05-28 12:47:08 -05:00
Anthony Minessale b1e8f86b37 FS-7500: block overlapping writes 2015-05-28 12:47:08 -05:00
Anthony Minessale 4b21a45e9e FS-7513: fix typo 2015-05-28 12:47:07 -05:00
Anthony Minessale 78d06832e7 FS-7500: add force flag 2015-05-28 12:47:07 -05:00
Anthony Minessale dbec35e734 FS-7513: move code up 2015-05-28 12:47:07 -05:00
Anthony Minessale ab34c9a99c FS-7500: stick with little train img 2015-05-28 12:47:07 -05:00
Anthony Minessale 9a7a33fb55 FS-7500: block in flag set for wait for video ready 2015-05-28 12:47:07 -05:00
Anthony Minessale 5b509a72ef FS-7505: train video a little in beginning and make play file wait for it to train 2015-05-28 12:47:07 -05:00
Anthony Minessale d5f67d46db FS-7514: typo 2015-05-28 12:47:07 -05:00
Anthony Minessale e13c7bc70e FS-7514: add m4v 2015-05-28 12:47:07 -05:00
Anthony Minessale 7dba838926 FS-7513: fix read lock bug 2015-05-28 12:47:07 -05:00
Anthony Minessale c255ba7e8f FS-7514: work on sync a little more 2015-05-28 12:47:07 -05:00
Anthony Minessale eb78d2ae7b FS-7499: ignore replay errs when nack is enabled 2015-05-28 12:47:07 -05:00
Anthony Minessale baa3d9cd7c FS-7503 FS-7514 FS-7513: fix some buffering bugs in vlc and set mod_conference to match the rate and channels when calling vlc files 2015-05-28 12:47:06 -05:00
Anthony Minessale 36e754eed2 FS-7503: recording tweak 2015-05-28 12:47:06 -05:00
Anthony Minessale 780eef3fc1 FS-7514: add mov 2015-05-28 12:47:06 -05:00
Anthony Minessale 69fd32f8ef FS-7500: set decoded read mode 2015-05-28 12:47:06 -05:00
Seven Du 455c20983f FS-7514: vlc endpoint stereo support, add vlc_rate and vlc_channels 2015-05-28 12:47:06 -05:00
Anthony Minessale 500b32b343 FS-7509 FS-7514: another round of cleanup 2015-05-28 12:47:06 -05:00
Anthony Minessale 59da14542f FS-7505 FS-7514: working towards vid rec 2015-05-28 12:47:06 -05:00
Anthony Minessale a42f40f938 FS-7514 FS-7505: clean up more from yesterday 2015-05-28 12:47:06 -05:00
Seven Du 4289a7ec59 FS-7519: initial version of record_av to record mp4
it generate better compatible mp4 than vlc, so it compatible with quicktime and safari
except that the first few video frames messed up, maybe some pts issue, to be fixed

support float audio, and it can save to webm
2015-05-28 12:47:06 -05:00
Anthony Minessale a63dab7a4a FS-7503 FS-7514: A bunch of stuff:
Get filehandles working with video in some cases (if using vlc://):
    mod_conference for play and record video (will record the canvas in mix mode or floor holder in non-mix mode)
    regular playback app should be able to play vlc streams

Add no-minimize-encoding member flag so particilar memebers can opt out of that setting and still get their own encoded stream (for bw related needs)

TODO:

  mod_vlc is a mess.  Find a way to merge video_context and file_context.  They are very similar and they are intertwined and messy.
  Find out why vlc creates messed up mp4 files that don't play everywhere
  Get VLC so it can record aac, mp4x webm
2015-05-28 12:47:06 -05:00
Anthony Minessale 19d87c46fd FS-7514: sigh 2015-05-28 12:47:05 -05:00
Anthony Minessale 69b955c13b FS-7514: add sync offset default to 500ms 2015-05-28 12:47:05 -05:00
Anthony Minessale 6b289ed02a FS-7514: slow down vlc callback by syncing with video flow 2015-05-28 12:47:05 -05:00
Anthony Minessale af0f2e6ea8 FS-7514: buffer video too for vlc 2015-05-28 12:47:05 -05:00
Anthony Minessale 4bcc6e6d64 FS-7503 FS-7514: First crack at recording mp4 <action application="capture_video" data="vlc://#transcode{vcodec=h264,acodec=mp3}:std{access=file,mux=mp4,dst=/var/www/sounds/file.mp4}"/> 2015-05-28 12:47:05 -05:00
Seven Du c59874cbff FS-7517 FS-7508: typo 2015-05-28 12:47:05 -05:00
Brian West 8c9acc4316 FS-7517: Fix mod_openh264 include 2015-05-28 12:47:05 -05:00
Mike Jerris 086cf1c279 FS-7500: expand libpng detection to try to find a good png >= 1.6.16, fall back to older verison in weezy, and add support for building without libpng 2015-05-28 12:47:05 -05:00
Anthony Minessale c02f694c37 FS-7509: add a way to choose bandwidth 2015-05-28 12:47:05 -05:00
Anthony Minessale 2f0f408984 FS-7500: ping video thread on shutdown so it can end 2015-05-28 12:47:04 -05:00
Seven Du afc67e517b FS-7500: fix type mismatch 2015-05-28 12:47:04 -05:00
Anthony Minessale 632c781c1c FS-7513 FS-7509: add control for png and fix bug with null args 2015-05-28 12:47:04 -05:00
Anthony Minessale 74f25524f1 FS-7513: add some controls 2015-05-28 12:47:04 -05:00
Anthony Minessale 1c6a15fde4 FS-7513: add canvas refresh to redraw gaps on overlap enter/exit 2015-05-28 12:47:04 -05:00
Anthony Minessale 09704516d7 FS-7513: fix sticky floor lock 2015-05-28 12:47:04 -05:00
Anthony Minessale f8729d5440 FS-7500: make video bandwidth accurate for vpx 2015-05-28 12:47:04 -05:00
Anthony Minessale 93db69ed03 FS-7500: can't use stristr for this 2015-05-28 12:47:04 -05:00
Anthony Minessale ae4686013a FS-7513: add mutex 2015-05-28 12:47:04 -05:00
Anthony Minessale 628edd1183 FS-7513: add code to track media direction to avoid assigning floor or video layers to those with no signal 2015-05-28 12:47:03 -05:00
Anthony Minessale 4584e6a8e4 FS-7513: add reset on canvas change 2015-05-28 12:47:03 -05:00
Anthony Minessale 270aba6849 FS-7513: improve reservation id and layout switching with overlap 2015-05-28 12:47:03 -05:00
Anthony Minessale 16b752a957 FS-7513: don't call force on unset 2015-05-28 12:47:03 -05:00
Anthony Minessale 356a501b7c FS-7508: reduce vpx memory footprint 2015-05-28 12:47:03 -05:00
Anthony Minessale 9bc84051f6 FS-7513: fix possible mem leak 2015-05-28 12:47:03 -05:00
Anthony Minessale 2c4c2587ed FS-7513 FS-7509: crack at screen share 2015-05-28 12:47:03 -05:00
Anthony Minessale 84074ab804 FS-7513: cleanup 2015-05-28 12:47:02 -05:00
Anthony Minessale 7307005c56 FS-7513: clear screen on unvmute 2015-05-28 12:47:02 -05:00
Seven Du e02ff26569 FS-7500: libpng 1.6.0 has much simpler APIs, also add a new switch_img_patch_png to possible patch a transparent png to an img
While this is not optimal, we should cache the png:
1) cache the whole buffer, with comes with RGBARGBA pixel formats
2) Allow switch_image_t to be other formats e.g. VPX_IMG_FMT_ARGB, VPX_IMG_FMT_ARGB_LE, or VPX_IMG_FMT_444A
   those can have alpha channels so we can check the alpha channel before we patch

Note all PNG are created equel, or maybe a bug in libpng since for some PNG files with alpha the returned buffer
     not seems like RGBARGBA... while docs says it should default be RGBA
2015-05-28 12:47:02 -05:00
Seven Du f4fad4e756 FS-7500: fix seg 2015-05-28 12:47:02 -05:00
Anthony Minessale 704c036593 FS-7513: change name of flag to make sense 2015-05-28 12:47:02 -05:00
Anthony Minessale e65f6bd604 FS-7513: add logo func and positioning param and vid snapshot 2015-05-28 12:47:02 -05:00
Anthony Minessale ae68efd48e FS-7500: assert on neg coordinates causes a seg on free if they are used 2015-05-28 12:47:02 -05:00
Anthony Minessale eca9107498 FS-7513: add video mute and suite of controls 2015-05-28 12:47:02 -05:00
Anthony Minessale 2c1ab14074 FS-7513: add configurable FPS for conf and default to 15 2015-05-28 12:47:02 -05:00
Anthony Minessale 98db5879bd FS-7513: remove extra mutex 2015-05-28 12:47:02 -05:00
Seven Du 84a1f5f642 FS-7500: add overlay func 2015-05-28 12:47:02 -05:00
Seven Du e868e6eec9 FS-7513: refactor reset_image, we do not need the round to even anymore, actually it causes side effects 2015-05-28 12:47:01 -05:00
Seven Du 18a896d39d FS-7513: trying to fix mutex 2015-05-28 12:47:01 -05:00
Seven Du 9faf03c91e FS-7500: be safe for patch and fill, off by 1 2015-05-28 12:47:01 -05:00
Seven Du c70e8cf216 FS-7500: add yuv2rgb 2015-05-28 12:47:01 -05:00
Seven Du b90ef728f3 FS-7500: fix rgb2yuv typo 2015-05-28 12:47:01 -05:00
Seven Du 061bcb063a FS-7500: fix patch and fill on an odd position 2015-05-28 12:47:01 -05:00
Anthony Minessale b808099f6a FS-7513: try 30 again 2015-05-28 12:47:01 -05:00
Anthony Minessale 160d3bb817 FS-7513: add mutex 2015-05-28 12:47:01 -05:00
Seven Du 2841319037 FS-7500: fix compiler warning 2015-05-28 12:47:01 -05:00
Anthony Minessale dba3f8429d FS-7513: try out 25fps 2015-05-28 12:47:01 -05:00
Anthony Minessale 1faf602251 FS-7513: basic logo 2015-05-28 12:47:01 -05:00
Anthony Minessale 521a97935e FS-7500: check in png code and put it in the core to mature 2015-05-28 12:47:00 -05:00
Anthony Minessale e84d7b8c89 FS-7513: banner control and layout bgcolor param 2015-05-28 12:47:00 -05:00
Anthony Minessale 4afc59370a FS-7513: do banner with set rect so we don't have to keep patching it in 2015-05-28 12:47:00 -05:00
Anthony Minessale 47cb08c491 FS-7513: don't attach when you don't have video 2015-05-28 12:47:00 -05:00
Anthony Minessale a8e8f2e149 FS-7513: factor conditional back out and use fixed 30FPS timer 2015-05-28 12:47:00 -05:00
Anthony Minessale 6f39539308 FS-7513: comment demo code and set bg color with new anti-alias 2015-05-28 12:47:00 -05:00
Seven Du 90ea86bc95 FS-7506 FS-7513: refactor with rgb color space to support anti aliasing 2015-05-28 12:47:00 -05:00
Seven Du a446d8411e FS-7513: clean white spaces 2015-05-28 12:47:00 -05:00
Seven Du 187b0c1485 FS-7506: fix pen position and add mono font support 2015-05-28 12:47:00 -05:00
Anthony Minessale 0b496715f9 FS-7513: dup sring before chopping it up 2015-05-28 12:47:00 -05:00
Anthony Minessale 0115fa192e FS-7513: keyframe every 10 on conf 2015-05-28 12:47:00 -05:00
Anthony Minessale b2fa835a0a FS-7513: only use timer when needed 2015-05-28 12:47:00 -05:00
Anthony Minessale 0ca774e4cf FS-7513: don't need to free that 2015-05-28 12:47:00 -05:00
Anthony Minessale d7127764e8 FS-7506 FS-7513: banner update 2015-05-28 12:47:00 -05:00
Anthony Minessale 0697db4fb4 FS-7506 FS-7513: set banner with video_banner_text variable set before calling in, NEEDS DOCS params are parsable inside a {} string 2015-05-28 12:46:59 -05:00
Seven Du 9d7eef28e6 FS-7500 FS-7513: add and use switch_img_fill 2015-05-28 12:46:59 -05:00
Seven Du c857be4547 FS-7506: improve draw_text with minimum anti aliasing 2015-05-28 12:46:59 -05:00
Seven Du 8a1cb14015 FS-7499: trying to fix rtp data len when rtp extension is used
duplicated some code from 4943~4953, but that code has it's own problem, it forget to reset *bytes results to
larger frame->datalen could read beyond the buffer, and it also makes stats not accurate. But if we reset *bytes
at that place, then later the switch_vb_put_packet has problem because it depends that *bytes. this patch should
fix the datalen at least buf still leaves duplicated code and inaccurate stats.
2015-05-28 12:46:59 -05:00
Seven Du ff076afaae FS-7506: utf8 support of draw text 2015-05-28 12:46:59 -05:00
Seven Du 0f28311b17 FS-7506 FS-7513: refactor switch color and implement draw_text in mod_conference 2015-05-28 12:46:59 -05:00
Seven Du 0a015f4c76 FS-7517: fix hardcoded width and height on video reset 2015-05-28 12:46:59 -05:00
Seven Du 2842dedc21 FS-7500: refactor switch_img_patch, it was made complicated than it should be 2015-05-28 12:46:59 -05:00
Seven Du ba9c2f38a7 FS-7513: round screen size to even numbers to prevent green lines on edge with 1up_top_left+5 and 6x6 layouts 2015-05-28 12:46:59 -05:00
Seven Du af034b2713 FS-7513: fix compile w/o openal 2015-05-28 12:46:59 -05:00
Anthony Minessale 39253d9fd2 FS-7513: revert 2015-05-28 12:46:59 -05:00
Anthony Minessale c9e0a389bd FS-7513: remove locking 2015-05-28 12:46:59 -05:00
Anthony Minessale 1deca68e37 FS-7513: fix math on image resizing 2015-05-28 12:46:59 -05:00
Anthony Minessale 1aa66ef30a FS-7513: do layers in order and reset when attaching 2015-05-28 12:46:58 -05:00
Anthony Minessale fcf32fd53d FS-7500 FS-7513: add video bandwidth control function and use it in mod_conference 2015-05-28 12:46:58 -05:00
Anthony Minessale 8be96b106e FS-7513: refactor some screen switching and layout stuff 2015-05-28 12:46:58 -05:00
Anthony Minessale d8ce20e6bf FS-7513: clear group when switching to standard layout 2015-05-28 12:46:58 -05:00
Anthony Minessale e14ad07a26 FS-7500: move function to core 2015-05-28 12:46:58 -05:00
Anthony Minessale 8f00bd1173 FS-7513: make group change sticky when done from cli command 2015-05-28 12:46:58 -05:00
Seven Du 7764b4ea32 FS-7513: cleanup white spaces 2015-05-28 12:46:58 -05:00
Seven Du 78067a890c FS-7517: update to openh264 commit 3f19534dd6118b96ce73073ae1e047490c71b6e6 2015-05-28 12:46:58 -05:00
Anthony Minessale f7fb5fbff3 FS-7500: forgot one 2015-05-28 12:46:58 -05:00
Anthony Minessale 1bb8c0a8fc FS-7500: fix signed error 2015-05-28 12:46:58 -05:00
Anthony Minessale 3e323e3b09 FS-7513: add auto layout advance based on group 2015-05-28 12:46:58 -05:00
Anthony Minessale a56e65bace 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-28 12:46:58 -05:00
Anthony Minessale fa5d6af2cd 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-28 12:46:57 -05:00
Anthony Minessale 8d3f93152e FS-7508: parse both bw vars the same 2015-05-28 12:46:57 -05:00
Seven Du 58a8d5daa6 FS-7513: remove extra memset since it's already garanteed in switch_core_alloc 2015-05-28 12:46:57 -05:00
Seven Du 93ee6158ff FS-7514: make vlc endpoint works with originate in addition to bridge 2015-05-28 12:46:57 -05:00
Anthony Minessale 7400d73c93 FS-7513: refactor thread 2015-05-28 12:46:57 -05:00
Anthony Minessale b600b0b6ee FS-7508: add avg duration into codec 2015-05-28 12:46:57 -05:00
Anthony Minessale d8241a12ea FS-7499: comment out sip based picture update 2015-05-28 12:46:57 -05:00
Seven Du 74f4b1800b FS-7513: fix copy and paste error 2015-05-28 12:46:57 -05:00
Seven Du 4b1979a119 FS-7513: fix compiler warning about uninitialized var and make sure allocated memory is filled with 0 2015-05-28 12:46:57 -05:00
Anthony Minessale a6dbc2c6f8 FS-7513: fix overlap 2015-05-28 12:46:57 -05:00
Anthony Minessale 8915516c13 FS-7513: here's a story....... of a lovely feature 2015-05-28 12:46:56 -05:00
Anthony Minessale 1061aef9fa FS-7500: convert more to typedef to avoid warnings and build problems 2015-05-28 12:46:56 -05:00
Seven Du 7bdd80499d FS-7513: fix assert 2015-05-28 12:46:56 -05:00
Seven Du d93f304b25 FS-7501: comment out unused function to shut warning on Mac 2015-05-28 12:46:56 -05:00
Anthony Minessale 91c20769ed FS-7513: conf WIP 2015-05-28 12:46:56 -05:00
Anthony Minessale 1422158271 FS-7500: add to last commit 2015-05-28 12:46:56 -05:00
Anthony Minessale ac140fb6dd FS-7500: codec tweaks 2015-05-28 12:46:56 -05:00
Anthony Minessale 13c3f053ab FS-7500: use the vpx_image_t from the installed header file to prevent mismatch 2015-05-28 12:46:56 -05:00
Anthony Minessale 260e277f36 FS-7513: conf WIP hard code 4x4 squares in 720p more to come 2015-05-28 12:46:56 -05:00
Anthony Minessale 7ccbf44725 FS-7500: fix missing division 2015-05-28 12:46:55 -05:00