30 session(std::string cname, std::string addr, std::shared_ptr<uvgrtp::socketfactory> sfp);
31 session(std::string cname, std::string remote_addr, std::string local_addr, std::shared_ptr<uvgrtp::socketfactory> sfp);
106 std::string& get_key();
111 std::shared_ptr<uvgrtp::zrtp> zrtp_;
113 std::string generic_address_;
116 std::string remote_address_;
119 std::string local_address_;
122 std::unordered_map<uint32_t, uvgrtp::media_stream *> streams_;
124 std::mutex session_mtx_;
127 std::shared_ptr<uvgrtp::socketfactory> sf_;
uvgrtp::media_stream * create_stream(uint16_t port, rtp_format_t fmt, int rce_flags)
Create a unidirectional media_stream for an RTP session.
uvgrtp::media_stream * create_stream(uint16_t src_port, uint16_t dst_port, rtp_format_t fmt, int rce_flags)
Create a uni- or bidirectional media stream.