// Retrieves details of a specific audio stream on a call'use strict';varplivo=require('plivo');(functionmain(){varclient=newplivo.Client(<auth_id>,<auth_token>);client.calls.getStream(<call_uuid>,<stream_id>).then(function(response){console.log(response);},function(err){console.error(err);});})();
<?php/**
* Retrieves details of a specific audio stream on a call
*/require'vendor/autoload.php';usePlivo\RestClient;usePlivo\Exceptions\PlivoRestException;$client=newRestClient("<auth_id>","<auth_token>");try{$response=$client->calls->getSpecificStream("be812e3f-89d5-4ded-a93b-9d38a956aa46","24e434ce-c37a-4417-82bd-f0e273e078bb");print_r($response);}catch(PlivoRestException$ex){print_r($ex);}
packagecom.plivo.examples.audioStream;importjava.io.IOException;importjava.util.Collections;importjava.util.HashMap;importjava.util.Map;importcom.plivo.api.Plivo;importcom.plivo.api.exceptions.PlivoRestException;importcom.plivo.api.exceptions.PlivoValidationException;importcom.plivo.api.models.base.ListResponse;importcom.plivo.api.models.call.Call;importcom.plivo.api.models.call.CallCreateResponse;importcom.plivo.api.models.call.actions.CallStreamCreateResponse;importcom.plivo.api.models.call.actions.CallStreamCreator;importcom.plivo.api.models.call.actions.CallStreamGetSpecificResponse;/**
* Retrieves details of a specific audio stream on a call
*/classgetSpecificAudioStreaming{publicstaticvoidmain(String[]args)throwsPlivoRestException,PlivoValidationException,IOException{Plivo.init("<auth_id>","<auth_token>");try{CallStreamGetSpecificResponseresponse=Call.streamGetSpecific("eba53b9e-8fbd-45c1-9444-696d2172fbc8","stream-id").get();}catch(Exceptione){e.printStackTrace();}}}
/**
* Retrieves details of a specific audio stream on a call
*/usingSystem;usingSystem.Collections.Generic;usingPlivo;usingPlivo.Exception;namespacePlivoExamples{internalclassProgram{publicstaticvoidMain(string[]args){varapi=newPlivoApi("<auth_id>","<auth_token>");try{varresponse=api.Call.GetStream("eff5f2da-58a9-4447-b484-bee21870638c","aa18dfbd-d492-4301-9a2a-82340786d2ff");Console.Write(response);}catch(PlivoRestExceptione){Console.WriteLine("Exception: "+e.Message);}}}}
packageAudio_Streamingimport("fmt""github.com/plivo/plivo-go/v7")// Retrieves details of a specific audio stream on a call//package mainfuncmain(){client,err:=plivo.NewClient("<auth_id>","<auth_token>",&plivo.ClientOptions{})iferr!=nil{fmt.Print("Error",err.Error())return}err=client.Calls.GetSpecificStream("61fa0825-3018-4508-9a3a-922247b1052d","f60342d1-eb0a-42b0-974b-2fd900b07ed1")iferr!=nil{fmt.Print("Error",err.Error())return}}
Rate this page
🥳 Thank you! It means a lot to us!
×
Help Us Improve
Thank you so much for rating the page, we would like to get your input
for further improvements!