Class: FLV::Tag::Data
Constant Summary
Constants inherited
from FLV::Tag
AUDIO_TYPE, METADATA_TYPE, VIDEO_TYPE
Instance Attribute Summary
Attributes inherited from FLV::Tag
#footer, #length, #raw_data, #timestamp
Instance Method Summary
collapse
Methods inherited from FLV::Tag
#initialize, read
Constructor Details
This class inherits a constructor from FLV::Tag
Instance Method Details
#audio_codec_id ⇒ Object
49
50
51
|
# File 'lib/flv/tag/data.rb', line 49
def audio_codec_id
meta_data["audiocodecid"]
end
|
#audio_data_rate ⇒ Object
41
42
43
|
# File 'lib/flv/tag/data.rb', line 41
def audio_data_rate
meta_data["audiodatarate"]
end
|
#audio_delay ⇒ Object
45
46
47
|
# File 'lib/flv/tag/data.rb', line 45
def audio_delay
meta_data["audiodelay"]
end
|
#duration ⇒ Object
17
18
19
|
# File 'lib/flv/tag/data.rb', line 17
def duration
meta_data["duration"]
end
|
#frame_rate ⇒ Object
33
34
35
|
# File 'lib/flv/tag/data.rb', line 33
def frame_rate
meta_data["framerate"]
end
|
#height ⇒ Object
25
26
27
|
# File 'lib/flv/tag/data.rb', line 25
def height
meta_data["height"]
end
|
#inspect ⇒ Object
13
14
15
|
# File 'lib/flv/tag/data.rb', line 13
def inspect
"#<#{self.class} #{data.inspect}>"
end
|
#seek_to_end? ⇒ Boolean
53
54
55
|
# File 'lib/flv/tag/data.rb', line 53
def seek_to_end?
meta_data["canSeekToEnd"]
end
|
#video_codec_id ⇒ Object
37
38
39
|
# File 'lib/flv/tag/data.rb', line 37
def video_codec_id
meta_data["videocodecid"]
end
|
#video_data_rate ⇒ Object
29
30
31
|
# File 'lib/flv/tag/data.rb', line 29
def video_data_rate
meta_data["videodatarate"]
end
|
#width ⇒ Object
21
22
23
|
# File 'lib/flv/tag/data.rb', line 21
def width
meta_data["width"]
end
|