mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-13 11:56:35 +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!
15 lines
681 B
Text
15 lines
681 B
Text
description, summary="Send a VP8 stream", handles-state=true
|
|
include,location=negotiation_initiator.scenario
|
|
include,location=bundle_policy.scenario
|
|
|
|
set-webrtc-options, local-bundle-policy="$(local_bundle_policy)", remote-bundle-policy="$(remote_bundle_policy)"
|
|
|
|
add-stream, pipeline="videotestsrc is-live=1 ! vp8enc ! rtpvp8pay ! queue"
|
|
set-state, state="playing";
|
|
wait-for-negotiation-needed, generation=1;
|
|
|
|
# negotiate
|
|
create-offer, which="$(negotiation_initiator)";
|
|
wait-for-negotiation-state, which="$(negotiation_responder)", state="offer-set"
|
|
create-answer, which="$(negotiation_responder)";
|
|
wait-for-negotiation-state, which="$(negotiation_initiator)", state="answer-set"
|