Skip to content

Commit

Permalink
android: fix track readyState for gUM created tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Nov 22, 2022
1 parent bf4e998 commit 2d5ba91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ private void createStream(MediaStreamTrack[] tracks, BiConsumer<String, ArrayLis
trackInfo.putString("id", trackId);
trackInfo.putString("kind", track.kind());
trackInfo.putString("label", trackId);
trackInfo.putString("readyState", track.state().toString());
trackInfo.putString("readyState", track.state().toString().toLowerCase());
trackInfo.putBoolean("remote", false);

if (track instanceof VideoTrack) {
Expand Down

0 comments on commit 2d5ba91

Please sign in to comment.