302 Commits

Author SHA1 Message Date
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
Anthony Minessale
bc24e0f28a support AVPF too 2015-05-28 12:46:53 -05:00
Anthony Minessale
6ba2205cf7 FS-7499: enable nack in video negotiation 2015-05-28 12:46:53 -05:00
Anthony Minessale
4e7cda1b49 FS-7501: remove debug 2015-05-28 12:46:52 -05:00
Anthony Minessale
0d626bc715 FS-7501: more factoring on vid buffer 2015-05-28 12:46:52 -05:00
Seven Du
a50789f97f FS-7499: magic number to macro 2015-05-28 12:46:52 -05:00
Anthony Minessale
ae44bd27e2 FS-7499: tweaks to rate of fir/pli 2015-05-28 12:46:51 -05:00
Anthony Minessale
063eec1e8e FS-7500: fix recovery for video 2015-05-28 12:46:51 -05:00
Anthony Minessale
76ec99ed97 FS-7500: poll rtp on answer until dtls is negotiated 2015-05-28 12:46:51 -05:00
Anthony Minessale
6a7509ffbc FS-7499: default rtcp to once a second for video and every 5 for audio 2015-05-28 12:46:51 -05:00
Anthony Minessale
be21d4f28f FS-7500: use unsigned int for frame->timestamp 2015-05-28 12:46:50 -05:00
Anthony Minessale
970064294c FS-7500: refactoring 2015-05-28 12:46:50 -05:00
Anthony Minessale
8f0910509f FS-7500: add keyframe req and session refresh req debounce 2015-05-28 12:46:49 -05:00
Anthony Minessale
2ea12656ea FS-7500: improvement for conf vid 2015-05-28 12:46:49 -05:00
Anthony Minessale
853873725b FS-7500: factor out the write_image callback and fix the vlc video endpoint to setup and match the audio params of the A leg when bridged 2015-05-28 12:46:48 -05:00
Anthony Minessale
01fda5748c FS-7500: another round of trying to make things work 2015-05-28 12:46:48 -05:00
Anthony Minessale
a8b00acda7 FS-7500: sync up going both ways after picture reset 2015-05-28 12:46:48 -05:00
Anthony Minessale
b90d24a05f FS-7513: fix video switching in conference 2015-05-28 12:46:48 -05:00
Anthony Minessale
b8577d0ce9 FS-7500: fix seg and clean up keyframe code 2015-05-28 12:46:48 -05:00
Anthony Minessale
ca70f76a8b FS-7500: refresh vid the other way too when asking for keyframe 2015-05-28 12:46:48 -05:00
Anthony Minessale
c874fe05d8 FS-7500: SQUASH ME WITH THE LAST ONE 2015-05-28 12:46:47 -05:00
Anthony Minessale
b8ba1a1469 FS-7500: reduce CNG frames on video and move debug from mod_fsv to the core with a flag to enable it since the raw packet is not available anymore when you set DECODED READ flag 2015-05-28 12:46:47 -05:00
Anthony Minessale
a74b6f62a2 FS-7500: fix some of the debugging tools 2015-05-28 12:46:46 -05:00
Anthony Minessale
e7d34f3170 FS-7508: tolerate some messed up packets a little more 2015-05-28 12:46:45 -05:00
Anthony Minessale
96025a407d FS-7500: remove debug 2015-05-28 12:46:45 -05:00
Anthony Minessale
d7af2b128c FS-7500: clean up logic of encoder flow and set rules on return values and tweak some codec settings on vp8 2015-05-28 12:46:45 -05:00
Anthony Minessale
22020c86cb 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-28 12:46:45 -05:00
Anthony Minessale
0cd5658caa FS-7500: another refactoring pass, temp code still in place, WORK IN PROGRESS 2015-05-28 12:46:44 -05:00
Seven Du
258dacc742 FS-7500: fix if statement 2015-05-28 12:46:44 -05:00
Anthony Minessale
44e7929507 FS-7500: revert earlier bridge change 2015-05-28 12:46:44 -05:00
Anthony Minessale
3c29d4e8a7 FS-7500: mark places to fix later 2015-05-28 12:46:44 -05:00
Anthony Minessale
659c1e474e 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-28 12:46:44 -05:00
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
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
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
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
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
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
Michael Jerris
9d68cab2ac FS-7456: also more complete fix for FS-7440, handle sdp with m lines in any order 2015-04-21 12:07:54 -04:00
Michael Jerris
753030acf5 handle m=video lines before m=audio 2015-04-17 11:26:15 -05:00