Raj Diwan Posted February 15, 2022 Share Posted February 15, 2022 Hi, please help. I have been trying to use RTMP Streaming in liveapp, but the videos save in liveapp/streams/Streamkey.ts. I need to save them in liveapp/streams/streamkey/steamkey.ts. Is there any way to change the Streams Files path? Thank you, Link to comment Share on other sites More sharing options...
0 Selim Emre Posted February 15, 2022 Share Posted February 15, 2022 Hi, Have a good day. You can access your HLS stream by enabling DASH muxer. You just need to enable with below settings, then you can use LiveApp/streams/streamId/master.m3u8 settings.dashMuxingEnabled=truesettings.dash.hlsEnabled=true If you want to use directly HLS stream, we need to add an app settings flag. I have just added a feature request for you. You can follow this issue here: https://github.com/ant-media/Ant-Media-Server/issues/3988 Best Regards, Selim Link to comment Share on other sites More sharing options...
0 Selim Emre Posted February 15, 2022 Share Posted February 15, 2022 Hi, I did some tests according to your use case. It seems that if you send your RTMP stream via rtmp://amsURL/LiveApp/streamID/streamID, you can access your HLS files with https://amsURL/LiveApp/streamID/streamID.m3u8 URL. I hope, I could help you. Best Regards, Selim Link to comment Share on other sites More sharing options...
0 Connessione Posted February 16, 2022 Share Posted February 16, 2022 True to that. What you are basically doing here is broadcasting into a chat room and hence the hls stream is created inside the room. Link to comment Share on other sites More sharing options...
0 Connessione Posted February 16, 2022 Share Posted February 16, 2022 Alternatively after recording you can take the help of a custom shell script or something to move the files around. Link to comment Share on other sites More sharing options...
0 Raj Diwan Posted February 17, 2022 Author Share Posted February 17, 2022 Hi, I have changed the setting in red5-web.properties with settings.dashMuxingEnabled=true settings.dash.hlsEnabled=true but the .ts files saves in the streams folder only. we are using for live streaming with DVR enable. please help me how to resolve this issue Link to comment Share on other sites More sharing options...
0 Connessione Posted February 17, 2022 Share Posted February 17, 2022 Well I don’t think you understood what he said. 1. Either change broadcast url to add a room name in between so that hls is created in that scope. 2. Or use a script to copy the stream files to the different location after broadcast ends Link to comment Share on other sites More sharing options...
0 Selim Emre Posted February 17, 2022 Share Posted February 17, 2022 Hi All, Thank you for your contribution @Connessione. Actually, I recommended using DASH muxer for playing HLS in stream ID folder. But after my tests, you can also send your stream like this rtmp://amsURL/LiveApp/streamID/streamID. If you use your RTMP URL, you can access HLS files with https://amsURL/LiveApp/streamID/streamID.m3u8 URL. So, for the second option, no need to enable DASH muxer options. You can disable it as an original(After the changes, don't forget to restart Ant Media Server). I hope, it's clear for you. Best Regards, Selim Link to comment Share on other sites More sharing options...
0 Connessione Posted February 18, 2022 Share Posted February 18, 2022 Link to comment Share on other sites More sharing options...
Question
Raj Diwan
Hi, please help.
I have been trying to use RTMP Streaming in liveapp, but the videos save in liveapp/streams/Streamkey.ts. I need to save them in liveapp/streams/streamkey/steamkey.ts. Is there any way to change the Streams Files path?
Thank you,
Link to comment
Share on other sites
Top Posters For This Question
4
3
2
Popular Days
Feb 15
3
Feb 17
3
Feb 16
2
Feb 18
1
Top Posters For This Question
Connessione 4 posts
Selim Emre 3 posts
Raj Diwan 2 posts
Popular Days
Feb 15 2022
3 posts
Feb 17 2022
3 posts
Feb 16 2022
2 posts
Feb 18 2022
1 post
8 answers to this question
Recommended Posts