Skip to content

Commit

Permalink
pip effect and localStream
Browse files Browse the repository at this point in the history
  • Loading branch information
Contra committed Mar 8, 2013
1 parent dfb7979 commit a26c03f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions dist/Call.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions effects.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
-webkit-box-reflect: below 1 -webkit-gradient(linear, left top, left bottom, color-stop(0.5, transparent), color-stop(1.0, rgba(255, 255, 255, 0.5)));
}

.rtc-pip {
position: absolute;
height: 30%;
width: 30%;
bottom: 0;
right: 4px;
z-index: 100;
}

.rtc-fadein {
-webkit-transition-property: opacity;
-moz-transition-property: opacity;
Expand Down
1 change: 1 addition & 0 deletions examples/holla.js
Original file line number Diff line number Diff line change
Expand Up @@ -3619,6 +3619,7 @@ require.register("holla/dist/Call.js", function(exports, require, module){
};

Call.prototype.addStream = function(s) {
this.localStream = s;
this.pc.addStream(s);
return this;
};
Expand Down
1 change: 1 addition & 0 deletions holla.js
Original file line number Diff line number Diff line change
Expand Up @@ -3619,6 +3619,7 @@ require.register("holla/dist/Call.js", function(exports, require, module){
};

Call.prototype.addStream = function(s) {
this.localStream = s;
this.pc.addStream(s);
return this;
};
Expand Down
2 changes: 1 addition & 1 deletion holla.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lib/Call.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ class Call extends EventEmitter

return pc

addStream: (s) ->
addStream: (s) ->
@localStream = s
@pc.addStream s
return @

Expand Down

0 comments on commit a26c03f

Please sign in to comment.