Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit694db0b

Browse files
author
cgcladera-vancast
committed
Created Services_Zencoder_Stream object.
1 parent081746f commit694db0b

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

‎Services/Zencoder/Job.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ class Services_Zencoder_Job extends Services_Zencoder_Object
3030
* @var Services_Zencoder_Input
3131
*/
3232
public$input;
33+
34+
/**
35+
* Services_Zencoder_Stream object containing information on the stream for
36+
* LIVE transcoding
37+
* @var Services_Zencoder_Stream
38+
*/
39+
public$stream;
3340
/**
3441
* A copy of the raw API response for debug purposes
3542
*
@@ -57,6 +64,8 @@ private function _update_attributes($attributes = array())
5764
$this->_create_thumbnails($attr_value);
5865
}elseif ($attr_name =="input_media_file" &&is_object($attr_value)) {
5966
$this->input =newServices_Zencoder_Input($attr_value);
67+
}elseif ($attr_name =="stream" &&is_object($attr_value)){
68+
$this->stream =newServices_Zencoder_Stream($attr_value);
6069
}elseif (is_array($attr_value) ||is_object($attr_value)) {
6170
$this->_update_attributes($attr_value);
6271
}elseif (empty($this->$attr_name)) {

‎Services/Zencoder/Stream.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
/**
4+
* Zencoder API client interface.
5+
*
6+
* @category Services
7+
* @package Services_Zencoder
8+
* @author Carles Galan Cladera <cgcladera@gmail.com>
9+
* @version Release: 2.1.1
10+
* @license http://creativecommons.org/licenses/MIT/MIT
11+
* @link http://github.com/zencoder/zencoder-php
12+
*/
13+
class Services_Zencoder_Streamextends Services_Zencoder_Object
14+
{
15+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp