-
Is your feature request related to a problem? Please describe. According to the documentation OriginMapStore only being used with OVT for now. Can this be done? |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 1 reply
-
If you are the developer of the rtsp server and develop the server to register its own stream key and url to redis, it will be possible. |
Beta Was this translation helpful? Give feedback.
-
@getroot Thanks for your quick reply :) We tried to setup this but it is failing. Logs: [2022-12-08 03:11:24.988] I [SPRtcSig-T3333:238136] Provider | stream.cpp:59 | RTSPCProvider Application has started to play [khaled_123(2277)] stream : RTSP://10.9.0.5:8554/edm/khaled_123 Edge Config:
|
Beta Was this translation helpful? Give feedback.
-
Sorry, it doesn't mean it's possible now, it means it will be possible in the future. (As it only requires a very simple fix) I'll work on this in the future when I have time. |
Beta Was this translation helpful? Give feedback.
-
@getroot I just hit the same wall as @khaled-du, I am wondering if you have the timeline to fix this stuff? Also by just go over fast the code I figured in
will return error if they end up not get It may not be the best place to do it, please instruct if you have ideas on where it would be the best place to add this logic and I will raise a PR from there. Thanks a lot |
Beta Was this translation helpful? Give feedback.
-
@zt1983811 Thanks for the suggestion. But it's easier for me to develop myself than to explain. I look forward to your next PR on other topics! |
Beta Was this translation helpful? Give feedback.
-
@getroot it has been more than a month (year :-)))), I am wondering if you have timeline for this because I am currently eager to get it work. If you are too busy, please just explain short what need to be done there so that I can wrap up a quick PR to solve this problem because I would expect more people will blocked by this. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
I haven't tested this yet, but maybe you can pull the RTSP from the OriginMapStore with the following temporary fix: Comment out the above line. (return false;) Please note that this is not a bug or problem. This is a new feature. Supporting an external rtsp origin server was not in my original plan as I originally developed this to be able to automatically scale the origin server on the cluster. In order to officially support this, I have to think about how to handle it well. For example, there is a way to provide an option to turn on/off the automatic registration of streams in the OriginMapStore. I'll have to think about if there isn't a better way than that. And this feature has a lower priority than other features on my roadmap. I will consider this later. |
Beta Was this translation helpful? Give feedback.
-
I updated the OriginMapStore to support RTSP URLs as well. You can test it with the latest master branch. |
Beta Was this translation helpful? Give feedback.
-
Thanks @getroot the change works fine. |
Beta Was this translation helpful? Give feedback.
-
@getroot Can we configure the Redis password as env variable? I tried using ${env:REDIS_PASS} but seems it is not working. |
Beta Was this translation helpful? Give feedback.
I updated the OriginMapStore to support RTSP URLs as well. You can test it with the latest master branch.