Skip to content

Commit

Permalink
add optional_callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Noarkhh committed Aug 22, 2024
1 parent 845a744 commit 1a16668
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/membrane_rtsp/server/handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ defmodule Membrane.RTSP.Server.Handler do
"""
@callback handle_teardown(state()) :: {Response.t(), state()}

@optional_callbacks init: 1

defmacro __using__(_options) do
quote do
@behaviour unquote(__MODULE__)
Expand Down

0 comments on commit 1a16668

Please sign in to comment.