getReplayUri static method
XML for the getReplayUri
Implementation
static XmlDocumentFragment getReplayUri(
String recordingToken, {
required StreamSetup streamSetup,
}) {
Transport.builder.element('GetReplayUri', nest: () {
Transport.builder.namespace(Xmlns.trp);
Transport.builder.element('StreamSetup', nest: () {
Transport.builder.element('Stream', nest: () {
Transport.builder.namespace(Xmlns.tt);
Transport.builder.text(streamSetup.stream);
});
Transport.builder.element('Transport', nest: () {
Transport.builder.namespace(Xmlns.tt);
Transport.builder.element('Protocol', nest: () {
Transport.builder.text(streamSetup.transport.protocol);
});
});
});
Transport.builder.element('RecordingToken', nest: () {
Transport.builder.text(recordingToken);
});
});
return Transport.builder.buildFragment();
}