Skip to content

Support for rtsp/rtmp stream through ethernet #108

@Jimmeimetis

Description

@Jimmeimetis

Hi,

I've been a part of the OpenIPC fpv community for a while and recently got my hands on the runcam vrx unit.

I am more familiar with pixelpilot android and have also done a small contribution there in the past but would like some guidance as of how it would best to implement the above functionality to pixelpilot_rk.

I have spent a bit of time reading the code here and:

  1. i noticed that gstreamer is used to parse the udp stream at port 5600
  2. after reading the main.cpp and going down the rabbit hole i believe that it may be optimal to create another cpp program that works similar to the DVR one.

Basically if a frame is ready and i have set a flag similar to this

if (dvr_enabled && dvr != NULL) {

I can push frames to my new gstreamer pipeline and produce rtmp stream or rtsp depending on my liking.

Questions are:
Will this leverage the hardware encoder without much hassle, or it will have to fallback to cpu?
Am i actually thinking of the correct way to do it given my unfamiliarity with the code? Is there a more clean/better way to do it?

Any help/insight is appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions