mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-29 21:38:22 +08:00
支持单独的datachannel通道 (#1894)
* 支持单独的datachannel 通道 * 当仅有datachannel时 ,忽略rtp和rtcp超时 * 单独开启datachannel时,通过dtls包维持心跳 Co-authored-by: xiongziliang <771730766@qq.com>
This commit is contained in:
@@ -678,6 +678,7 @@ public:
|
||||
const RtcMedia *getMedia(mediakit::TrackType type) const;
|
||||
bool supportRtcpFb(const std::string &name, mediakit::TrackType type = mediakit::TrackType::TrackVideo) const;
|
||||
bool supportSimulcast() const;
|
||||
bool isOnlyDatachannel() const;
|
||||
|
||||
private:
|
||||
RtcSessionSdp::Ptr toRtcSessionSdp() const;
|
||||
|
||||
Reference in New Issue
Block a user