steep-balloon-41261
09/21/2022, 6:07 AMdry-elephant-14928
09/21/2022, 7:25 AMpolite-kilobyte-67570
09/21/2022, 7:32 AMnew LocalTrack
) you are in charge of releasing and reacquiring media streams. In contrast, if you create the track via createLocalTracks
, the device release will be managed within the sdk for you.
This means on the other hand that muting a track will not release the device if you created a LocalTrack
by yourself by default. One workaround would be to explicitly signal to the client sdk that you still want that track to be managed by the sdk, by passing in an optional constructor parameter new LocalVideoTrack(mediastreamtrack, constraints, false)
that last parameter (which is true by default) will indicate whether the track will be treated as userProvided (i.e. unmanaged) within the sdk.colossal-engine-37907
09/21/2022, 3:35 PMcolossal-engine-37907
09/21/2022, 3:44 PMdry-elephant-14928
09/21/2022, 7:41 PM