Skip to content

C8110 - media playback status #645

Closed Answered by vivekatoffice
MichalOplt asked this question in VAPIX
Discussion options

You must be logged in to vote

Hi @MichalOplt ,
I have never tested this using Postman but do let me know if you succeed 😄

There are two ways you can do it in C#:

1. Using AXIS Media Parser SDK:

2.Using WebSocket

This part of the API for subscribing to event like tnsaxis:MediaClip/tnsaxis:Playing (link) may be possible using Websocket in C#.

You can explore this library.

Axis Websocket events details: Event streaming over WebSocket

Adding my sample code below:

Program.cs (Please change the PayloadWithFilter according to your needs(tnsaxis:MediaClip/tnsaxis:Playing))

using System;
using System.Threading;
using WebSocketSharp;
using WebSocketSharp.Net;

namespace Example
{
  public class Program
  {
    public static void 

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@vivekatoffice
Comment options

Answer selected by vivekatoffice
Comment options

You must be logged in to vote
1 reply
@vivekatoffice
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
VAPIX
Labels
None yet
2 participants