Merging gst-examples
[platform/upstream/gstreamer.git] / subprojects / gst-examples / webrtc / check / validate / scenarios / vp8_send_stream.scenario
1 description, summary="Send a VP8 stream", handles-state=true
2 include,location=negotiation_initiator.scenario
3 include,location=bundle_policy.scenario
4
5 set-webrtc-options, local-bundle-policy="$(local_bundle_policy)", remote-bundle-policy="$(remote_bundle_policy)"
6
7 add-stream, pipeline="videotestsrc is-live=1 ! vp8enc ! rtpvp8pay ! queue"
8 set-state, state="playing";
9 wait-for-negotiation-needed, generation=1;
10
11 # negotiate
12 create-offer, which="$(negotiation_initiator)";
13 wait-for-negotiation-state, which="$(negotiation_responder)", state="offer-set"
14 create-answer, which="$(negotiation_responder)";
15 wait-for-negotiation-state, which="$(negotiation_initiator)", state="answer-set"