From 78d014cf5112854f4180f88d212f376b1065a326 Mon Sep 17 00:00:00 2001 From: xgj Date: Mon, 29 Nov 2021 16:54:40 +0800 Subject: [PATCH] fix chrome ufrag too short to play webrtc --- webrtc/WebRtcTransport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/WebRtcTransport.cpp b/webrtc/WebRtcTransport.cpp index 822015f9..317140b8 100644 --- a/webrtc/WebRtcTransport.cpp +++ b/webrtc/WebRtcTransport.cpp @@ -47,7 +47,7 @@ static atomic s_key{0}; WebRtcTransport::WebRtcTransport(const EventPoller::Ptr &poller) { _poller = poller; - _identifier = to_string(++s_key); + _identifier = "zlm_"+to_string(++s_key); _packet_pool.setSize(64); }