Close subscriber PC after a wait to aid in migration. (#979)

* Close subscriber PC after a wait to aid in migration.

* mage generate
This commit is contained in:
Raja Subramanian
2022-09-03 01:16:51 +05:30
committed by GitHub
parent c75f38bce6
commit d13c4be923
5 changed files with 138 additions and 2 deletions
+1 -1
View File
@@ -1031,7 +1031,7 @@ func (t *PCTransport) RemoveTrackFromStreamAllocator(subTrack types.SubscribedTr
t.streamAllocator.RemoveTrack(subTrack.DownTrack())
}
func (t *PCTransport) getICEConnectionType() types.ICEConnectionType {
func (t *PCTransport) GetICEConnectionType() types.ICEConnectionType {
unknown := types.ICEConnectionTypeUnknown
if t.pc == nil {
return unknown