动态播放视频试下 不要直接绑定属性
在3.8.3上使用videotexture,在ios端播放本地视频或者先下载到本地的远程视频是正常的,但是直接用远程url播放会闪退,这个之前有试过么
3.8.3版本集成的时候,编译的时候报这个错误有可能是什么原因
Showing All Issues
Undefined symbol: _BIO_clear_flags
Undefined symbol: _BIO_get_data
Undefined symbol: _BIO_meth_free
Undefined symbol: _BIO_meth_new
Undefined symbol: _BIO_meth_set_create
Undefined symbol: _BIO_meth_set_ctrl
Undefined symbol: _BIO_meth_set_destroy
Undefined symbol: _BIO_meth_set_puts
Undefined symbol: _BIO_meth_set_read
Undefined symbol: _BIO_meth_set_write
Undefined symbol: _BIO_new
Undefined symbol: _BIO_set_data
Undefined symbol: _BIO_set_flags
Undefined symbol: _BIO_set_init
Undefined symbol: _BN_CTX_free
Undefined symbol: _BN_CTX_new
Undefined symbol: _BN_bin2bn
Undefined symbol: _BN_bn2bin
Undefined symbol: _BN_cmp
Undefined symbol: _BN_copy
Undefined symbol: _BN_free
Undefined symbol: _BN_hex2bn
Undefined symbol: _BN_mod_exp
Undefined symbol: _BN_new
Undefined symbol: _BN_num_bits
Undefined symbol: _BN_rand
Undefined symbol: _BN_set_word
Undefined symbol: _BN_sub_word
Undefined symbol: _BN_value_one
Undefined symbol: _ERR_error_string
Undefined symbol: _ERR_get_error
Undefined symbol: _RAND_bytes
Undefined symbol: _SSL_CTX_free
Undefined symbol: _SSL_CTX_load_verify_locations
Undefined symbol: _SSL_CTX_new
Undefined symbol: _SSL_CTX_set_options
Undefined symbol: _SSL_CTX_set_verify
Undefined symbol: _SSL_CTX_use_PrivateKey_file
Undefined symbol: _SSL_CTX_use_certificate_chain_file
Undefined symbol: _SSL_accept
Undefined symbol: _SSL_connect
Undefined symbol: _SSL_ctrl
Undefined symbol: _SSL_free
Undefined symbol: _SSL_get_error
Undefined symbol: _SSL_new
Undefined symbol: _SSL_read
Undefined symbol: _SSL_set_bio
Undefined symbol: _SSL_shutdown
Undefined symbol: _SSL_write
Undefined symbol: _TLS_client_method
Undefined symbol: _TLS_server_method
在3.8.2上使用videotexture使用不同分辨率的视频就会黑屏
Creator3.7.3_VideoTexture 上切换不同分辨率的视频也会黑屏
mark!!!1
试试,以前都是用的渠道的API,有些渠道也不支持,闹心,这次可以大折腾了
可以,很不错!1
404, 无法下载
我测试了下可以下载的
估计下午网有问题,有一阵帖子都打不开。
请问 VideoTexture的demo在ios平台怎么跑起来,native替换后,有大量的报错,有没有类似的文档说明
请问这个问题您找到原因了吗,我们这里也遇到了同样的问题
VideoTexture的video.h文件中 有一行 #include “base/Ref.h”,可是 Ref.h在cococscreator引擎中根本不存在,这个Ref.h应该是cocos2dx引擎的东西。我想确认下,VideoTexture使用的cocoscreator引擎到底是哪个?
mark一下,现在有解决方案了吗
@zzf_2025 大哥,还在吗?
VideoTexture,我用在Android低端设备(电视盒子,街机主板)非常卡;5个小视频压缩到20M以内,一个4M左右依然是很卡,大概是处理器太弱了。。。
只好用原生api来播放,创建一个view放在最底层,可是显示不出来,UI下为黑底
// 获取 content 根容器,把 videoTextureView 添加到 index 0(最底层)
ViewGroup contentRoot = activity.findViewById(android.R.id.content);
contentRoot.addView(videoTextureView, 0, params);
播放期间一直提示:duplicate layer name: changing SurfaceView - xxxs.sgj/com.cocos.game.AppActivity to SurfaceView - xxxs.sgj/com.cocos.game.AppActivity#1
是因为原生环境Cocos不支持透明通道吗?
哪个Cocos自带组件VideoPlayer也是不能把视频放在底层(Android)
怎么办,没办法搞了吗,哥
哪个大哥知道怎么搞哇?
