Skip to content

Commit c77b338

Browse files
committed
fix elixir code formatting
1 parent 16c1438 commit c77b338

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

broadcasting/04_RTMP_Pipeline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The final thing that is done in the `handle_init/1` callback's implementation is
7070
@impl true
7171
def handle_init(_opts) do
7272
...
73-
{{:ok, spec: spec, playback: :playing}, %{}}
73+
{ {:ok, spec: spec, playback: :playing}, %{} }
7474
end
7575
```
7676

broadcasting/10_RTSP_Pipeline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def handle_other({:rtsp_setup_complete, options}, _ctx, state) do
3737
]
3838

3939
spec = %ParentSpec{children: children, links: links}
40-
{{:ok, spec: spec}, %{state | video: %{sps: options[:sps], pps: options[:pps]}}}
40+
{ {:ok, spec: spec}, %{state | video: %{sps: options[:sps], pps: options[:pps]}} }
4141
end
4242
```
4343

@@ -81,7 +81,7 @@ def handle_notification({:new_rtp_stream, ssrc, 96, _extensions}, :rtp, _ctx, st
8181
[spec: %ParentSpec{children: children, links: links}]
8282
end
8383

84-
{{:ok, actions}, Map.put(state, :rtp_started, true)}
84+
{ {:ok, actions}, Map.put(state, :rtp_started, true) }
8585
end
8686
```
8787

0 commit comments

Comments
 (0)