Bug 50942 - Echo Test Failed (добавить поддержку DataChannels)
Summary: Echo Test Failed (добавить поддержку DataChannels)
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: janus (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Nikolay A. Fetisov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 16:24 MSK by Nikolai Zurabishvili
Modified: 2025-03-18 12:48 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Zurabishvili 2024-07-18 16:24:13 MSK
janus-1.2.1-alt1

Стенды (обновлены до сизифа):

KWorkstation 10.3 x86-64
Workstation 10.2 x86-64
Education 10.2 KDE x86-64
Education 10.2 x86-64
Server 10.2 office x86-64

Предусловия: 

# cd /etc/janus/
# for file in *.sample; do cp "$file" "${file%.sample}"; done

Шаги:
1. Запустить janus - # janus
2. В другой консоли : 
# git clone https://github.com/meetecho/janus-gateway.git && cd janus-gateway/test
# python3 -m venv venv
# source venv/bin/activate
(venv) # pip3 install setuptools websockets aiortc
# python3 echo.py ws://localhost:8188/ --verbose

Ожидаемый результат: INFO:echo:Test Passed

Фактический результат: ERROR:echo:Test Failed
Traceback (most recent call last):
  File "/root/janus-gateway/test/echo.py", line 312, in <module>
    loop.run_until_complete(
  File "/usr/lib64/python3.12/asyncio/base_events.py", line 685, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/root/janus-gateway/test/echo.py", line 253, in run
    await pc.setRemoteDescription(answer)
  File "/root/janus-gateway/test/venv/lib64/python3/site-packages/aiortc/rtcpeerconnection.py", line 831, in setRemoteDescription
    self.__validate_description(description, is_local=False)
  File "/root/janus-gateway/test/venv/lib64/python3/site-packages/aiortc/rtcpeerconnection.py", line 1275, in __validate_description
    raise ValueError("ICE username fragment or password is missing")
ValueError: ICE username fragment or password is missing

Доп: Если собрать janus с DataChannels support: yes то ошибка не воспроизводится и тест проходит успешно
Comment 1 Mikhail Chernonog 2025-03-18 12:48:41 MSK
janus-1.2.4-alt1 ошибка воспроизводится.