Commit Graph

444 Commits

Author SHA1 Message Date
Mike Jerris 6189ac0192 Merge pull request #274 in FS/freeswitch from bugfix/FS-7578-telephone-event-codec-clock-rate to master
* commit 'f35343a9cc26ba08b20571784f14a5ef36bca0fc':
  FS-7578: properly generate telephone-event in sdp for each rate of codec being offered
2015-07-03 17:32:35 -05:00
Anthony Minessale a73952ceca FS-7726 #resolve 2015-06-29 16:06:13 -05:00
Anthony Minessale e80d129617 FS-7679 #resolve #comment should work now 2015-06-25 15:10:43 -05:00
Anthony Minessale c014c00bbf FS-7679 revert unwanted change 2015-06-25 14:40:06 -05:00
Anthony Minessale 6a102816f6 FS-7679 #resolve #comment please test, also added some cases of calling a file with no video as well 2015-06-25 13:33:47 -05:00
Anthony Minessale 834a0186e0 don't block on read of video file in the core 2015-06-19 01:50:48 -05:00
Anthony Minessale c29568f1c2 FS-7432 regression from 251c4ab439 don't count recovering channels 2015-06-18 13:33:50 -05:00
Anthony Minessale 0511896444 FS-7641 fix seg from wrongly nulling ping_frame 2015-06-13 16:19:13 -05:00
Anthony Minessale 7c94fc1680 play video files for hold_music
squashme
2015-06-13 16:18:45 -05:00
Anthony Minessale 9d40e1397d FS-7641 2015-06-12 15:59:02 -05:00
Anthony Minessale f35343a9cc FS-7578: properly generate telephone-event in sdp for each rate of codec being offered 2015-06-09 15:38:05 -05:00
Anthony Minessale 251c4ab439 FS-7432 send actpass on re-invites 2015-06-08 16:17:53 -05:00
Brian 6bb8ee321a FS-7601 improve opus packet loss routines #resolve 2015-06-05 18:11:20 -05:00
Anthony Minessale 8aea72c825 FS-7602 FS-7499 FS-7587 modify dtls init function placement 2015-06-04 20:37:15 -05:00
Anthony Minessale 150ebff5d4 FS-7602 FS-7499 FS-7587 #comment another refactoring pass on candidate parsing and ipv4/6 parsing (part 2) 2015-06-03 16:04:51 -05:00
Anthony Minessale 6c135e15c1 FS-7602 FS-7499 FS-7587 #comment another refactoring pass on candidate parsing and ipv4/6 parsing 2015-06-03 15:54:21 -05:00
Anthony Minessale c9065a85b6 FS-7602 add some of 3b2d00f3e6 from verto to sip and refactor some code to keep sip working like verto 2015-06-02 21:20:03 -05:00
Anthony Minessale 51c6a6f7b5 add a bit to 2db8f94ab6 2015-06-02 21:09:59 -05:00
Anthony Minessale 3b2d00f3e6 FS-7587 Add ipv6 support to Verto / Websockets 2015-06-01 13:39:47 -05:00
Anthony Minessale 2188358832 FS-7500 FS-7499 refactoring while battling chrome 2015-05-28 12:47:34 -05:00
Anthony Minessale 40484fce58 FS-7499 FS-7500 mods for interop against latest chrome builds 2015-05-28 12:47:34 -05:00
Anthony Minessale 09ede13fc4 FS-7500 add switch_img_letterbox and use it for the mirror input function 2015-05-28 12:47:33 -05:00
Anthony Minessale a8c1341f42 FS-7499 add tmmbr negotiation to sdp 2015-05-28 12:47:32 -05:00
Anthony Minessale 81ef7703bd FS-7500: add video_write_overlay and stop_video_write_overlay
Use it to add an image to the write stream to see a recording banner on video echoed back to you during recording.
ARGS: <file> [<position>] [<opacity 0-255>]

POSITIONS:
left-top
left-mid
left-bot
center-top
center-mid
center-bot
right-top
right-mid
right-bot

<extension name="example">
  <condition field="destination_number" expression="^overlay$">
    <action application="answer"/>
    <action application="video_write_overlay" data="/path/to/img.png"/>
    <action application="record" data="/data/file.mp4"/>
    <action application="stop_video_write_overlay"/>
   </condition>
