go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

set the publish Configure through API?

Open yuxingwuhen opened this issue 2 years ago • 3 comments

Hi, I don't find the API interface for setting the publish config in the API documentation. Is there relevant interface? If not, are there any plans to add in the future? I don't want use the "/api/config" API. I'm worried it might affect the playing stream.

yuxingwuhen avatar Dec 11 '23 06:12 yuxingwuhen

POST /api/streams?src={stream_name}&dst=rtmp...

AlexxIT avatar Dec 11 '23 08:12 AlexxIT

yes, i had been try this api such as "http://192.168.100.63:1984/api/streams?src=33&dst=rtmp%3A%2F%2F192.168.100.246%2Flive%2Fsrs63_33%2Fabc63_33". there is no response and the config is not changed. i test in the link.html with the send button if ”Publish stream“. there is no response too. maybe there is a bug.

yuxingwuhen avatar Dec 11 '23 09:12 yuxingwuhen

The configuration does not change when this API is called. The answer is blank if there are no errors

AlexxIT avatar Apr 23 '24 13:04 AlexxIT