Skip to content

Commit 9d0ac74

Browse files
OctopusRageadyla
andauthored
Fix retriving ice-lite attribute (#217)
Co-authored-by: adyla <[email protected]>
1 parent af0ab87 commit 9d0ac74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ex_webrtc/sdp_utils.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ defmodule ExWebRTC.SDPUtils do
140140
end
141141

142142
@spec get_ice_lite(ExSDP.t()) :: boolean()
143-
def get_ice_lite(sdp), do: ExSDP.get_attribute(sdp, "ice-lite") != nil
143+
def get_ice_lite(sdp), do: ExSDP.get_attribute(sdp, :ice_lite) != nil
144144

145145
@spec get_ice_credentials(ExSDP.t()) ::
146146
{:ok, {binary(), binary()} | nil}

0 commit comments

Comments
 (0)