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

Only part of screen on stream #4

Closed
congthang1 opened this issue May 7, 2021 · 2 comments
Closed

Only part of screen on stream #4

congthang1 opened this issue May 7, 2021 · 2 comments

Comments

@congthang1
Copy link

Hey, thanks for this repo.
I tried it on AWS ECS Fargate it seems working but only part of jitsi view was streamed (like only a quarter West corner showing).
So did you facing with this issue?
This is my log starting:
`---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

timestamp message
1620376191549 [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
1620376191582 [s6-init] ensuring user provided files have correct perms...exited 0.
1620376191582 [fix-attrs.d] applying ownership & permissions fixes...
1620376191583 [fix-attrs.d] done.
1620376191584 [cont-init.d] executing container initialization scripts...
1620376191585 [cont-init.d] 01-set-timezone: executing...
1620376191589 [cont-init.d] 01-set-timezone: exited 0.
1620376191589 [cont-init.d] 10-config: executing...
1620376191591 INFO: Setting up container using 10-config script
1620376191597 unix:path=/var/run/dbus/system_bus_socket,guid=aa7d41eed3dbf32a1518efd66094fa7f
1620376191989 [cont-init.d] 10-config: exited 0.
1620376191989 [cont-init.d] done.
1620376191990 [services.d] starting services
1620376192014 _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
1620376192015 X.Org X Server 1.20.4
1620376192015 X Protocol Version 11, Revision 0
1620376192015 Build Operating System: Linux 4.19.0-12-amd64 x86_64 Debian
1620376192015 Current Operating System: Linux ip-172-31-50-49.ec2.internal 4.14.225-168.357.amzn2.x86_64 #1 SMP Mon Mar 15 18:00:02 UTC 2021 x86_64
1620376192016 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.225-168.357.amzn2.x86_64 root=UUID=2521f000-2e7e-4e67-a217-b9bfce6b19d9 ro console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 nvme_core.io_timeout=4294967295 rd.emergency=poweroff rd.shell=0
1620376192016 Build Date: 01 December 2020 05:59:57PM
1620376192016 xorg-server 2:1.20.4-1+deb10u2 (https://www.debian.org/support)
1620376192016 Current version of pixman: 0.36.0
1620376192016 Before reporting problems, check http://wiki.x.org
1620376192016 to make sure that you have the latest version.
1620376192016 Markers: (--) probed, (**) from config file, (==) default setting,
1620376192016 (++) from command line, (!!) notice, (II) informational,
1620376192016 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
1620376192016 (++) Log file: "/tmp/xorg.log", Time: Fri May 7 01:29:52 2021
1620376192016 (++) Using config file: "/etc/jitsi/jibri/xorg-video-dummy.conf"
1620376192016 (==) Using system config directory "/usr/share/X11/xorg.conf.d"
1620376192048 Restarting TLS tunnels: /etc/stunnel/stunnel.conf: [services.d] done.
1620376192077 no pid file
1620376192185 /etc/stunnel/stunnel.conf: started
1620376192186 2021.05.07 01:29:52 LOG4[ui]: Service [fb-live] needs authentication to prevent MITM attacks
1620376192340 2021-05-07 01:29:52.340 INFO: [1] org.jitsi.jibri.Main.log() Jibri run with args [--config, /etc/jitsi/jibri/config.json]
1620376192413 2021-05-07 01:29:52.413 INFO: [1] org.jitsi.jibri.Main.log() Checking legacy config file /etc/jitsi/jibri/config.json
1620376192413 2021-05-07 01:29:52.413 INFO: [1] org.jitsi.jibri.Main.log() Legacy config file /etc/jitsi/jibri/config.json doesn't exist
1620376192744 2021-05-07 01:29:52.744 INFO: [1] org.jitsi.jibri.Main.log() Jibri starting up with id jibri-instance-974394661
1620376193146 2021-05-07 01:29:53.146 INFO: [1] org.jitsi.jibri.webhooks.v1.JwtInfo.log() got jwtConfig: {}
1620376193147 2021-05-07 01:29:53.147 INFO: [1] org.jitsi.jibri.webhooks.v1.JwtInfo.log() Unable to create JwtInfo: com.typesafe.config.ConfigException$Missing: reference.conf @ jar:file:/opt/jitsi/jibri/jibri.jar!/reference.conf: 59: No configuration setting found for key 'signing-key-path'
1620376193302 2021-05-07 01:29:53.302 INFO: [1] org.jitsi.jibri.Main.log() Using port 3333 for internal HTTP API
1620376193307 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
1620376193307 SLF4J: Defaulting to no-operation (NOP) logger implementation
1620376193308 SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
1620376193312 2021-05-07 01:29:53.312 FINE: [16] org.jitsi.jibri.webhooks.v1.WebhookClient.log() Updating 0 subscribers of status
1620376193552 2021-05-07 01:29:53.552 INFO: [1] org.jitsi.jibri.api.xmpp.XmppApi.log() Jibri reports its status is now JibriStatus(busyStatus=IDLE, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections `
@prayagsingh
Copy link
Owner

prayagsingh commented May 7, 2021

This seems to be an issue with ffmpeg resolution. Are you changing the resolution to 1280*720?
I faced this issue when I tried to change the ffmpeg resolution to 1280 * 720 using env variable but in the xorg-dummy it was 1920 * 1080 hence I had to change it here as well. Please check the example/jjbri-k8s directory.

@congthang1
Copy link
Author

Thanks @prayagsingh, after copy xorg-video-dummy.conf and 10-config file it working perfectly.
I'm able to run on Fargate now and scale it. Ton of thanks :)

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