RTCIceCandidate: tcpType 屬性
RTCIceCandidate 介面的只讀屬性 tcpType 包含在 TCP 候選者中,以提供有關候選者型別的附加資訊。
tcpType 欄位的值是從傳遞給 RTCIceCandidate() 建構函式的 candidateInfo 選項物件設定的。您不能直接在選項物件中指定 tcpType 的值,但如果物件的 candidate a-line 格式正確,它的值會自動從中提取。
RTCIceCandidate 介面的只讀屬性 tcpType 包含在 TCP 候選者中,以提供有關候選者型別的附加資訊。
tcpType 欄位的值是從傳遞給 RTCIceCandidate() 建構函式的 candidateInfo 選項物件設定的。您不能直接在選項物件中指定 tcpType 的值,但如果物件的 candidate a-line 格式正確,它的值會自動從中提取。