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

Allow the RTP latency to be set from the Player Endpoint - #3

Closed
kc7bfi wants to merge 10 commits into
Kurento:masterfrom
kc7bfi:master
Closed

kc7bfi wants to merge 10 commits into
Kurento:masterfrom
kc7bfi:master

Conversation

@kc7bfi

@kc7bfi kc7bfi commented Mar 1, 2016

Copy link
Copy Markdown

By default, a 2 second RTP latency is enforced by the gstreamer RTSP player. This change allows the latency to be set on the Player Endpoint. For example, from the kurento-player tutorial, the latency can be set as:

    user.setWebRtcEndpoint(webRtcEndpoint);
    String videourl = jsonMessage.get("videourl").getAsString();
    int latency = jsonMessage.get("latency").getAsInt();
    final PlayerEndpoint playerEndpoint = new PlayerEndpoint.Builder(pipeline, videourl).build();
    playerEndpoint.setLatency(latency);
    user.setPlayerEndpoint(playerEndpoint);
    users.put(session.getId(), user);

@kc7bfi

kc7bfi commented Mar 2, 2016

Copy link
Copy Markdown
Author

I am not a GIT expert and use mostly SVN. How to I set the correct pre-commit hooks? Also, is there a way to squash all the commits together once I've done the commits so that it is easier for you to review them? I'm not a novice programmer but I'm much more familure with svn than git. Thanks. David

@jcaden

jcaden commented Mar 3, 2016

Copy link
Copy Markdown
Member

@kc7bfi

kc7bfi commented Mar 23, 2016

Copy link
Copy Markdown
Author

Just wanted to know the status of this pull request. Is it good to go or is there something else I need to do.

@thomastoledo

Copy link
Copy Markdown

Hi, I'm looking forward this functionality. What is the status of this pull request ? :)

@jcaden

jcaden commented Mar 30, 2016

Copy link
Copy Markdown
Member

@kc7bfi First you should merge all commits in one to make comments easily to find, because I have added some comments to all of the commits and its hard to read them. Once it is merged (hopefully with the comments solved) I can review it again and merge if everything is OK.

@kc7bfi

kc7bfi commented Apr 1, 2016

Copy link
Copy Markdown
Author

Ugh! I tried to run thought the steps in the documentation (I am a SVN person not a GIT person) and it all refers to how to squash the last 'n' commits into one. However, I've already moved on to making more potential changes to the code and I had to re-sync my fork to the latest from the master git repository. Now there are a lot of other commits on top of mine. Would it be possible for you to simply view the unified file changes under the "Files changed" tab? This change is rather small and hopefully it will not be too much work. Its frustrating when the tools get in the way of the actual work of coding.

@jcaden

jcaden commented Apr 6, 2016

Copy link
Copy Markdown
Member

As there are many modifications to be done I will create a patch to implement this functionality. Thanks for your help.

@kc7bfi

kc7bfi commented Apr 6, 2016

Copy link
Copy Markdown
Author

No, it should be good to go. Thanks, David

From: José Antonio Santos Cadenas [mailto:[email protected]]
Sent: Wednesday, April 6, 2016 8:47 AM
To: Kurento/kms-elements [email protected]
Cc: David Robison [email protected]
Subject: Re: [Kurento/kms-elements] Allow the RTP latency to be set from the Player Endpoint (#3)

As there are many modifications to be done I will create a patch to implement this functionality. Thanks for your help.

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com//pull/3#issuecomment-206354051

@thomastoledo

Copy link
Copy Markdown

Is there anything new regarding this PR ? :)

@kc7bfi

kc7bfi commented Apr 15, 2016

Copy link
Copy Markdown
Author

Any idea when this will appear in the master?

@thomastoledo

Copy link
Copy Markdown

Any idea when this will appear in the master ? We are looking forward this functionality.

@up2datecyborg

Copy link
Copy Markdown

Please, are there any news about this pull request?? It's important in our company where we are working with CCTV IP cameras, and cannot afford high latency...
If the code is already ready to be integrated, why do we wait?
It's very very important for us.

@jcaden

jcaden commented Aug 3, 2016

Copy link
Copy Markdown
Member

I've created a similar patch (d31bc5e) with this functionality

@jcaden jcaden closed this Aug 3, 2016
prlanzarin added a commit to prlanzarin/kms-elements that referenced this pull request Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants