Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

PlayerEndpoint's default RTSP latency really high #22

Closed

Description

@hunternet93

When using PlayerEndpoint with an RTSP source, the auto-created rtspsrc element uses it's default value for the latency property, 2000 ms. This causes a 2-second delay, which is pretty bad for realtime streams. Here's my quick fix: https://gist.github.com/hunternet93/a7b4a791ce8bf2c29ccf

Activity

  1. igracia commented on Jan 13, 2016

    @igracia
    Contributor

    @jcaden Could you please review this pull request?

  2. added this to the milestone on Jan 13, 2016
  3. added
    enhancement
    kms
    on Jan 13, 2016
  4. jcaden commented on Jan 13, 2016

    @jcaden
    Member

    Great patch! Thanks. I'd like more to add an attribute to playerendpoint so latency ca be choose from client side depending on the application, because setting a default 50ms buffer could cause bad behavior when network is not stable.

  5. hunternet93 commented on Jan 16, 2016

    @hunternet93
    Author

    That's what I thought'd probably need to happen, my C skills are pretty terrible so I didn't attempt it.

  6. modified the milestones: , on Jan 26, 2016
  7. igracia commented on Mar 11, 2016

    @igracia
    Contributor

    @jcaden Should we close this or change the milestone?

  8. removed this from the milestone on Mar 11, 2016
  9. jcaden commented on Mar 11, 2016

    @jcaden
    Member

    There is patch on the way Kurento/kms-elements#3

  10. igracia commented on Jun 6, 2016

    @igracia
    Contributor

    @jcaden Did the patch make it into 6.5.0?

  11. jcaden commented on Jun 6, 2016

    @jcaden
    Member

    No, sorry.

  12. jcaden commented on Aug 19, 2016

    @jcaden
    Member

    The functionality is already in the development version will be included in the next release, probably with number 6.6.0

  13. douglas-lee commented on Jan 20, 2017

    @douglas-lee

    hi, @jcaden . i'm using the https://github.com/lulop-k/kurento-rtsp2webrtc, how can I set the latency? is the kurento client js version is too old? cause I have not see any property in it.

  14. immingta commented on Sep 23, 2017

    @immingta

    @douglas-lee
    add the parameter "networkCache" in the pipeline creation for playerEndpoint like
    pipeline.create("PlayerEndpoint", {networkCache: 0, uri: address.value}, function(error, player){...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementkms

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions