NAME

Twilio::TwiML::Voice::Stream - The Stream element of TwiML

SYNOPSIS

my $element = Twilio::TwiML::Voice::Stream->new(\%attributes);

DESCRIPTION

See Twilio::TwiML::TwiML for the methods every element has.

METHODS

new

my $element = Twilio::TwiML::Voice::Stream->new(\%attributes);

attribute_table

Used by Twilio::TwiML::TwiML.

parameter

my $child = $element->parameter(\%attributes);

Add Parameter child. Returns a Twilio::TwiML::Voice::Parameter.

ATTRIBUTES

Each name works in \%attributes, and as a set_ method that returns the element.

audio_format

Required Audio Format

connector_name

Unique name for Stream Connector

name

Friendly name given to the Stream

sample_rate

Sample Rate for HD Codec

status_callback

Status Callback URL

status_callback_method

Status Callback URL method

track

Track to be streamed to remote service

url

URL of the remote service where the Stream is routed

set_audio_format

set_connector_name

set_name

set_sample_rate

set_status_callback

set_status_callback_method

set_track

set_url

Set the attribute of the same name.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.