Code Monkey home page Code Monkey logo

Comments (19)

mangui avatar mangui commented on August 26, 2024

Hi @fissben
debug logs would help to understand the call sequence from your player.

from flashls.

fissben avatar fissben commented on August 26, 2024

Hello @mangui
Log are really spammy.
Here I have publish example player with ova and flashls http://video.nur.kz/test&debug=org.flowplayer.hls
You can change debug var in URI to check debug you are need to see. By default it set as 'org.flowplayer.hls.*'

(if you can check your self, I share log of org.flowplayer.* example here https://www.dropbox.com/s/h0b5lhb7o6mt0ez/log.txt?dl=0)

Thanks for your answer!
BR, Dmytro

from flashls.

mangui avatar mangui commented on August 26, 2024

I need hls debug traces, not flowplayer ones, with hls_debug=true

from flashls.

fissben avatar fissben commented on August 26, 2024

Added, but there are no output:(

from flashls.

mangui avatar mangui commented on August 26, 2024

I guess you are not using flashls debug swf ?
https://github.com/mangui/flashls/blob/master/bin/debug/flashlsFlowPlayer.swf

from flashls.

fissben avatar fissben commented on August 26, 2024

oh, really.. i missed up this staff. Sorry. Now it's online with debug plugin.
Here are output from console
https://www.dropbox.com/s/ch7vewqwr9cds95/2.txt?dl=0

from flashls.

mangui avatar mangui commented on August 26, 2024

flashls INFO logs are even enough to understand what is going on,
here I dont see anything wrong from flashls perspective. you can see that playback is paused at the end of the log. but i dont see any seek() request.

from flashls.

fissben avatar fissben commented on August 26, 2024

exactly, it happens when i try to seek during playback..

from flashls.

mangui avatar mangui commented on August 26, 2024

but I dont see any seek() call done on flashls API.
so now you need to also enable flowplayer logs and check where the seek() command is lost, somewhere between flowplayer and flashls.

from flashls.

fissben avatar fissben commented on August 26, 2024

https://www.dropbox.com/s/9vrpo95p03mx4ui/3.txt?dl=0
Here part of full log starting from JS seek(500), but i really don't understand whats going wrong..
I don't understand why it work with native plugin (like f4m) and not working with flashls

from flashls.

mangui avatar mangui commented on August 26, 2024

still I don't see any seek() request from flowplayer to flashls. do you have a complete log with debug info from scratch ?

from flashls.

fissben avatar fissben commented on August 26, 2024

Hello, mangui.

First of all, thank you for responses.

Here full dump of flowplayer from page started
https://www.dropbox.com/s/vad6wg4ng71fbj4/chrome.out.txt?dl=0

I also found new problem. When using playlist with flashls clip at the end of the list, the videos playing under previous clip. It mean last frame of previous clip hide flashls stream, you can hear sound and some artifacts under the frame. It disappeared only when you are seeking video manually(using flash player controls)

I also found strange seeking method and onEmptyBuffer() calling. When you try to seek plugins toggling player to pause, then trying to seek() stream to some position, then toggle to play. I don't know exactly, but problem can hiding somewhere here. Plugin also calling onEmptyBuffer every time when it strated and seeking, but it should call only when buffer is empty after start(it mean server lags or down)

BR, Dmytro

from flashls.

mangui avatar mangui commented on August 26, 2024

I tried your test page : http://video.nur.kz/test&debug=org.flowplayer.hls
with flash debug,

playback starts but as soon as I seek, I got the following exception raised by flash.
I guess this should prevent further processing ...

     TypeError: Error #1009: Cannot access a property or method of a null object reference.
at org.openvideoads.plugin.flowplayer.streamer::OpenAdStreamer/onBeforeSeekEvent()
at EventListener/notify()
at org.flowplayer.model::EventDispatcher/_dispatchEvent()
at org.flowplayer.model::EventDispatcher/http://flowplayer.org/core/internal::doDispatchBeforeEvent()
at org.flowplayer.model::Clip/onBeforeClipEvent()
at EventListener/notify()
at org.flowplayer.model::EventDispatcher/_dispatchEvent()
at org.flowplayer.model::EventDispatcher/http://flowplayer.org/core/internal::doDispatchBeforeEvent()
at org.flowplayer.model::ClipEventDispatcher/dispatchBeforeEvent()
at PlayState/dispatchBeforeEvent()

according to the source code below from http://www.golfchannel-la.com/wp-content/plugins/flv-player-golf/ova/src/org/openvideoads/plugin/flowplayer/streamer/OpenAdStreamer.as

I am suspecting getNetStream is null

    protected function onBeforeSeekEvent(clipEvent:ClipEvent):void {
        if(_timeBeforeSeek < 0) {
            _timeBeforeSeek = _player.playlist.current.getNetStream().time;
        }
    }

I will set it, then please recheck whether the issue is gone or not

from flashls.

fissben avatar fissben commented on August 26, 2024

Excellent, now it works.
For now only overflow issue left. I'll attach debug log later.

Thank a lot!

BR, Dmytro

from flashls.

mangui avatar mangui commented on August 26, 2024

great. not clear about this overflow issue ? could you describe the scenario ?

from flashls.

fissben avatar fissben commented on August 26, 2024

Here debug out
https://www.dropbox.com/s/g2k338053ryh4lp/playlist_layer_issue.txt?dl=0
It happen when:

  1. I hide control bar
  2. Play some custom ad from server(mp4 file)
  3. show control bar
  4. play flashls stream

You can check it here
http://video.day.az/view=5r9xtsqv?google_preview=o-ghQKdrMdYYyoyhoAUwyqjWpwWIAYCAgKCTyJOmxwE&client=ca-pub-4622908849523057&lineItemId=46562104&creativeId=52457700664&ad_test=1&debug=org.flowplayer.hls.*

from flashls.

mangui avatar mangui commented on August 26, 2024

with FP debug, the following error is raised
Error: clipURLResolver 'hls' not loaded
at org.flowplayer.controller::CompositeClipUrlResolver$/getResolver()
at org.flowplayer.controller::CompositeClipUrlResolver$/createResolver()
at org.flowplayer.controller::ClipURLResolverHelper/getClipURLResolver()
at org.flowplayer.controller::NetStreamControllingStreamProvider/_onNetStatus()

can you try to remove

        urlResolvers: 'hls',

from your page ?

from flashls.

fissben avatar fissben commented on August 26, 2024

Removed. Nothing changed :(

from flashls.

mangui avatar mangui commented on August 26, 2024

closing, plz reopen if still repro

from flashls.

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.