Code Monkey home page Code Monkey logo

displaytest's Introduction

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

displaytest's People

Contributors

jojo13572001 avatar

Stargazers

Cosmic Dark avatar

Watchers

James Cloos avatar Cosmic Dark avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.