Membrane.ICE.Handshake.process

You're seeing just the callback process, go back to Membrane.ICE.Handshake module for more information.

Specs

process(data :: binary(), state :: state()) ::
  :ok
  | {:ok, packets :: binary()}
  | {:handshake_packets, packets :: binary()}
  | {:handshake_finished, hsk_data :: any()}
  | {:handshake_finished, hsk_data :: any(), packets :: binary()}
  | {:connection_closed, reason :: atom()}

Called each time remote data arrives.

If there is a need to retransmit some data send message {:retransmit, id, data}. id is id assigned by ICE in init/3 function.