Skip to content

Commit

Permalink
Update compositor deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Rados13 committed Apr 12, 2024
1 parent 08f429f commit 78f1c2d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN apt-get update -y -qq && \
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
RUN source ~/.cargo/env && rustup install $RUST_VERSION && rustup default $RUST_VERSION

RUN git clone https://github.com/membraneframework/video_compositor.git && cd video_compositor && git checkout 7d0a8be312de17043aebdbcea19b43a3ce1138eb
RUN git clone https://github.com/membraneframework/video_compositor.git && cd video_compositor && git checkout 84f8fb8c0d0dbe52e6e449ae66c887804764c6e3

RUN mv video_compositor /root/project

Expand Down
10 changes: 5 additions & 5 deletions lib/report_parser.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ defmodule RecordingConverter.ReportParser do
tracks_actions = get_track_actions(tracks)

update_scene_notifications = create_update_scene_notifications(tracks_actions)
unregister_output_actions = generate_unregister_output_actions(tracks_actions)
unregister_input_actions = generate_unregister_input_actions(tracks_actions)
# unregister_output_actions = generate_unregister_output_actions(tracks_actions)
# unregister_input_actions = generate_unregister_input_actions(tracks_actions)

update_scene_notifications ++ unregister_input_actions ++ unregister_output_actions
# update_scene_notifications ++ unregister_input_actions ++ unregister_output_actions
update_scene_notifications
end

defp get_report(bucket_name, report_path) do
Expand Down Expand Up @@ -62,8 +63,7 @@ defmodule RecordingConverter.ReportParser do
end

defp generate_unregister_output_actions(track_actions) do
{audio_end_timestamp, video_end_timestamp} =
get_audio_and_video_end_timestamp(track_actions)
{audio_end_timestamp, video_end_timestamp} = get_audio_and_video_end_timestamp(track_actions)

[
Compositor.schedule_unregister_audio_output(audio_end_timestamp),
Expand Down
Loading

0 comments on commit 78f1c2d

Please sign in to comment.