Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now

Menu

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

PublishedTrack

The Published Track resource is a subresource of a Participant instance resource. It represents the Tracks a Participant is currently publishing to the Room.

Using the Published Track resource, you can query tracks published to a Room. You can also get a list of Tracks associated with a given Participant.

Published Track Instance Resource

Resource URI

/v1/Rooms/{RoomNameOrSid}/Participants/{ParticipantIdentityOrSid}/PublishedTracks/{TrackNameOrSid}

Resource Properties

Names in PHP format
sid
sid<MT> Not PII

The unique string that we created to identify the RoomParticipantPublishedTrack resource.

participantSid
sid<PA> Not PII

The SID of the Participant resource with the published track.

roomSid
sid<RM> Not PII

The SID of the Room resource where the track is published.

name
string Not PII

The track name. Must be no more than 128 characters, and be unique among the participant's published tracks.

dateCreated
date_time<iso8601> Not PII

The date and time in GMT when the resource was created specified in ISO 8601 format.

dateUpdated
date_time<iso8601> Not PII

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

enabled
boolean Not PII

Whether the track is enabled.

kind
enum:kind Not PII

The track type. Can be: audio, video or data.

url
url Not PII

The absolute URL of the resource.

HTTP GET

Returns a single Track resource represented by TrackNameOrSid.

Retrieve a Track published to the Room by a Participant by TrackNameOrSid

        
        
        
        

        HTTP POST

        Not supported.

        Published Track List Resource

        Resource URI

        /v1/Rooms/{RoomNameOrSid}/Participants/{ParticipantIdentityOrSid}/PublishedTracks/
        

        HTTP GET

        Returns a list of tracks associated with a given Participant. The list includes paging information. Only currently Published Tracks are in the list resource.

        Note: No filters supported.

        Retrieve Tracks published to the Room by a Participant

              
              
              
              
              Rate this page:

              Need some help?

              We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.