Common tools

Updated at:

This topic introduces the common tools for Visual Compute.

Playback tools

Common open-source players, such as VLC and ffplay, support major playback formats. You can also use Adobe Flash Player for videos in RTMP or FLV format. You can use ffplay to troubleshoot playback issues by adding the -loglevel debug command-line parameter to output debugging information.

ffplay -loglevel debug -analyzeduration 1 'http://edge1.example.com/app/ipc-1.flv?vhost=test.example.com'        

Use ApsaraVideo Player to play videos from Visual Compute. You can integrate the Web SDK or use the online player. For more information, see https://player.alicdn.com/.

Common network analysis tools

  1. Use telnet to check if you can connect to a server port:

    telnet <server> <port>        

    For example:

    $ telnet 192.168.56.101 12345
    Trying 192.168.56.101...
    telnet: Unable to connect to remote host: Connection refused                
  2. To capture and analyze packets, use tcpdump to save the capture to a file and then analyze it with Wireshark. When using tcpdump, you can specify a destination address or port. For example:

    tcpdump -i eth0 port 5060 -s 0 -w example.pcap

    Open the generated .pcap file in Wireshark. In the captured INVITE request, you can inspect the corresponding GB ID, SIP server address and port, and media server address and port. These details appear in the c=IN IP4 and m=video fields of the Session Description Protocol (SDP).

    INVITE sip:34020000001320001049@192.168.1.64:5060 SIP/2.0
    Via: SIP/2.0/udp xxx:5060;branch=z9hG4bKgMU%ZXYth
    To: <sip:34020000001320001049@192.168.1.64:5060>
    From: "Alice" <sip:xxx>;tag=xxx
    Call-Id: xxx
    CSeq: 0168 INVITE
    User-Agent: Alice
    Max-Forwards: 70
    Content-Length: 188
    Content-Type: Application/SDP
    Subject: 34020000001320001049:0000,xxx
    
    v=0
    o=34020000001320001049 0 0 IN IP4 xxx
    s=Play
    c=IN IP4 xxx
    m=video xxx TCP/RTP/AVP 96
    a=recvonly
    a=rtpmap:96 PS/90000
    a=setup:passive
    y=xxx

Client tool

Download the client tool for Windows.

Instructions

  • After the download is complete, extract the files to a local directory. Double-click the clienttool.exe file to run it. The page will load during initialization. Please wait patiently.

  • Click Menu > Network to check the network.

  • If the Network check passes, click Menu > Camera > Default > Start Stream to simulate the signaling registration and stream publishing for GB-compliant camera access.

  • For detailed instructions, see Client Tool Usage Instructions.pdf.

OBS stream publishing

See the Use OBS to publish streams guide.