</extension>
2015-05-28 12:47:32 -05:00
Anthony Minessale 6be0e0809d FS-7501 add vbsize to mod video buffer size 2015-05-28 12:47:32 -05:00
Anthony Minessale 81094b3a0c FS-7499 adding some more refactoring towards better rtcp 2015-05-28 12:47:31 -05:00
Anthony Minessale 4a76c0f8c6 FS-7499 second pass at adding TMMBR (WIP) 2015-05-28 12:47:31 -05:00
Anthony Minessale 593bd56bc6 FS-7499 revert 8a3b020be2d811e0b15008460f00cc32adcf9d51 2015-05-28 12:47:31 -05:00
Anthony Minessale ea16f82d20 FS-7500: move img test down into read function 2015-05-28 12:47:31 -05:00
Anthony Minessale 772665e0fa FS-7499 FS-7500 FS-7508 FS-7513 trying to improve the video signal decoding under stress and get vpx to latch on to a signale sooner 2015-05-28 12:47:29 -05:00
Anthony Minessale dc4c38dab5 FS-7499 FS-7508 FS-7501 some more general improvements for initial call setup 2015-05-28 12:47:29 -05:00
Anthony Minessale 272108f0b3 FS-7499 fix ssrc and rtcp negotiation and parsing irregularities caused by ice/rtcp mux 2015-05-28 12:47:29 -05:00
Anthony Minessale e7fa32a781 FS-7499 prefer FIR over PLI when both are present 2015-05-28 12:47:29 -05:00
Anthony Minessale e1ebd3b62b FS-7432 #resolve 2015-05-28 12:47:29 -05:00
Anthony Minessale a8a2c32ac3 FS-7499 FS-7500: combat black screen disease 2015-05-28 12:47:28 -05:00
Anthony Minessale b5b3e58026 FS-7513: refactor main thread a little 2015-05-28 12:47:27 -05:00
Anthony Minessale d1e466e76d FS-7500: clock in 15fps for now 2015-05-28 12:47:27 -05:00
Anthony Minessale 33d9b8066b FS-7500: return cng frames when waiting for a key 2015-05-28 12:47:27 -05:00
Anthony Minessale 22a4a4dd7e FS-7500: set default bandwidth to 1mb 2015-05-28 12:47:25 -05:00
Michael Jerris 4662118ca8 CID:1294504: make sure to check for NULL frame 2015-05-28 12:47:24 -05:00
Michael Jerris 6dcff0a79a CID:1294431: make sure not to check uninitialized value 2015-05-28 12:47:24 -05:00
Michael Jerris 35be8a16e9 CID:1024241: clean up null checking on var that can never be null anyways 2015-05-28 12:47:23 -05:00
Michael Jerris 200199e05f CID:1023990: remove unused code 2015-05-28 12:47:23 -05:00
Michael Jerris b78aac6196 FS-7456: also more complete fix for FS-7440, handle sdp with m lines in any order 2015-05-28 12:47:23 -05:00
Anthony Minessale 2a36066ea0 FS-7500: make 15fps the min detected speed 2015-05-28 12:47:23 -05:00
Michael Jerris 40d0e1fdd7 FS-7440: handle m=video lines before m=audio 2015-05-28 12:47:22 -05:00
William King f09dad317f CID: 1294489 missing break statement which would cause recvonly sdp to be treated as sendrecv 2015-05-28 12:47:21 -05:00
William King acec23d8c8 CID: 1294518 remove chance for divide by 0 2015-05-28 12:47:21 -05:00
Seven Du 30463bfc1e FS-7513: break is safer than continue
when the encoder returns 0, it means no more data will come and we should not try again
2015-05-28 12:47:21 -05:00
Anthony Minessale d8e5334a05 FS-7513: add some mutexes on video_read_callback code 2015-05-28 12:47:21 -05:00
Seven Du 046798a057 FS-7513: don't write 0 data, openh264 might return 0 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 0ddfea1d1b FS-7500: refactor to support Alpha channel on core image, only ARGB & I420 are supported 2015-05-28 12:47:20 -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 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 62c3ddfab3 FS-7500: fix sleep sending blank img too fast 2015-05-28 12:47:17 -05:00
Brian West 379950f523 FS-7500: video introp tweaks 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 1cbc3c58a5 FS-7502: add record_concat_video=true to show split video recordings with session record 2015-05-28 12:47:15 -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
Anthony Minessale eb819b51b5 FS-7509: WIP media reneg stuff 2015-05-28 12:47:14 -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 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
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 6f379f43c1 FS-7500: fix calculation bug in switch_img_fit 2015-05-28 12:47:10 -05:00
Anthony Minessale c9cccd519a FS-7509: add some more bandwidth control features 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 5755b7849e FS-7513: move code to core 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 b1e8f86b37 FS-7500: block overlapping writes 2015-05-28 12:47:08 -05:00
Anthony Minessale 78d06832e7 FS-7500: add force flag 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 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 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 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
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 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
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 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 2c4c2587ed FS-7513 FS-7509: crack at screen share 2015-05-28 12:47:03 -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 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 93ee6158ff FS-7514: make vlc endpoint works with originate in addition to bridge 2015-05-28 12:46:57 -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 260e277f36 FS-7513: conf WIP hard code 4x4 squares in 720p more to come 2015-05-28 12:46:56 -05:00
Anthony Minessale d6ef34a725 FS-7508: trying to mitigate chrome going crazy on reload 2015-05-28 12:46:55 -05:00
Anthony Minessale 4d100bc2e8 FS-7509: stop media on verto detach 2015-05-28 12:46:55 -05:00
Anthony Minessale 59fa1b9ac7 FS-7499: mod vid refresh stuff 2015-05-28 12:46:55 -05:00
Anthony Minessale 955dd099ca FS-7166 #resolve 2015-05-28 12:46:54 -05:00
Anthony Minessale 6789f37b39 # This is a combination of 2 commits.
# The first commit's message is:

FS-7166 #resolve

# This is the 2nd commit message:

revert
2015-05-28 12:46:54 -05:00
Anthony Minessale a69938c3d5 FS-7500: factor back in video_thread callback and move it to the video_read_frame 2015-05-28 12:46:53 -05:00
Anthony Minessale 81887e9bfc FS-7501: add video jitterbuffer debug controls 2015-05-28 12:46:53 -05:00