src/MediaServices/MediaServicesRestProxy.php
public function sendStartChannelOperation($channel)
    {
        $channelId = Utilities::getEntityId(
            $channel,
            'WindowsAzure\MediaServices\Models\Channel'
        );
        $headers = [
            Resources::CONTENT_TYPE => Resources::JSON_CONTENT_TYPE,
        ];

        return $this->_sendOperation(
            null,
            "Channels('{$channelId}')/Start",
            Resources::HTTP_POST,
            Resources::STATUS_ACCEPTED,
            $headers);
    }
public function sendStartChannelOperation($channel)
    {
        $channelId = Utilities::getEntityId(
            $channel,
            'WindowsAzure\MediaServices\Models\Channel'
        );
        $headers = [
            Resources::CONTENT_TYPE => Resources::JSON_CONTENT_TYPE,
        ];

        return $this->_sendOperation(
            null,
            "Channels('{$channelId}')/Start",
            Resources::HTTP_POST,
            Resources::STATUS_ACCEPTED,
            $headers);
    }
public function sendStartChannelOperation ( $ channel ) { $ channelId = Utilities :: getEntityId ( $ channel , 'WindowsAzure\MediaServices\Models\Channel' ) ; $ headers = [ Resources :: CONTENT_TYPE => Resources :: JSON_CONTENT_TYPE , ] ; return $ this -> _sendOperation ( null , "Channels('{$channelId}')/Start" , Resources :: HTTP_POST , Resources :: STATUS_ACCEPTED , $ headers ) ; }
Start a channel.

@param Channel|string $channel Channel data or channel Id

@return Operation
Start a channel .