Giter Site home page Giter Site logo

Comments (8)

SangwonOh avatar SangwonOh commented on July 17, 2024

@alex-jhones Once peer connection established, player keeps connection even if pausing video. Because OvenPlayer is not implemented to close peer connection when playback is paused.

To stop data transfering, using remove() API will be an option.

from ovenplayer.

alex-jhones avatar alex-jhones commented on July 17, 2024

I can't find the api on the web page. Can I get the information?
https://airensoft.gitbook.io/ovenplayer/api-reference/api

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

Please refer this. Thank you.

https://github.com/AirenSoft/OvenPlayer/blob/master/docs/api.md#playerremove

from ovenplayer.

alex-jhones avatar alex-jhones commented on July 17, 2024

I reflected it as you told me, but it still seems that the stream continues to be delivered. However, I confirmed that it was stopped on the log. Can you tell me what the problem is?

image

I checked it at chrome: // webrtc-internals
image

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

Even if peer connection closed chrome remains tab panel a few seconds. To checking metrics graph is still running or stoped you can see stream status.

from ovenplayer.

alex-jhones avatar alex-jhones commented on July 17, 2024

Thank you. I confirmed that I stopped the stream. But why maintain the peer connection? If the stream is closed, shouldn't the connection be closed? I misunderstood that this is still taking the stream.

If you look at the picture below, you can see that the peer connection is still maintained.

image

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

OvenPlayer close the peer connection. I think [chrome://webrtc-internals] maintains the peer connection even the peer connection is closed. So that gives chance to the developers to check event logs like ice candidate status.

In our case, [chrome://webrtc-internals] remains the tab when the peer connection is closed. And then after a while the tabs are closed automatically

from ovenplayer.

SangwonOh avatar SangwonOh commented on July 17, 2024

We close this issue because it has not had recent activity. If you have further issues, open the issue again. Thanks. Good luck.

from ovenplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.