Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTP stream #3

Closed
dronja opened this issue May 9, 2019 · 8 comments
Closed

RTP stream #3

dronja opened this issue May 9, 2019 · 8 comments

Comments

@dronja
Copy link

dronja commented May 9, 2019

Is there an example how to use the player to play rtp stream?

@abujalski
Copy link
Contributor

@dronja
Copy link
Author

dronja commented Jun 3, 2019

Thanks, @abujalski, thank you a lot!

@dronja dronja closed this as completed Jun 5, 2019
@rockinggit
Copy link

rockinggit commented Jun 21, 2019

I tried given example for rtsp stream for 2019 TV. It does not work.
any working URL for ex. rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov

fails at avformat_open_input(&format_ctx, url.c_str(),NULL, NULL);

I think enable network is disabled in ffmpeg compiled lib in this sample. so URL passing is not working.
however rtsp options are being set but it seems not to be working.
av_dict_set(&opts, "rtsp_transport", "tcp", 0);
avformat_open_input(&format_ctx, url.c_str(),NULL, opts);
Can anyone confirm on which year tv model this sample is working?

@dronja
Copy link
Author

dronja commented Jun 22, 2019

Hi, @rockinggit! I've tested this player on 2018 TV models, and it works pretty fine. But a minimum latency, that I've recieved was about 2s. I think some latency gives rtsp server.

@rockinggit
Copy link

Hi @dronja ! did you used ffmpeg version given in sample or compiled yourself for tizen. I am always getting failure in avformat_open_input with "protocol not found" error.
Did you changed anything in project to get it work ? i can't get it why it is not working for me.

@dronja
Copy link
Author

dronja commented Jun 23, 2019

@rockinggit , I've used ffmpeg version given in sample and changed nothing. Check with Wireshark your rtp packets.

@rockinggit
Copy link

Hi @dronja, How did you imported this sample to Tizen Studio ? Can you please let me know Studio version which you are using ? Nacl Toolchain version ? and a few steps which you follow to import and build ?

When i try to import this project in Tizen Studio it comes as tv-samsung-public 2.4 project. (did you change configuration of this project to build ?)
I dont see any Build option same as Nacl Projects. I can only do "Build Signed Package" and Run As ->"Tizen Web Application" which actually does nothing as no Nacl file is being generated. (.pexe, .nexe etc.)

@dronja
Copy link
Author

dronja commented Jun 25, 2019

I've answered here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants