Date: Sat, 10 Oct 2020 18:30:56 -0400 From: Henry Hu <henry.hu.sh@gmail.com> To: "Alex V. Petrov" <alexvpetrov@gmail.com> Cc: Michael Zhilin <mizhka@freebsd.org>, ports FreeBSD <ports@freebsd.org> Subject: Re: FreeBSD Port: telegram-desktop-2.3.2 videocalls Message-ID: <CAEJt7hZGyf%2Bf-VDPQrkiMi1bjGbvAQtc=F61vHXb7JvddKA3ew@mail.gmail.com> In-Reply-To: <20201001154825.GA2287@alex.super> References: <e88df596-1e47-e878-d259-d37d05b290f9@gmail.com> <CAMyqa3N-Rsq6UaZJEoSjkRgSaX=ctRfnPMz=PCbe=4fQcJs0jg@mail.gmail.com> <20201001154825.GA2287@alex.super>
next in thread | previous in thread | raw e-mail | index | archive | help
Okay, it seems like that there's a DCHECK related to threading. However, if I disable the DCHECKs, video call seems to work. It's not ideal, as typically these should not fail. But for now, I'll just send a patch to disable it. Would you please file a problem report so we can follow up there? On Thu, Oct 1, 2020 at 11:48 AM Alex V. Petrov <alexvpetrov@gmail.com> wrote: > No. Audio calls working perfectly. Problems only with videocalls. > > On Thu, Oct 01, 2020 at 06:18:55PM +0300, Michael Zhilin wrote: > > Hi, > > I supposed that neither audio or video calls work in FreeBSD Telegram > > client. > > Time to fix it? > > Thanks, > > Michael > > On Thu, Oct 1, 2020 at 6:10 PM Alex V. Petrov <[1] > alexvpetrov@gmail.com> > > wrote: > > > > Anyone have working videocalls in the telegram-desktop? > > For me it don't work. > > Any attempt to configure the camera will close the program with: > > > > (audio_device_buffer.cc:118): StartRecording > > (audio_device_impl.cc:826): output: -1 > > (device_info_linux.cc:45): NumberOfDevices > > (device_info_linux.cc:70): GetDeviceName > > (device_info_linux.cc:70): GetDeviceName > > (device_info_linux.cc:70): GetDeviceName > > (device_info_linux.cc:143): CreateCapabilityMap called for device > > usb-/dev/usb-/dev/usb > > (device_info_linux.cc:274): CreateCapabilityMap 8 > > (device_info_linux.cc:195): CreateCapabilityMap 8 > > (video_capture_linux.cc:153): Video Capture enumerats supported > image > > formats: > > (video_capture_linux.cc:155): { pixelformat = JPEG, description = > > 'dddec81c' } > > (video_capture_linux.cc:171): We prefer format JPEG > > (video_capture_linux.cc:195): error in VIDIOC_S_FMT, errno = 16 > > (VideoCameraCapturer.cpp:78): Failed to start VideoCameraCapturer > > 'usb-/dev/usb-/dev/usb'. > > (device_info_linux.cc:70): GetDeviceName > > (video_capture_linux.cc:153): Video Capture enumerats supported > image > > formats: > > (video_capture_linux.cc:155): { pixelformat = JPEG, description = > > 'dddec81c' } > > (video_capture_linux.cc:171): We prefer format JPEG > > (video_capture_linux.cc:195): error in VIDIOC_S_FMT, errno = 16 > > (VideoCameraCapturer.cpp:78): Failed to start VideoCameraCapturer > > 'usb-/dev/usb-/dev/usb'. > > (device_info_linux.cc:70): GetDeviceName > > (video_capture_linux.cc:153): Video Capture enumerats supported > image > > formats: > > (video_capture_linux.cc:155): { pixelformat = JPEG, description = > > 'dddec81c' } > > (video_capture_linux.cc:171): We prefer format JPEG > > (video_capture_linux.cc:195): error in VIDIOC_S_FMT, errno = 16 > > (VideoCameraCapturer.cpp:78): Failed to start VideoCameraCapturer > > 'usb-/dev/usb-/dev/usb'. > > (device_info_linux.cc:70): GetDeviceName > > (video_capture_linux.cc:153): Video Capture enumerats supported > image > > formats: > > (video_capture_linux.cc:155): { pixelformat = JPEG, description = > > 'dddec81c' } > > (video_capture_linux.cc:171): We prefer format JPEG > > (video_capture_linux.cc:195): error in VIDIOC_S_FMT, errno = 16 > > (VideoCameraCapturer.cpp:78): Failed to start VideoCameraCapturer > > 'usb-/dev/usb-/dev/usb'. > > (thread.cc:668): Message took 86ms to dispatch. Posted from: > > ThreadLocalObject@ > /usr/ports/net-im/telegram-desktop/work/tdesktop-2.3.2-full/Telegram/ThirdParty/tgcalls/tgcalls/ThreadLocalObject.h:22 > > > > # > > # Fatal error in: ../../src/rtc_base/critical_section.cc, line 123 > > # last system error: 0 > > # Check failed: CurrentThreadIsOwner() > > > > -- > > ----- > > Alex. > > _______________________________________________ > > [2]freebsd-ports@freebsd.org mailing list > > [3]https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to > > "[4]freebsd-ports-unsubscribe@freebsd.org" > > > > References > > > > Visible links > > 1. mailto:alexvpetrov@gmail.com > > 2. mailto:freebsd-ports@freebsd.org > > 3. https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > 4. mailto:freebsd-ports-unsubscribe@freebsd.org > -- Cheers, Henry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJt7hZGyf%2Bf-VDPQrkiMi1bjGbvAQtc=F61vHXb7JvddKA3ew>