src/OpenTok/OpenTok.php
public function stopBroadcast($broadcastId)
    {
        // validate arguments
        Validators::validateBroadcastId($broadcastId);

        // make API call
        $broadcastData = $this->client->stopBroadcast($broadcastId);
        return new Broadcast($broadcastData, array(
            'client' => $this->client,
            'isStopped' => true
        ));
    }
public function stopBroadcast($broadcastId)
    {
        // validate arguments
        Validators::validateBroadcastId($broadcastId);

        // make API call
        $broadcastData = $this->client->stopBroadcast($broadcastId);
        return new Broadcast($broadcastData, array(
            'client' => $this->client,
            'isStopped' => true
        ));
    }
public function stopBroadcast ( $ broadcastId ) { // validate arguments Validators :: validateBroadcastId ( $ broadcastId ) ; // make API call $ broadcastData = $ this -> client -> stopBroadcast ( $ broadcastId ) ; return new Broadcast ( $ broadcastData , array ( 'client' => $ this -> client , 'isStopped' => true ) ) ; }
Stops a broadcast.

@param String $broadcastId The ID of the broadcast.
Stops a broadcast .