<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>50942</bug_id>
          
          <creation_ts>2024-07-18 16:24:13 +0300</creation_ts>
          <short_desc>Echo Test Failed (добавить поддержку DataChannels)</short_desc>
          <delta_ts>2025-03-18 12:48:41 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>janus</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolai Zurabishvili">zurabishvilinn</reporter>
          <assigned_to name="Nikolay A. Fetisov">naf</assigned_to>
          <cc>naf</cc>
    
    <cc>snowmix</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>249026</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolai Zurabishvili">zurabishvilinn</who>
    <bug_when>2024-07-18 16:24:13 +0300</bug_when>
    <thetext>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 &quot;$file&quot; &quot;${file%.sample}&quot;; done

Шаги:
1. Запустить janus - # janus
2. В другой консоли : 
# git clone https://github.com/meetecho/janus-gateway.git &amp;&amp; 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 &quot;/root/janus-gateway/test/echo.py&quot;, line 312, in &lt;module&gt;
    loop.run_until_complete(
  File &quot;/usr/lib64/python3.12/asyncio/base_events.py&quot;, line 685, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File &quot;/root/janus-gateway/test/echo.py&quot;, line 253, in run
    await pc.setRemoteDescription(answer)
  File &quot;/root/janus-gateway/test/venv/lib64/python3/site-packages/aiortc/rtcpeerconnection.py&quot;, line 831, in setRemoteDescription
    self.__validate_description(description, is_local=False)
  File &quot;/root/janus-gateway/test/venv/lib64/python3/site-packages/aiortc/rtcpeerconnection.py&quot;, line 1275, in __validate_description
    raise ValueError(&quot;ICE username fragment or password is missing&quot;)
ValueError: ICE username fragment or password is missing

Доп: Если собрать janus с DataChannels support: yes то ошибка не воспроизводится и тест проходит успешно</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261280</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Chernonog">snowmix</who>
    <bug_when>2025-03-18 12:48:41 +0300</bug_when>
    <thetext>janus-1.2.4-alt1 ошибка воспроизводится.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>