Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Omar Gonzalez
    @s9tpepper
    it dumps that and gets stuck at that RTSP IN:
    then eventually sends:
    [trace] RTSP stream timed out [object Object]
    [trace] RTSP stream closed [object Object]
    Andrey
    @insonifi
    I'm looking into MJPEGClient's progressive delay. And found a timer which obviously introduces some. Could somebody explain me it's purpose? I tried to do without it and it seems like it's better that way.
    var timeout:Number = this.timeUntilLoad(image);
    this.loadTimes.push(new Date().getTime() + timeout);
    this.loadTimer = setTimeout(this.doLoad, timeout, image);
    Andrey
    @insonifi
    Hi guys ( @drowzy, @noseglid ), hopefully I fixed issue stated above. Would you kindly check my pull request -- #176.
    Oliver Stöneberg
    @firewave
    hi
    I am seeing several SyntaxError entries in the console in Chrome when playing videos using locomote.
    e.g. Uncaught SyntaxError: Unexpected token ILLEGAL
    the source VM89359:1 indicates it's caused by the .swf
    Gaétan Collaud
    @gaetancollaud
    Hi guys, can you have a look at AxisCommunications/locomote-video-player#179 and tell me if some else has the same issue ?
    Andrey
    @insonifi
    @gaetancollaud, tried it just now on 51.0.2704.63 (64-bit) Linux with two Locomote players playing same RTSP stream, both play nice.
    Gaétan Collaud
    @gaetancollaud
    Thanks for trying. I found the solution (see #179).
    I made a simple POC with two players but I was not able to reproduce (like you did). Then I begin to remove code from my app until I find what was the issue.
    spiritbrother1
    @spiritbrother1
    bro how to play rtsp video with locomote
    Andrey
    @insonifi
    @spiritbrother
    locomote.play('rtsp://server.com/stream');
    Andrey
    @insonifi
    Hey guys, has anybody experience audio "slips"? I have LiveMedia RTSP server, that streams Audio/Video streams. Audio is G.711, and it kind of playing alright, but jumps every 50-100ms, and eventually we are out of buffer. Because we lose at least half of the buffer that way. Curiously, GStreamer RTSP server is serving fine. Both standalone and from Axis camera. Samsung camera fails same way as standalone LiveMedia server.
    Gaétan Collaud
    @gaetancollaud
    Using axis cameras and evostream I never notice anything.
    Andrey
    @insonifi
    @gaetancollaud if I provide the RTSP stream, could you give me a hint on how to fix that?
    Gaétan Collaud
    @gaetancollaud
    Sorry but I don't think so. I'm not good enough with streaming protocols. Coding is more my stuff.
    Andrey
    @insonifi
    sigh
    BHAVIN SHAH
    @India_bhavin_twitter
    Hi guys, Our camera having H.264 and MJPEG support of Video codec on RTSP over TCP and UDP both. Right now we are not able to play video using MJPEG on RTSP using Locomote. We are going to enhance Locomote for support of MJPEG on RTSP. So I want help from you for confirm : it is feasible to play MJEPG on RTSP using Flash plugin. If it is possible then we can start looking on that.
    Second thing I want to confirm is H.264 can play on RTSP over UDP. Is it possible using flash player?
    Gaétan Collaud
    @gaetancollaud
    Hi, don't take my answer for the absolute truth, but I think you have to pass a stream into the video decoder. So the stream can come from anywhere.
    BHAVIN SHAH
    @India_bhavin_twitter
    @gaetancollaud why it is not working with RTSP over UDP
    BHAVIN SHAH
    @India_bhavin_twitter
    @gaetancollaud When I pass my rtsp url for mjpeg codec here "client = new RTSPClient(urlParsed, new RTSPoverTCPHandle(urlParsed));" I Got JPEG packets in wireshark but not able to start the streaming.
    Andrey
    @insonifi
    @India_bhavin_twitter, RTSP client is implemented employing either Socket class or URLStream class both are TCP only. DatagramSocket is mentioned in the reference it seems to be implemented by AIR but not available in Flash runtime.
    @India_bhavin_twitter, regarding MJPEG support. RTSP player uses NetStream at it's core, and basically re-muxes RTP stream into FLV. According to the spec it might support JPEG, you should research it. Before trying to code it, I suggest muxing a FLV file with MJPEG video stream and playing it with some Flash file player. There is one called FLV player on Chrome Web Store. There is a chance that it doesn't work. In that case, you might want to combine RTSP player and renderer from HTTP player, which renders JPEG frames as a sequence of switching sprites.
    Andrey
    @insonifi
    Has anybody encountered crash on stop or destroy of player, when it has audio stream attached?
    BHAVIN SHAH
    @India_bhavin_twitter
    This message was deleted
    This message was deleted
    This message was deleted
    This message was deleted
    This message was deleted
    This message was deleted
    This message was deleted
    Thanks @insonifi Regarding MJPEG support from RTSP. We have done so far like read rtsp packets from network and remove rtp header from packet. Now get payload data from packet using rtppkt.getPayload() and add into one Byte Array variable. When we get marker is set to 1(means last frame) we will put one suitable MJPEG header all payload data in another Byte Array variable .Now convert this Byte Array of frame into Base64 string and display on <img> in HTML. We are getting Image but not in proper format. We have compare with Wireshark and its look like last packet of frame is not matching. What could be the possible way to solve this?
    blob
    BHAVIN SHAH
    @India_bhavin_twitter
    'code'var rtppkt:RTP = new RTP(pkgData, sdp, rtpTiming);
              var mydata:ByteArray = rtppkt.getPayload();
              var packetlength:int = mydata.length;
              Logger.log("getPayload: ", rtppkt.getPayload().length);
              // Logger.log("my image packetlength: ", packetlength);
              // Logger.log("-2: ", data[packetlength - 2]);
              // Logger.log("-1: ", data[packetlength - 1]);
              // var newBytes:ByteArray = new ByteArray();
              // newBytes.writeBytes(mydata, 12);  
                //Logger.log("newBytes", newBytes.length);
            // // Logger.log("newBytes",newBytes);
    
    
                var payloadlengthsofar:uint = myImagepayload.length;
                mydata.readBytes(myImagepayload, payloadlengthsofar);
                Logger.log("payloadlengthsofar", payloadlengthsofar);
                if(rtppkt.getmarker() === 1) { 
                    var temp:ByteArray = new ByteArray();            
                    Logger.log("myimageheader",myimageheader.length);
                    myimageheader.readBytes(myfinalimage, 0);
                    var finalimagelengthsofar:uint = myfinalimage.length;
                    myImagepayload.readBytes(myfinalimage, finalimagelengthsofar);
                    Logger.log("myfinalimage length", myfinalimage.length);
                    myfinalimage.readBytes(temp, 0);
                    myfinalimage.clear();
                    myfinalimage = temp;
    
                     var b64:Base64Encoder = new Base64Encoder();
                     b64.encodeBytes(myfinalimage);
    
    
                    var we:String = b64.toString();
                    ExternalInterface.call("my_function",we);
    bhavin44
    @bhavin44

    Hi,

    We are using rtsp over tcp for live streaming.We are not able to see video sometimes due to facing issue with unknown determine bytes after some packets are dispatched. We have checked with VLC and it is working fine. So what is an issue with over rtsp client.
    I have shared log. can anybody help on this.

    ============================================================
    Loaded Locomote, version 1.1.9
    Start Method
    RTSP OUT: OPTIONS * RTSP/1.0

    CSeq: 2

    User-Agent: Locomote 1.1.9

    WARNING: For content targeting Flash Player version 14 or higher, ExternalInterface escapes strings using JSON conventions. To maintain compatibility, content published to earlier Flash Player versions continues to use the legacy escaping behavior.
    onRTSPCommand Method
    RTSP IN: RTSP/1.0 200 OK

    CSeq: 2

    Date: Fri, Sep 30 2016 03:04:52 GMT

    Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE,SET_PARAMETER,GET_PARAMETER

    WARNING: For content targeting Flash Player version 14 or higher, ExternalInterface escapes strings using JSON conventions. To maintain compatibility, content published to earlier Flash Player versions continues to use the legacy escaping behavior.
    RTSPClient: STATE_OPTIONS
    RTSP OUT: DESCRIBE rtsp://10.107.3.102/StreamingSetting?version=1.0&action=getRTSPStream&ChannelID=1&ChannelName=Channel1&userName=admin&password=Cisco123 RTSP/1.0

    CSeq: 3

    User-Agent: Locomote 1.1.9

    Accept: application/sdp

    WARNING: For content targeting Flash Player version 14 or higher, ExternalInterface escapes strings using JSON conventions. To maintain compatibility, content published to earlier Flash Player versions continues to use the legacy escaping behavior.
    onRTSPCommand Method
    RTSP IN: v=0

    o=- 1475204692994054 1 IN IP4 10.107.3.102

    s=Media Presentation

    i=StreamingSetting?version=1.0&action=getRTSPStream&ChannelID=1&ChannelName=Channel1

    t=0 0

    a=tool:LIVE555 Streaming Media v2007.08.08

    a=type:broadcast

    a=control:*

    a=range:npt=now-

    a=x-qt-text-nam:Media Presentation

    a=x-qt-text-inf:StreamingSetting?version=1.0&action=getRTSPStream&ChannelID=1&ChannelName=Channel1

    m=video 0 RTP/AVP 96

    c=IN IP4 10.107.3.102

    a=rtpmap:96 H264/90000

    a=fmtp:96 packetization-mode=1;profile-level-id=4d0028;sprop-parameter-sets=Z00AKNoBgBtsBVIAAAMABAAAAwB4wIAAPQkAAARKol73wvCIRqA=,aO48gA==;

    a=control:track1

    WARNING: For content targeting Flash Player version 14 or higher, ExternalInterface escapes strings using JSON conventions. To maintain compatibility, content published to earlier Flash Player versions continues to use the legacy escaping behavior.
    RTSPClient: STATE_DESCRIBE
    v=0

    o=- 1475204692994054 1 IN IP4 10.107.3.102

    s=Media Presentation

    i=StreamingSetting?version=1.0&action=getRTSPStream&ChannelID=1&ChannelName=Channel1

    t=0 0

    a=tool:LIVE555 Streaming Media v2007.08.08

    a=type:broadcast

    a=control:*

    a=range:npt=now-

    a=x-qt-text-nam:Media Presentation

    a=x-qt-text-inf:StreamingSetting?version=1.0&action=getRTSPStream&ChannelID=1&ChannelName=Channel1

    m=video 0 RTP/AVP 96

    c=IN IP4 10.107.3.102

    a=rtpmap:96 H264/90000

    a=fmtp:96 packetization-mode=1;profile-level-id=4d0028;sprop-parameter-sets=Z00AKNoBgBtsBVIAAAMABAAAAwB4wIAAPQkAAARKol73wvCIRqA=,aO48gA==;

    a=control:track1

    WARNING: For content targeting Flash Player version 14 or higher, ExternalInterface escapes strings using JSON conventions. To maintain compatibility, content published to earlier Flash Player versions continues to use the legacy escaping behavior.
    Ignored unknown SDP directive: i=StreamingSetting?version=1.0&action=getRTSPStream&ChannelID=1&ChannelName=Channel1
    Ignored unknown SDP directive: c=IN IP4 10.107.3.102
    SDP contained 1 track(s). Calling SETUP for each.
    RTSPClient: STATE_SETUP
    undefined
    Setting up track: rtsp://10.107.3.102/StreamingSetting?version=1.0&action=getRTSPStream&ChannelID=1&ChannelName=Channel1/track1
    WARNING: For content targeting Flash Player version 14 or higher, ExternalInterface escapes strings using JSON conventions. To

    WARNING: For content targeting Flash Player version 14 or higher, ExternalInterface escapes strings using JSON conventions. To maintain compatibility, content published to earlier Flash Player versions continues to use the legacy escaping behavior.
    RTSPClient: STATE_PLAY
    FLVMux: sps profile = 77
    FLVMUX: sps constraints = 0
    FLVMux: sps level = 40
    onInterleavedData Method
    Packate Number 14589 is Dispatched
    onInterleavedData Method
    onInterleavedData Method
    Packate Number 14590 is Dispatched
    onInterleavedData Method
    Packate Number 14591 is Dispatched
    onInterleavedData Method
    Packate Number 14592 is Dispatched
    onInterleavedData Method
    Packate Number 14593 is Dispatched
    onInterleavedData Method
    Packate Number 14594 is Dispatched
    onInterleavedData Method
    Packate Number 14595 is Dispatched
    onInterleavedData Method
    Packate Number 14596 is Dispatched
    onInterleavedData Method
    Packate Number 14597 is Dispatched
    onInterleavedData Method
    Packate Number 14598 is Dispatched
    onInterleavedData Method
    Packate Number 14599 is Dispatched
    onInterleavedData Method
    Packate Number 14600 is Dispatched
    Stop Method
    RTSP OUT: TEARDOWN rtsp://10.107.3.102/StreamingSetting?version=1.0&action=getRTSPStream&ChannelID=1&ChannelName=Channel1/ RTSP/1.0

    CSeq: 6

    User-Agent: Locomote 1.1.9

    Session: 24

    WARNING: For content targeting Flash Player version 14 or higher, ExternalInterface escapes strings using JSON conventions. To maintain compatibility, content published to earlier Flash Player versions continues to use the legacy escaping behavior.
    RTSP stream closed [object Object]

    bhavin44
    @bhavin44
    For rtsp h.264 with higher bit rate more than 8 mbps I am not able to see the video stream. Same issue I observed with 1 or 3 fps also. Can anyone suggest me there is any configuration or other changes are required in locomote. In this case it always goes into default case in OnData () method with unknown determines byte.
    bhavin44
    @bhavin44
    can anyboday help me on this
    bhavin44
    @bhavin44
    This message was deleted
    This message was deleted
    bhavin44
    @bhavin44
    In RTSPClient after packet is dispatched in onInterleavedData() method byte-array is decrease from data byte-array. I don't see any logic how to decrease dispatched byte-array from data. from debugging i just know after calling requestReset() function length of data(Bytearray) is decrease. I dont see any logic in this function. Can anyone answer my query how data lenth is decrease after packet dispatched.
    Andrey
    @insonifi
    spiritbrother1
    @spiritbrother1
    hiihihihihihih
    Firefox2016
    @Firefox2016
    Thanks for your locomote-video-player,is there a web url can test it?
    Andrey
    @insonifi
    @Firefox2016 I'm afraid not
    himedia-micro
    @himedia-micro
    how to modify socket port and url?
    himedia-micro
    @himedia-micro
    @drowzy