Skip to content

Commit

Permalink
Update README. Bump version to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mickel8 committed Mar 16, 2021
1 parent 856ebd3 commit 1cb9f0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The package can be installed by adding `ex_libnice` to your list of dependencies
```elixir
def deps do
[
{:ex_libnice, "~> 0.2.0"}
{:ex_libnice, "~> 0.3.0"}
]
end
```
Expand All @@ -30,8 +30,16 @@ Example flow can look in the following way (this is not complete i.e. runnable e
Listed functions must be invoked on both peers.
```elixir
# Init ExLibnice
{:ok, ice} =
ExLibnice.start_link(self(), ["64.233.161.127:19302"], [], controlling_mode, 0..65_535)
{:ok, pid} =
ExLibnice.start_link(
parent: self(),
stun_servers: [
%{server_addr: {64, 233, 161, 127}, server_port: 19_302},
%{server_addr: "stun1.l.google.com", server_port: 19_302}
],
controlling_mode: true,
port_range: 0..0
)

# Add stream, get local credentials
{:ok, stream_id} = ExLibnice.add_stream(ice, 1, "audio")
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 ExLibnice.MixProject do
use Mix.Project

@version "0.2.0"
@version "0.3.0"
@github_url "https://github.com/membraneframework/ex_libnice"

def project do
Expand Down

0 comments on commit 1cb9f0c

Please sign in to comment.