Lines Matching refs:DataChannel
63 using webrtc::DataChannel;
369 const std::map<std::string, rtc::scoped_refptr<DataChannel>>&
379 const DataChannel* channel = kv.second;
380 if (channel->state() == DataChannel::kConnecting ||
381 channel->state() == DataChannel::kOpen) {
382 // |streamid| and |sync_label| are both set to the DataChannel label
848 // Trigger the onRenegotiationNeeded event for every new RTP DataChannel, or
849 // the first SCTP DataChannel.
1792 DataChannel* data_channel = it->second;
1805 if (data_channel->state() == DataChannel::kClosed) {
1816 rtc::scoped_refptr<DataChannel> channel(
1819 LOG(LS_WARNING) << "Remote peer requested a DataChannel but"
1828 rtc::scoped_refptr<DataChannel> PeerConnection::InternalCreateDataChannel(
1856 rtc::scoped_refptr<DataChannel> channel(DataChannel::Create(
1865 LOG(LS_ERROR) << "DataChannel with label " << channel->label()
1897 void PeerConnection::OnSctpDataChannelClosed(DataChannel* channel) {
1905 // Since this method is triggered by a signal from the DataChannel,
1930 // Use a temporary copy of the RTP/SCTP DataChannel list because the
1931 // DataChannel may callback to us and try to modify the list.
1932 std::map<std::string, rtc::scoped_refptr<DataChannel>> temp_rtp_dcs;
1938 std::vector<rtc::scoped_refptr<DataChannel>> temp_sctp_dcs;
1948 rtc::scoped_refptr<DataChannel> channel(
1951 LOG(LS_ERROR) << "Failed to create DataChannel from the OPEN message.";
2015 DataChannel* PeerConnection::FindDataChannelBySid(int sid) const {