RainwayApp/spitfire

SpitfireRtc.CreateOffer doesn't create SDP offer with ICE, SCTP, DLTS, etc. parameters

riverar opened this issue · 1 comments

When calling the SpitfireRtc.CreateOffer API to create the SDP offer, Spitfire only generates a minimal SDP without ICE, SCTP, DLTS, etc. parameters.

Example:

v=0
o=- 7736287409242760872 2 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS

Update: This is a result of me calling CreateDataChannel before initializing the connection. This will silently fail per Spitfire:

void RtcConductor::CreateDataChannel
(const std::string & label, const webrtc::DataChannelInit dc_options)
{
	if (!peerObserver->peerConnection)
		return;
	...
}