Skip to content

Commit

Permalink
Fix recorder overriding tracks instead of merging on add_tracks. Re…
Browse files Browse the repository at this point in the history
…lease 0.8.1 (#195)
  • Loading branch information
sgfn authored Feb 12, 2025
1 parent 12d9b04 commit 4cebfd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Add `ex_webrtc` to the list of dependencies in `mix.exs`
```elixir
def deps do
[
{:ex_webrtc, "~> 0.8.0"}
{:ex_webrtc, "~> 0.8.1"}
]
end
```
Expand All @@ -29,7 +29,7 @@ adding optional `ex_sctp` dependency
```elixir
def deps do
[
{:ex_webrtc, "~> 0.8.0"},
{:ex_webrtc, "~> 0.8.1"},
{:ex_sctp, "~> 0.1.0"}
]
end
Expand Down
2 changes: 1 addition & 1 deletion lib/ex_webrtc/recorder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ defmodule ExWebRTC.Recorder do

:ok = File.write!(report_path, Jason.encode!(report))

%{state | tracks: tracks}
state
end

defp serialize_packet(packet, rid_idx, recv_time) do
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule ExWebRTC.MixProject do
use Mix.Project

@version "0.8.0"
@version "0.8.1"
@source_url "https://github.com/elixir-webrtc/ex_webrtc"

def project do
Expand Down

0 comments on commit 4cebfd8

Please sign in to comment.