Skip to content

{Question] Stream from file #1774

Closed
Closed
@alexsafe

Description

@alexsafe

Hi,

I want to be able to play a file while streaming on the device. Using preview is fine but I want to be able to loop that video.

I see there is a playAudioDevice() in FromFileBase which is exactly what I would like for video, but that part seems to be missing.

Any idea on how can I play the video too? Maybe I'm missing something... I am using GenericFromFile, but I don't see any relevant difference with RtmpFromFile from example.

And also, is it possible to achieve the same results (play video+audio on the device too with loop) with GenericStream and changeVideoSource(videoFileSource)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions