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
canagica  
#1 Posted : Tuesday, March 29, 2016 3:06:04 PM(UTC)
canagica

Rank: Newbie

Groups: Registered
Joined: 9/24/2014(UTC)
Posts: 6

Thanks: 2 times
Hello-
I'm using vMix Basic HD 16.0.0.115 x64 and I've been trying to get the API's AddInput function to load an RTSP feed via the web browser API but I haven't had any success—the documentation on proper syntax (or whether this is even possible with the current API) isn't entirely clear, but I've tried a few variations like

http://128.84.7.90:8088/API/?Function=AddInput=Image|c:\Users\filename.jpg (just to see if it works, pointing to a local jpg file)

or

http://128.84.7.90:8088/API/?Function=AddInput=Stream|rtsp://[usernamer:password]@RTSP.address/media.amp

and only gotten "No suitable function can be found"

If I just leave the "Function=" blank, i get a return of the xml file, so i know it's talking to vMix.

I can add the image manually to vMix and even trigger a shortcut to do the image (but not the RTSP stream), but no success using the API. Anyone encountered something similar & figured it out? Or am I missing something terribly basic?




Kaf  
#2 Posted : Monday, May 2, 2016 6:23:55 PM(UTC)
Kaf

Rank: Member

Groups: Registered
Joined: 2/24/2016(UTC)
Posts: 23
Location: France

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hey, this is the correct syntax :

http://128.84.7.90:8088/API/?Function=AddInput&Value=Image|c:\Users\filename.jpg

hope it help you :)
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.