Exemplo n.º 1
0
 /**
  * Process the raw data from a binary stream
  * 
  * @return  void
  */
 public function processData(Woops_Flv_Binary_Stream $stream)
 {
     // Calls the parent method
     parent::processData($stream);
     // Gets the video infos
     $infos = $stream->unsignedChar();
     // Sets the video infos
     $this->_frameType = $infos >> 4;
     $this->_codecId = $infos & 0xf;
     $stream->seek($this->_dataSize - 1, Woops_Flv_Binary_Stream::SEEK_CUR);
 }
Exemplo n.º 2
0
 /**
  * Process the raw data from a binary stream
  * 
  * @return  void
  */
 public function processData(Woops_Flv_Binary_Stream $stream)
 {
     // Calls the parent method
     parent::processData($stream);
     $stream->seek($this->_dataSize, Woops_Flv_Binary_Stream::SEEK_CUR);
 }
Exemplo n.º 3
0
 /**
  * Process the raw data from a binary stream
  * 
  * @return  void
  */
 public function processData(Woops_Flv_Binary_Stream $stream)
 {
     // Calls the parent method
     parent::processData($stream);
     // Gets the audio informations
     $infos = $stream->unsignedChar();
     // Sets the sound properties
     $this->_soundFormat = $infos >> 4;
     $this->_soundRate = $infos >> 6 & 0x3;
     $this->_soundSize = $infos >> 7 & 0x1;
     $this->_soundType = $infos & 0x1;
     $stream->seek($this->_dataSize - 1, Woops_Flv_Binary_Stream::SEEK_CUR);
 }