state_get_name

function state_get_name(state:Gst.State):String {
    // Gjs wrapper for gst_element_state_get_name()
}

Gets a string representing the given state.

state

a Gst.State to get the name of.

Returns

a string with the name of the state.