ExRTMP.Server.ClientSession (RTMP Server and Client v0.4.1)
View SourceModule describing an RTMP client session.
Summary
Functions
Returns a specification to start this module under a supervisor.
Sends audio data to the client.
Sends metadata about the media to the client.
Sends video data to the client.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec send_audio_data(pid(), non_neg_integer(), iodata()) :: :ok
Sends audio data to the client.
Sends metadata about the media to the client.
@spec send_video_data(pid(), non_neg_integer(), iodata()) :: :ok
Sends video data to the client.
@spec start_link(keyword()) :: GenServer.on_start()