Permalink
Browse files

RecordRTC, PluginRTC, RTCMultiConnection, Chrome-Extensions and Canva…

…s-Designer updated.
  • Loading branch information...
1 parent 8388987 commit 625720695d6d7c2493bce2fb5070c764880c4957 @muaz-khan committed Feb 12, 2015
Showing with 4,823 additions and 2,887 deletions.
  1. +2 −1 Canvas-Designer/decorator.js
  2. +1 −1 Canvas-Designer/draw-helper.js
  3. +0 −2 Canvas-Designer/eraser-handler.js
  4. +5 −1 Canvas-Designer/index.html
  5. +4 −0 Canvas-Designer/text-handler.js
  6. +2,853 −1,863 Chrome-Extensions/tabCapture/{RTCMultiConnection-v1.9.js → RTCMultiConnection.js}
  7. +3 −3 Chrome-Extensions/tabCapture/manifest.json
  8. +283 −138 Chrome-Extensions/tabCapture/tab-capturing.js
  9. +1 −1 DataChannel/DataChannel.js
  10. +10 −25 PluginRTC/Plugin.EveryWhere.js
  11. +75 −3 PluginRTC/README.md
  12. +1 −1 Pluginfree-Screen-Sharing/index.html
  13. +31 −36 Pre-recorded-Media-Streaming/index.html
  14. +15 −10 RTCMultiConnection/RTCMultiConnection.js
  15. +3 −3 RTCMultiConnection/RTCMultiConnection.min.js
  16. +1 −2 RTCMultiConnection/demos/Multi-Broadcasters-and-Many-Viewers.html
  17. +2 −2 RTCMultiConnection/demos/RecordRTC-and-RTCMultiConnection.html
  18. +1 −1 RTCMultiConnection/demos/admin-guest.html
  19. +1 −1 RTCMultiConnection/demos/all-in-one.html
  20. +2 −2 RTCMultiConnection/demos/audio-conferencing-data-sharing.html
  21. +1 −1 RTCMultiConnection/demos/audio-video-screen-sharing-recording.html
  22. +1 −1 RTCMultiConnection/demos/audioconferencing.html
  23. +3 −3 RTCMultiConnection/demos/bandwidth.html
  24. +1 −1 RTCMultiConnection/demos/getMediaDevices.html
  25. +2 −2 RTCMultiConnection/demos/group-file-sharing-plus-text-chat.html
  26. +4 −4 RTCMultiConnection/demos/join-with-or-without-camera.html
  27. +1 −1 RTCMultiConnection/demos/manual-session-establishment-plus-extra-data-transmission.html
  28. +1 −1 RTCMultiConnection/demos/multi-session-establishment.html
  29. +1 −1 RTCMultiConnection/demos/one-to-one-filesharing.html
  30. +2 −2 RTCMultiConnection/demos/rooms-screenshots.html
  31. +2 −2 RTCMultiConnection/demos/screen-sharing.html
  32. +1 −1 RTCMultiConnection/demos/session-reinitiation.html
  33. +1 −1 RTCMultiConnection/demos/users-ejection.html
  34. +2 −2 RTCMultiConnection/demos/video-broadcasting.html
  35. +2 −2 RTCMultiConnection/demos/videoconferencing.html
  36. +1 −1 RTCMultiConnection/dev/RTCMultiConnection.js
  37. +8 −8 RTCMultiConnection/dev/getUserMedia.js
  38. +4 −0 RTCMultiConnection/dev/globals.js
  39. +2 −1 RTCMultiConnection/dev/head.js
  40. +1 −1 RTCall/RTCall.js
  41. +6 −6 RTCall/index.html
  42. +37 −22 RecordRTC/AudioVideo-on-Firefox.html
  43. +3 −3 RecordRTC/Canvas-Recording/index.html
  44. +1 −1 RecordRTC/MRecordRTC/index.html
  45. +12 −0 RecordRTC/README.md
  46. +9 −1 RecordRTC/RecordRTC-to-PHP/index.html
  47. +634 −317 RecordRTC/RecordRTC.js
  48. +1 −1 RecordRTC/RecordRTC.min.js
  49. +37 −0 RecordRTC/dev/CanvasRecorder.js
  50. +44 −0 RecordRTC/dev/GifRecorder.js
  51. +52 −0 RecordRTC/dev/MediaStreamRecorder.js
  52. +50 −1 RecordRTC/dev/RecordRTC.js
  53. +39 −3 RecordRTC/dev/StereoAudioRecorder.js
  54. +30 −0 RecordRTC/dev/StereoRecorder.js
  55. +324 −301 RecordRTC/dev/Whammy.js
  56. +55 −10 RecordRTC/dev/WhammyRecorder.js
  57. +2 −1 RecordRTC/dev/head.js
  58. +87 −35 RecordRTC/index.html
  59. +1 −1 RecordRTC/package.json
  60. +1 −1 Translator.js/index.html
  61. +1 −1 audio-broadcast/broadcast-ui.js
  62. +1 −1 broadcast/broadcast-ui.js
  63. +1 −1 chat-hangout/hangout-ui.js
  64. +1 −1 file-hangout/file-hangout.js
  65. +8 −0 getStats/README.md
  66. +26 −18 getStats/getStats.js
  67. +2 −2 getStats/package.json
  68. +4 −4 meeting/index.html
  69. +1 −1 meeting/meeting.js
  70. +1 −1 one-to-many-audio-broadcasting/meeting.js
  71. +1 −1 one-to-many-video-broadcasting/meeting.js
  72. +3 −3 part-of-screen-sharing/firebase/index.html
  73. +1 −1 part-of-screen-sharing/iframe/index.html
  74. +1 −1 part-of-screen-sharing/realtime-chat/No-WebRTC-Chat.html
  75. +4 −4 part-of-screen-sharing/webrtc-data-channel/index.html
  76. +1 −1 screen-sharing/screen.js
  77. +1 −1 text-chat/data-connection.js
  78. +3 −3 text-chat/index.html
  79. +1 −5 video-conferencing/index.html
  80. +1 −1 webrtc-broadcasting/index.html
