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

P2PモードでUSBカメラの音声の再生ができませんでした #130

Closed
Shiono7777 opened this issue Jan 28, 2020 · 1 comment
Closed
Labels

Comments

@Shiono7777
Copy link

下記環境にて、P2Pモードで映像がうまく再生できず音声の再生もできませんでした。
視聴環境はchrome バージョン: 79.0.3945.117

環境
端末: Raspberry pi 4 Model B 4GB
カメラ: HD ProウェブカメラC922
OS: Raspbian 10.2
Momo: momo-2020.1_raspbian-buster_armv7

実行コマンド

./momo --no-audio --resolution VGA --fixed-resolution --port 8082 test VP8で接続。映像問題なし。音声なし。
./momo --resolution VGA --fixed-resolution --port 8082 test VP8で接続。映像問題あり。音声あり(問題あり)。音量変更可(音無し)。
./momo --port 8082 test VP8で接続。映像問題あり。音声なし?。音量変更可(音無し?)。
./momo --no-video --port 8082 test VP8で接続。P2Pで繋がらない。

ログ(./momo --resolution VGA --fixed-resolution --port 8082 test)
[000:089] [3969] (v4l2_video_capturer.cpp:58): GetDeviceName(4): device_name=bc$
[000:089] [3969] (device_info_linux.cc:70): GetDeviceName
[000:090] [3969] (v4l2_video_capturer.cpp:218): Video Capture enumerats support$
[000:090] [3969] (v4l2_video_capturer.cpp:220): { pixelformat = YUYV, descrip$
[000:090] [3969] (v4l2_video_capturer.cpp:220): { pixelformat = MJPG, descrip$
[000:090] [3969] (v4l2_video_capturer.cpp:236): We prefer format YUYV
[000:242] [3969] (v4l2_video_capturer.cpp:66): Get Capture
[000:242] [3969] (audio_device_impl.cc:76): Create
[000:242] [3969] (audio_device_impl.cc:84): CreateForTest
[000:243] [3969] (audio_device_buffer.cc:65): AudioDeviceBuffer::ctor
[000:243] [3969] (audio_device_impl.cc:122): AudioDeviceModuleImpl
[000:243] [3969] (audio_device_impl.cc:126): CheckPlatform
[000:243] [3969] (audio_device_impl.cc:137): current platform is Linux
[000:243] [3969] (audio_device_impl.cc:156): CreatePlatformSpecificObjects
[000:243] [3969] (audio_device_impl.cc:946): PlatformAudioLayer
[000:243] [3969] (audio_device_impl.cc:266): PulseAudio support is enabled.
[000:243] [3969] (audio_mixer_manager_alsa_linux.cc:30): AudioMixerManagerLinux$
[000:243] [3969] (audio_device_alsa_linux.cc:101): AudioDeviceLinuxALSA created
[000:243] [3969] (audio_device_impl.cc:274): Linux ALSA APIs will be utilized.

$ lsusb
Bus 002 Device 005: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:085c Logitech, Inc. C922 Pro Stream Webcam
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

オーディオデバイスの優先度
$ cat /proc/asound/modules
0 snd_usb_audio
1 snd_bcm2835

デバイス情報

$ arecord -l
**** ハードウェアデバイス CAPTURE のリスト ****
カード 0: Webcam [C922 Pro Stream Webcam], デバイス 0: USB Audio [USB Audio]
サブデバイス: 1/1
サブデバイス #0: subdevice #0

webrtc_momo _log.txt

@voluntas
Copy link
Member

@Shiono7777 バグレポートのフォーマットに沿ってお願いします。こちらは閉じさせていただきます。

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

No branches or pull requests

2 participants