mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 21:01:14 +00:00
615813ef93
Tests a matrix of options: - local/remote negotiation initiator - 'most' bundle-policy combinations (some combinations will never work) - firefox or chrome browser Across 4 test scenarios: - simple negotiation with default browser streams (or none if gstreamer initiates) - sending a vp8 stream - opening a data channel - sending a message over the data channel for a total of 112 tests! |
||
---|---|---|
.. | ||
apps | ||
scenarios | ||
testsuites | ||
web | ||
actions.py | ||
browser.py | ||
client.py | ||
enums.py | ||
observer.py | ||
README.md | ||
signalling.py | ||
webrtc_validate.py |
What is this?
The entire contents of this folder perform testing of GStreamer's webrtc implementation against browser implementations using the selenium webdriver testing framework.
Dependencies:
- gst-validate: https://gitlab.freedesktop.org/gstreamer/gst-devtools/tree/master/validate
- gst-python: https://gitlab.freedesktop.org/gstreamer/gst-python/
- selenium: https://www.seleniumhq.org/projects/webdriver/
- selenium python bindings
- chrome and firefox with webdriver support
Run the tests
GST_VALIDATE_APPS_DIR=/path/to/gstwebrtc-demos/check/validate/apps/ GST_VALIDATE_SCENARIOS_PATH=/path/to/gstwebrtc-demos/check/validate/scenarios/ gst-validate-launcher --testsuites-dir /path/to/gstwebrtc-demos/check/validate/testsuites/ webrtc