@@ -78,6 +78,7 @@ function setSelection(element, prop) {
else is.set('Pencil');
addEvent(context.canvas, 'click', function() {
+
dragHelper.global.startingIndex = 0;
setSelection(this, shape);
@@ -108,7 +109,7 @@ function setSelection(element, prop) {
strokeStyle = 'White';
fillStyle = 'White';
lineWidth = 10;
- } else if (cache.strokeStyle && cache.fillStyle && cache.lineWidth) {
+ } else if (cache.strokeStyle && cache.fillStyle && typeof cache.lineWidth !== 'undefined') {
strokeStyle = cache.strokeStyle;
fillStyle = cache.fillStyle;
lineWidth = cache.lineWidth;
@@ -59,7 +59,7 @@ var drawHelper = {
text: function (context, point, options) {
var oldFillStyle = fillStyle;
- context.fillStyle = fillStyle == 'transparent' ? 'Black' : fillStyle;
+ context.fillStyle = fillStyle === 'transparent' || fillStyle === 'White' ? 'Black' : fillStyle;
context.font = '15px Verdana';
context.fillText(point[0].substr(1, point[0].length - 2), point[1], point[2]);
fillStyle = oldFillStyle;
@@ -24,10 +24,8 @@ var eraserHandler = {
// make sure that pencil is drawing shapes even
// if mouse is down but mouse isn't moving
tempContext.lineCap = 'round';
- // tempContext.fillStyle = 'yellow';
drawHelper.line(tempContext, [t.prevX, t.prevY, x, y]);
- // points[points.length] = ["2", "#ecfa45", "#000000", "1", "source-over", "butt", "miter"];
points[points.length] = ['line', [t.prevX, t.prevY, x, y], drawHelper.getOptions()];
t.prevX = x;
@@ -40,6 +40,9 @@
<input type="checkbox" id="pencil" checked>
<label for="pencil">pencil</label><br>
+ <input type="checkbox" id="eraser" checked>
+ <label for="eraser">eraser</label><br>
+
<input type="checkbox" id="text" checked>
<label for="text">text</label><br>
@@ -149,7 +152,8 @@
CanvasDesigner.setTools({
pencil: true,
- text: true
+ text: true,
+ eraser: true
});
CanvasDesigner.appendTo(document.getElementById('widget-container'));
@@ -23,7 +23,11 @@ textInput.onkeyup = function(e) {
textInput.onblur = function(e) {
if (textInput.value.length) {
fillText();
+ return;
}
+ //textInput.style.top = '-100000px';
+ //textInput.style.left = '-100000px';
+ //textHandler.isTextPending = false;
};
function fillText() {
Oops, something went wrong.

0 comments on commit 6257206

Please sign in to comment.