Rygel.MediaResource – rygel-server-2.8 Reference Manual
Packages
rygel-server-2.8
Rygel
MediaResource
audio_channels
bitrate
bits_per_sample
cleartext_size
color_depth
dlna_conversion
dlna_flags
dlna_operation
dlna_profile
duration
extension
height
import_uri
mime_type
network
protocol
sample_freq
size
uri
width
MediaResource
MediaResource.from_didl_lite_resource
MediaResource.from_resource
dup
get_default_transfer_mode
get_name
get_protocol_info
is_cleartext_range_support_enabled
is_dlna_content
is_dlna_operation_mode_set
is_dlna_protocol_flag_set
is_link_protection_enabled
is_streamable
serialize
set_protocol_info
supports_arbitrary_byte_seek
supports_arbitrary_time_seek
supports_full_cleartext_byte_seek
supports_limited_byte_seek
supports_limited_cleartext_byte_seek
supports_limited_time_seek
supports_playspeed
supports_transfer_mode
to_string
play_speeds
MediaResource
Object Hierarchy:
Description:
public
class
MediaResource
:
Object
Namespace:
Rygel
Package:
rygel-server-2.8
Content:
Properties:
public
int
audio_channels
{
get
;
set
; }
public
int
bitrate
{
get
;
set
; }
public
int
bits_per_sample
{
get
;
set
; }
public
int64
cleartext_size
{
get
;
set
; }
public
int
color_depth
{
get
;
set
; }
public
DLNAConversion
dlna_conversion
{
get
;
set
; }
public
DLNAFlags
dlna_flags
{
get
;
set
; }
public
DLNAOperation
dlna_operation
{
get
;
set
; }
public
string
dlna_profile
{
get
;
set
; }
public
long
duration
{
get
;
set
; }
public
string
extension
{
get
;
set
; }
public
int
height
{
get
;
set
; }
public
string
import_uri
{
get
;
set
; }
public
string
mime_type
{
get
;
set
; }
public
string
network
{
get
;
set
; }
public
string
protocol
{
get
;
set
; }
public
int
sample_freq
{
get
;
set
; }
public
int64
size
{
get
;
set
; }
public
string
uri
{
get
;
set
; }
public
int
width
{
get
;
set
; }
Creation methods:
public
MediaResource
(
string
name)
public
MediaResource.from_didl_lite_resource
(
string
name,
DIDLLiteResource
didl_resource)
public
MediaResource.from_resource
(
string
name,
MediaResource
that)
Methods:
public
MediaResource
dup
()
public
string
get_default_transfer_mode
()
public
string
get_name
()
public
ProtocolInfo
get_protocol_info
(
HashTable
<
string
,
string
>? replacements =
null
)
public
bool
is_cleartext_range_support_enabled
()
public
bool
is_dlna_content
()
public
bool
is_dlna_operation_mode_set
(
long
flags)
public
bool
is_dlna_protocol_flag_set
(
long
flags)
public
bool
is_link_protection_enabled
()
public
bool
is_streamable
()
public
DIDLLiteResource
serialize
(
DIDLLiteResource
didl_resource,
HashTable
<
string
,
string
>? replacements)
public
void
set_protocol_info
(
ProtocolInfo
pi)
public
bool
supports_arbitrary_byte_seek
()
public
bool
supports_arbitrary_time_seek
()
public
bool
supports_full_cleartext_byte_seek
()
public
bool
supports_limited_byte_seek
()
public
bool
supports_limited_cleartext_byte_seek
()
public
bool
supports_limited_time_seek
()
public
bool
supports_playspeed
()
public
bool
supports_transfer_mode
(
string
transfer_mode)
public
string
to_string
()
Fields:
public
string
[]
play_speeds
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref