Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Andrey
    @insonifi
    @drowzy, also updated RTSP player pull request, as per your comment
    Simon Thörnqvist
    @drowzy
    @insonifi not sure if its a problem. But I see your point.
    Andrey
    @insonifi
    well, it is incorrect to re-initialize a "not-ready" player. It's API misuse anyway.
    Simon Thörnqvist
    @drowzy
    Yup
    Andrey
    @insonifi
    @drowzy, another pull request. Now, in the MJPEGClient Handle. I found that Basic Auth wasn't working, because socket was closed twice when calling disconnect().
    Simon Thörnqvist
    @drowzy
    Yes, very good. Think it's best to keep the debug message though.
    Andrey
    @insonifi
    @drowzy, I added log message back to disconnect().
    Andrey
    @insonifi
    @drowzy, if I need to show single image, e.g. a poster or a preview, what is a preferred way of doing it?
    Simon Thörnqvist
    @drowzy
    So a preview of the stream in its current state? Or just the same preview picture everytime?
    Andrey
    @insonifi
    I'd say a preview that I get from server as an image. It's not the same all the time, but it downloaded from HTTP server.
    Simon Thörnqvist
    @drowzy
    Ok, I would just overlay the player with the picture. We use wmode=transparent in locomote so it shouldn't be a problem
    Andrey
    @insonifi
    Cool, background style works like a charm!
    Simon Thörnqvist
    @drowzy
    Neat :)!
    Hannes
    @h-no
    FYI: after contacting contributors of Locomote regarding the license of Locomote and changing it to a more permissive license, we have decided to change the license to https://opensource.org/licenses/BSD-3-Clause
    We'll tag a new release shortly....
    Gaétan Collaud
    @gaetancollaud
    Thank you for asking to the contributors. ;)
    off topic : Since flash will be removed from all browser eventually, what is your plan for locomote ?
    In my company we use it to play video stream from axis camera (and AVHS). But sooner or later we will have to move to html5. Do you plan to adapt locomote to html5 or will it be another separate project ?
    I don't know if you already have though about that at Axis ?
    Simon Thörnqvist
    @drowzy
    We are working on it, it will be seperate from locomote.
    Gaétan Collaud
    @gaetancollaud
    Thanks for the clarification
    Andrey
    @insonifi
    Are you going to implement WebRTC client?
    Omar Gonzalez
    @s9tpepper
    Anyone around? Got a quick question, I'm trying to compile Player.swf so that it doesn't make ExternalInterface calls, so I went in the source and commented out all of the calls to ExternalInterface.call() and recompiled with gulp. But I'm still getting errors from a ExternalInterface.call() in the axis.ErrorManager class, even though I commented it out, anyone have any suggestions?
    Alexander Olsson
    @noseglid
    Caching perhaps. Or you’re not installing/reloading it from the correct place. Or there are even more ExternalInterface.call in the code.
    Omar Gonzalez
    @s9tpepper
    i had to pull the source into my test project to get it to stop doing it, probably an IntelliJ compiler cache or something
    Alexander Olsson
    @noseglid
    Switch to Atom :elephant:
    Good you got it working
    Omar Gonzalez
    @s9tpepper
    now just trying to get it to play an RTSP url streaming from VLC - I added a policy socket server but I never see any requests come from AS3, after I call play() it waits a few seconds and then sends a streamStopped event
    RTMP url plays fine, tested one just to make sure the Player class was running correctly
    Alexander Olsson
    @noseglid
    RTMP is not subject to socket policy, which may indicate a socket policy issue.
    But you should get a error callback then.
    Omar Gonzalez
    @s9tpepper
    yea that's what I figured, and I'm not seeing any requests come from AS3 to the policy server
    Alexander Olsson
    @noseglid
    Is it running on port 843 ?
    Omar Gonzalez
    @s9tpepper
    yea

    $ python -c 'print "<policy-file-request/>"' | nc 127.0.0.1 843
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">

    <cross-domain-policy>

    <!-- This is a master socket policy file -->

    <!-- No other socket policies on the host will be permitted -->

    <site-control permitted-cross-domain-policies="master-only"/>

    <!-- Instead of setting to-ports="*", administrator's can use ranges and commas -->

    <!-- This will allow access to ports 123, 456, 457 and 458 -->

    <allow-access-from domain="*" to-ports="*" />

    </cross-domain-policy>

    i tested it like that from the cli
    Alexander Olsson
    @noseglid
    Networking issues?
    Omar Gonzalez
    @s9tpepper
    AIR app and VLC are both running on same computer
    Alexander Olsson
    @noseglid
    Odd, and how are you specifying the RTSP url?
    Omar Gonzalez
    @s9tpepper
    i've tried "rtsp://:8554/" and "rtsp://192.168.1.11:8554/"
    Alexander Olsson
    @noseglid
    Is your socketpolicy server listening to all your interfaces (e.g. not only 127.0.0.1). If you do above test but use IP 192.168.1.11 instead
    Omar Gonzalez
    @s9tpepper
    let me tr
    oh, it won't work w/ that IP
    that's weird, ipconfig says IPv4 is 192.168.1.11
    Alexander Olsson
    @noseglid
    How are you starting the socketpolicy server?
    My bet is it’s only listening to 127.0.0.1 (e.g. the loopback interface) and not the interface with ip 192.168.1.11
    Omar Gonzalez
    @s9tpepper
    it's a PHP script, one sec
    i'll try that, right now its using: socket_bind($socket, 'localhost', 843
    Alexander Olsson
    @noseglid
    change ’localhost’ to ’0.0.0.0’
    Omar Gonzalez
    @s9tpepper
    cool yea that works, i was adding some event handlers and output window so I can try to get more info when its stopping or the other calls it makes