From 4b9bdd5a35e2c1c6f57ee39d5735cea12d8ce3e4 Mon Sep 17 00:00:00 2001 From: ZSC714725 Date: Fri, 15 Dec 2023 09:55:19 +0800 Subject: [PATCH] lalmax support safari hevc(whep) --- rtc/peerConnection.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rtc/peerConnection.go b/rtc/peerConnection.go index bb7850f..d3f2b70 100644 --- a/rtc/peerConnection.go +++ b/rtc/peerConnection.go @@ -60,6 +60,11 @@ func newPeerConnection(ips []string, iceUDPMux ice.UDPMux, iceTCPMux ice.TCPMux) }, webrtc.RTPCodecTypeVideo) + if err != nil { + nazalog.Error(err) + return + } + // TODO opus音频 // PCMU