Recent content by ajayalag1974

  1. ajayalag1974

    Filter Rest API Streams & Terminate by Custom Data

    Hi, I was able to terminate connections which i wanted to with custom logic & in-memory database/object using /connection/terminate endpoint of Rest API. Now i need to know in the frontend at client side that connection has been closed/disconnected/failed whatever, due to above code, my custom...
  2. ajayalag1974

    Filter Rest API Streams & Terminate by Custom Data

    Hi, Custom development i know can be achieved with own database but isn't REST API too limited ? Maybe something like GraphQL will make Flashphoner REST API much more powerfull for custom development suting various use cases. Hope you consider. Thanks for your time.
  3. ajayalag1974

    Filter Rest API Streams & Terminate by Custom Data

    Hi, One more issue, cannot download OBS WebRTC Client 1.0 from https://docs.flashphoner.com/display/OBS10EN/Release+notes Giving AccessDenied, please check.
  4. ajayalag1974

    Filter Rest API Streams & Terminate by Custom Data

    Hi, I am using & talking about hooks only. Scenario is, i am generating & caching 1 unique token for each user for 1 particular stream, no more than 1 token is sent to frontend to user to access 1 particular stream even if same user account is logined elsewhere. Whenever that user tries to...
  5. ajayalag1974

    Filter Rest API Streams & Terminate by Custom Data

    Hi, In backend with Rest API I want to query & terminate streams by custom data as posted from client side while creating session or creating stream. I want to implement a security where with 1 token only 1 session is going on (1 token = 1 viewer), above will help in that. Ideally wouldn't...
  6. ajayalag1974

    Stop inactive published RTMP streams which are auto published on demand using FFMpeg

    Hi, Yes you are right inactivity options are available for pulled streams, i am using it. I think my usecase could be a popular use case and if it is so than this option would be benefitial. My usecase is simple, user visits the streaming page, than my code (automation) check if such stream is...
  7. ajayalag1974

    Stop inactive published RTMP streams which are auto published on demand using FFMpeg

    Hi, Thanks, i implemented it like that, at some regular intervals (set_interval), i am fetching all streams /rest-api/stream/find_all and than filtering all such streams which don't have more than 1 stream listed (so only have 1 stream with published=true, but no published=false/playing), and...
  8. ajayalag1974

    Stop inactive published RTMP streams which are auto published on demand using FFMpeg

    Hi, I have written my web server code which when user visits the streaming page checks if streaming exist by name via "/rest-api/stream/find", if not it publishes rtmp stream using ffmpeg command, command is executed via child_process spawn method in nodejs (ffmpeg -re -i...
  9. ajayalag1974

    Passing & Parsing URL Parameters when playing with LocalStreamName

    With my initial testing i confirm all those limited streams which i checked earlier which were giving errors, now are working well, so it seems issue is resolved. Thanks for your effort, really appreciate hard work you guys put into this software. Thanks.
  10. ajayalag1974

    Passing & Parsing URL Parameters when playing with LocalStreamName

    Ok no issues, thanks, will wait and meanwhile switching back to older nginx-rtmp-module based system.
  11. ajayalag1974

    Passing & Parsing URL Parameters when playing with LocalStreamName

    Hi, Thanks for quick response. I know its hard to provide ETA but i am working on project which has to be launched in next 2-3 days, i'll just need to know whether this would be patched immediately in next 2-3 days, or if it will take more time than i will switch back to older...
  12. ajayalag1974

    Passing & Parsing URL Parameters when playing with LocalStreamName

    Hello max, I need 1 more help, I am actually trying to pull rtmp stream from 1 of the source but it is not working, other sources are working good, just this source not working, i confirm that stream is h264 with ffprobe. Neither this rtmp url playing directly in embed_player when passed to...
  13. ajayalag1974

    Passing & Parsing URL Parameters when playing with LocalStreamName

    Hi, I need 1 more help. I need to restream youtube live video via WCS so i am using youtube-dl to get m3u8 url and than piping it to ffmpeg to publish as rtmp but getting error: "Error writing trailer of rtmp://demo.flashphoner.com:1935/live/test_youtube: Broken pipe", i have for example here...
  14. ajayalag1974

    Passing & Parsing URL Parameters when playing with LocalStreamName

    Hi, Thanks for reply. 1. I am still not able to understand, let me explain the issue in more details. > I am pulling a remote stream using this endpoint "/rest-api/pull/rtmp/pull" with some "localStreamName" lets say "local_stream" curl --location --request POST...
Top