<div dir="ltr">There is an obvious problem:  right now webrtc implementation is deeply merged with flussonic internals like:<div><br></div><div><div>websocket_info({dtls, key_material, #srtp_params{} = SrtpParams}, Req, #publish{stream_name = StreamName} = State) -></div><div>  % events:debug("Got SRTP params: ~p", [SrtpParams]),</div><div>  % {ok, DTS} = live_stream:getattr(StreamName, last_dts),</div><div>  % Now = erlang:system_time(milli_seconds),</div><div>  MI = live_stream:media_info(StreamName),</div></div><div><br></div><div><br></div><div>live_stream is a internal module and not supposed to be exported to public-available library.</div><div><br></div><div>It will take some time to extract.</div></div>