【m】开发完成
This commit is contained in:
@@ -160,7 +160,7 @@ namespace Unity.RenderStreaming
|
||||
{
|
||||
m_transceivers.Remove(connectionId);
|
||||
OnStoppedStream?.Invoke(connectionId);
|
||||
if (!m_transceivers.Any())
|
||||
if (!m_transceivers.Any() && m_track.ReadyState == TrackState.Live)
|
||||
{
|
||||
m_track.Dispose();
|
||||
m_track = null;
|
||||
|
||||
Reference in New Issue
Block a user