The producer id the host assigned (1, 2, … per host).
Audio sample frames received so far (one stereo f32 pair = 1 frame).
Video frames received so far.
true once the plugin released the producer (stream stopped or disposed).
true once the player retired the producer, as the real player does at
once: another source replaced it (open, another stream, a resolved
file), the source was closed, or TestHost.failStream failed it.
A retired producer's producer.state answers unavailable.
true if the frame connection closed while this stream was still the
player's source: the player reports that as a playback failure
("producer transport closed"). stop() closes the source first.
A generated stream (
plugin.player.openStream) as the test host sees it: the fake player end of the frame connection. Assertion surface; see TestHost.producers.Remarks
The player's end of a generated stream's frame connection (TestHost.producers): how many frames arrived and whether the plugin released it or the player retired it. Tests assert on it; nothing is played.
Example: Check that the stream delivers frames
The test starts the plugin's generator and checks that video and audio arrive. The counters grow as the SDK pulls frames and sends them over the fake connection.
Since
1.0.0