question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The remoteTrack.videoType is undefined for camera tracks

See original GitHub issue

This Issue tracker is only for reporting bugs and tracking code related issues.

Before posting, please make sure you check community.jitsi.org to see if the same or similar bugs have already been discussed. General questions, installation help, and feature requests can also be posted to community.jitsi.org.

Description

because of the change to JitsiConference.js in https://github.com/jitsi/lib-jitsi-meet/commit/d73723dae68ccbda83b529ed30c2c3340d9f3e0d , the videoType of a remote track is undefined when received, if the type is in fact ‘camera’.

this causes compatibility problems if 1) the client relies on videoType for rendering logic, 2) mixed client lib versions in the same room (e.g. current stable to next stable)

Current behavior

the videoType from a newly received remote camera track is undefined.

Expected Behavior

videoType to be camera when it is a camera track.

Possible Solution

always send ‘videoType’ in presence as before - revert the change in JitsiConference.js

Steps to reproduce

2 person join beta.meet with camera on, inspect the videoType of remote video tracks

Environment details

meet unstable

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
paweldomascommented, Apr 22, 2021

@damencho maybe then the field should be initialized to camera instead of being undefined?

1reaction
Fuzzymacommented, Feb 24, 2022

No the fix just sets a default and that default is sometimes wrong. You still need to listen for the video type change event to rectify that if a wrong video type was set

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bountysource
The remoteTrack.videoType is undefined for camera tracks.
Read more >
lib-jitsi-meet API (low level) - GitHub Pages
JitsiMeetJS.createLocalTracks(options) - Creates the media tracks and returns them through Promise object. If rejected, passes JitsiTrackError instance to catch ...
Read more >
track.stop is not turning the camera off anymore - Stack Overflow
If any track has not been stopped then your camera will still be active. In your stopStreaming function you only stop the first...
Read more >
https://cdck-file-uploads-global.s3.dualstack.us-w...
... [features/analytics] mobileSDK - audioQuality: undefined 2021-12-01 ... creating remote track[endpoint=42cfcc18,ssrc=4237501335,type=audio] 2021-12-01 ...
Read more >
Failed to create local track. (Not able to see local Video)
I have 2 Apps one is the meeting service page and one is jitsi app for the conference. I am creating a Pre...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found