Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(multi-stream) setVideoType - source description not found #1849

Open
mabocoglu opened this issue Mar 31, 2022 · 2 comments
Open

(multi-stream) setVideoType - source description not found #1849

mabocoglu opened this issue Mar 31, 2022 · 2 comments

Comments

@mabocoglu
Copy link

Description

I am using jitsi-meet jitsi-meet/unstable 2.0.7132-1

I have set sourceNameSignaling and sendMultipleVideoStreams flags as true,

In addition I have enabled multi-stream with that config in jvb.conf

multi-stream {
    enabled = true
}

When I try to share my screen, I get that error on videobridge

JVB 2022-03-31 14:11:01.912 SEVERE: [175] [confId=9222d7fda71dd3d9 epId=586d333a gid=18828 stats_id=Americo-ufZ conf_name=[email protected]*******] AbstractEndpoint.setVideoType#164: setVideoType - source description not found for: 586d333a-v0
JVB 2022-03-31 14:11:01.949 SEVERE: [175] [confId=9222d7fda71dd3d9 epId=62458fa0 gid=18828 stats_id=Americo-ufZ conf_name=[email protected]********] AbstractEndpoint.setVideoType#164: setVideoType - source description not found for: 62458fa0-v0
JVB 2022-03-31 14:11:08.351 SEVERE: [209] [confId=9222d7fda71dd3d9 epId=62458fa0 gid=18828 stats_id=Americo-ufZ conf_name=[email protected]********] AbstractEndpoint.setVideoType#164: setVideoType - source description not found for: 62458fa0-v1
*


Current behavior

I cannot get any video for screenshare both on local and remote side and I get an SEVERE error log on videobridge.
In addition I cannot see inbound video stream on receiver side, while I can see on outbound video stream on sender side.
There is no error on negotiation for sdp.

Expected Behavior

I want to see a video screen on both local and remote side. In addition I should see inbound video stream for screenshare.

Possible Solution

While setVideoType function in AbstractEndpoint.java

public void setVideoType(String sourceName, VideoType videoType) {
        MediaSourceDesc mediaSourceDesc = findMediaSourceDesc(sourceName);

        if (mediaSourceDesc != null)
        {
            if (mediaSourceDesc.getVideoType() != videoType)
            {
                mediaSourceDesc.setVideoType(videoType);
                conference.getSpeechActivity().endpointVideoAvailabilityChanged();
            }
        }
        else
        {
            logger.error("setVideoType - source description not found for: " + sourceName);
        }
    }

cannot find media source description, somewhere in lib-jitsi-meet or videobridge

Steps to reproduce

1- Disable p2p
2- Enable sourceNameSignaling and sendMultipleVideoStreams flags to true
3- Enable multi-stream in jvb.conf
4- Create a conference with two participant with camera and audio
5- Click on screenshare button on toolbox to share screen or video (I have shared window)
6- Select the window you want to share
7- While there is a notification says Google Chrome sharing your screen, there is no video on conference.

Environment details

jitsi-meet 2.0.7132-1
jitsi-videobridge2/unstable,now 2.1-651-gf10ad5e7-1
Ubuntu 20.04.4 LTS AMD64

senders-local-description
receivers-local-description
outbound-video-streams
inbound-video-streams
sender-media-stream
receiver-media-stream

@paweldomas
Copy link
Member

you still need to wait at least for those two PRs: #1842 and jitsi/jitsi-meet#11272

@mabocoglu
Copy link
Author

Thank you for letting me know 👍 I haven't notice them. I would make some user interface changes if I succeeded to get remote side video stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants