pub fn flv_response_to_spu_metadata(flv_spus: Vec<FlvFetchSpuResponse>) -> Vec<ScSpuMetadata> {
    let mut sc_spus: Vec<ScSpuMetadata> = vec![];
    for flv_spu in flv_spus {
        sc_spus.push(ScSpuMetadata::new(flv_spu));
    }
    sc_spus
}
// -----------------------------------
// Convert from FLV to SPU Metadata
// -----------------------------------
Convert from FLV to SPU Metadata
Convert from FLV to SPU Metadata
pub fn flv_response_to_spu_metadata(flv_spus: Vec<FlvFetchSpuResponse>) -> Vec<ScSpuMetadata> {
    let mut sc_spus: Vec<ScSpuMetadata> = vec![];
    for flv_spu in flv_spus {
        sc_spus.push(ScSpuMetadata::new(flv_spu));
    }
    sc_spus
}
pub fn flv_response_to_spu_metadata ( flv_spus : Vec < FlvFetchSpuResponse > ) -> Vec < ScSpuMetadata > { let mut sc_spus : Vec < ScSpuMetadata > = vec ! [ ] ; for flv_spu in flv_spus { sc_spus . push ( ScSpuMetadata :: new ( flv_spu ) ) ; } sc_spus }
Convert from FLV to SPU Metadata
Convert from FLV to SPU Metadata
flv_spus
Vec<FlvFetchSpuResponse>
flv_spus
Vec<FlvFetchSpuResponse>