You're seeing just the callback handle_playing_to_prepared, go back to Membrane.Element.Base module for more information.
Link to this callback

handle_playing_to_prepared(context, state)

View Source (optional)


  context :: Membrane.Element.CallbackContext.PlaybackChange.t(),
  state :: Membrane.Element.state_t()
) :: callback_return_t()

Callback invoked when element goes to :prepared state from state :playing and should get ready to enter :stopped state.

All resources allocated in handle_prepared_to_playing/2 callback should be released here, and no more buffers or demands should be sent.