Updated functions to support method chaining, updated logic, made functions be type independent where possible (video or audio)
Updated functions to support method chaining, updated logic, made functions be type independent where possible (video or audio)

rafasamp/sonus,masterweb121/sonus