logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
neo5287  
#1 Posted : Tuesday, May 7, 2013 8:11:00 PM(UTC)
neo5287

Rank: Newbie

Groups: Registered
Joined: 5/7/2013(UTC)
Posts: 2
Location: Portsmouth

Thanks: 1 times
Hi,

Can anyone help me with understanding how to use AddInput Function, both in shortcut and API usage.

I would like to understand how to add RTMP streams via API.

Also is there is a way to reset the inputs automatically, either via api or a config setting, when an input looses connection to rtmp stream it does not automatically connect again, in the UI i can right click on the input and select reset, but theres no easy way to automate it or set it to auto retry.

Good bit of software!

Thanks

Niall
admin  
#2 Posted : Thursday, May 9, 2013 1:40:29 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,228
Man
Location: Gold Coast, Australia

Was thanked: 4332 time(s) in 1528 post(s)
The AddInput function in the API only supports the following formats:

Video
Image
Photos
Xaml

To load a video, an example request would be:

http://localhost:8088/API/?Function=AddInput&Value=Video|C:\video.wmv

To add an image the request would be:

http://localhost:8088/API/?Function=AddInput&Value=Image|C:\image.jpg

I will add this information to the help file.

Regards,

Martin
vMix
thanks 1 user thanked admin for this useful post.
neo5287 on 5/9/2013(UTC)
neo5287  
#3 Posted : Thursday, May 9, 2013 5:33:28 AM(UTC)
neo5287

Rank: Newbie

Groups: Registered
Joined: 5/7/2013(UTC)
Posts: 2
Location: Portsmouth

Thanks: 1 times
Hi Martin,

Thanks for the quick response. Could I possibly get RTMP streams via API added to the feature request list? Should I raise a thread in the other board?

Would you be able to give any input on the second half of my problem. Resetting the RTMP streams. Currently if a RTMP stream loses connection to vMix the input freezes. I quite like the fact it doesnt just go black but when the connection comes back it requires a manual reset on the input to get it to work again.

I was hoping there was a way to reset them via the API if there was no way to make it automatic, would this be something you would consider for a later release?

Best regards
Niall
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.