使用VB.Net创建电视流 [英] Create TV Streaming using VB.Net

查看:144
本文介绍了使用VB.Net创建电视流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友

我有问题,我只是尝试使用vb.Net进行电视直播

I have a problem, I just try to make a live tv streaming using vb.Net

我得到了使用Windows Media Player的教程,并将URL放入属性中

I got the tutorial that using windows media player, and put the url in the propertis

但是当我尝试运行表单时,什么也没发生

but when I try running the form, nothing happen

这是网址

当我尝试将Media Player更改为VLC时,出现错误

and when I try to change the Media Player into VLC, I got an error

有人可以帮助我吗?

谢谢

此致

史蒂夫·亨利

推荐答案

由于使用的压缩类型,我无法获得Windows Media Player控件来流式传输内容.

I couldn't get a Windows Media Player control to stream the content, due I believe, to the type of compression used.

但是,此代码确实可以使用默认的浏览器显示内容.

However, this code does work, using your default browser to show the content.

    ' opens your default browser for result
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim mp As New Process
        mp.StartInfo.FileName = "http://www.transtv.co.id/live"
        mp.Start()
        mp.Dispose()
    End Sub


这篇关于使用VB.Net创建电视流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