Skip to content

Commit

Permalink
Merge pull request #19 from fishjam-dev/screenshare-layout-with-no-ca…
Browse files Browse the repository at this point in the history
…mera

Add layout for only screenshare tracks
  • Loading branch information
Karolk99 authored Jun 3, 2024
2 parents 39577b7 + 2019341 commit 3cba999
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/compositor_utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ defmodule RecordingConverter.Compositor do
}
end

defp scene_with_screenshare([], screenshare_children) do
scene(screenshare_children)
end

defp scene_with_screenshare(camera_children, screenshare_children) do
%{
type: :view,
Expand Down

0 comments on commit 3cba999

Please sign in to comment.