You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle changing role during re-negotiation
On all subsequent re-offers make sure to order
of media sections.
Add TestPeerConnection_RoleSwitch to assert this behavior
Resolvespion#1058
Add ResetReader func to IVFReader
Add ResetReader function for resetting the underlying file
in IVFReader. This is for keeping the stream alive if the file
is being encoded at the same time as it's being streamed.
It takes in a function that returns an io.Reader. A sample
function might look like:
func(bytesRead int64) io.Reader {
underlyingFile.Seek(bytesRead, io.SeekStart)
return underlyingFile
}
and you would call it when ivf.ParseNextFrame(...) returns
an error indicating incomplete data.
Properly sanitize STUN urls
Currently we error if a STUN URL passed to Configuration.ICEServers
contained a query parameter. Fix this by using the getICEServers
function that sanitizes these for us.