Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 2.8 KB

README.md

File metadata and controls

44 lines (38 loc) · 2.8 KB

Introduction

  • The reposity is to automation test owt p2p connection between owt-server-p2p, owt-client-javascript and owt-client-native. Test cases include codec info, otp typing, video control.
  • It also dumps webrtc stat report during video playing for future analysis.

Prerequisite

Auto Test

  1. execute owt-server-p2p/launchRpc.bat, DisplayWPF_Net47/launchRpc.bat, clumsy/launchRpc.bat (admin mode) to launch RPC agents
  2. fill agent addresses in step1 to config.ini at the same host with auto_test.cmd
  3. execute auto_test.cmd

Folder structure

  • .pipeline
    --- azure-pipelines.yml    support azure pipeline automation test of local files. It also support downloading remote .msi for automation test
  • DisplayWPF_Net47
    --- launch.bat    launch current instance(DisplayWPF.exe)
    --- launchRpc.bat    launch RPC agent to control life cycle of current instance
    --- service.py    RPC services that include start(launch.bat) and terminate current instance
    --- _ main _.py    specify RPC port
  • clumsy
  • owt-server-p2p
    --- config.json    specify owt-server-p2p socketIO port, control signal server port and code mapping server port(the same with control signal server)
  • owt-client-javascript
    -- fullscreen_video.html    for test_clumsy_dump_func test case to screen sharing with youtube content
  • pytest
       tests
       --- owtClient.py    owt-client-javascript related control functionality
       --- test_display.py    all test cases to control owt-client-javascript through owtClient.py
  • proto
    --- build.bat    auto build rpc protobuf of DisplayWPF_Net47, clumsy and owt-server-p2p
  • auto_test.cmd    remote launch all instances and control automation test
  • config.ini    record each RPC ip and port. It should be synchronous with all _ main _.py and config.json

Instance Architecture

Connection Flow

Data Transmit Flow