Skip to content
This repository has been archived by the owner on May 31, 2019. It is now read-only.

Commit

Permalink
Add naive tsmerger to handle HLS streams with Alternate Media Audio p…
Browse files Browse the repository at this point in the history
…laylist - at now olny VODs supported - WiP.
  • Loading branch information
e2iplayer committed Oct 17, 2018
1 parent 43fc29d commit bc4bda3
Show file tree
Hide file tree
Showing 9 changed files with 854 additions and 207 deletions.
2 changes: 1 addition & 1 deletion make.sh
Expand Up @@ -5,7 +5,7 @@ set -e
export CURL_TYPE="OPENSSL"

MYTOPDIR=$PWD
S_SRC="$MYTOPDIR/src/main.c $MYTOPDIR/src/aes.c $MYTOPDIR/src/curl.c $MYTOPDIR/src/hls.c $MYTOPDIR/src/misc.c $MYTOPDIR/src/msg.c"
S_SRC="$MYTOPDIR/src/main.c $MYTOPDIR/src/aes.c $MYTOPDIR/src/curl.c $MYTOPDIR/src/hls.c $MYTOPDIR/src/misc.c $MYTOPDIR/src/msg.c $MYTOPDIR/src/mpegts.c"

cd /mnt/new2/sysroots

Expand Down
2 changes: 1 addition & 1 deletion src/curl.c
Expand Up @@ -130,7 +130,7 @@ void set_fresh_connect_http_session(void *ptr_session, long val)
{
struct http_session *session = ptr_session;
CURL *c = (CURL *)(session->handle);
curl_easy_setopt(c, CURLOPT_FRESH_CONNECT, val);
curl_easy_setopt(c, CURLOPT_FRESH_CONNECT, val);
}

long get_data_from_url_with_session(void **ptr_session, char *url, char **out, size_t *size, int type, char **new_url, const char *range)
Expand Down

9 comments on commit bc4bda3

@norhap
Copy link

@norhap norhap commented on bc4bda3 Oct 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with commit have error-build
error-build-oe.zip

@e2iplayer
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WiP = work in progress. I did not update Makefile because I do not use it.
There is need to add new file src/mpegts.c to compilation.

@norhap
Copy link

@norhap norhap commented on bc4bda3 Oct 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follow the same error .... I simply inform you, I understand that it is in progress ... you know that your utilities are in all e2 compilation environments. thanks.

Edit. my compilation is with box hilisicon.

@68foxboris
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compile ok.

@norhap
Copy link

@norhap norhap commented on bc4bda3 Oct 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@68foxboris mi test is with ferguson4k hilisicon.

@e2iplayer
Copy link
Owner Author

@e2iplayer e2iplayer commented on bc4bda3 Oct 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compilation using Makefile was fixed with the commit f103a2b

So, what error do you have now?

@norhap
Copy link

@norhap norhap commented on bc4bda3 Oct 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thi is my error (include new commit f103a2b)
error-build-ferguson4k-hlsdl.zip

@e2iplayer
Copy link
Owner Author

@e2iplayer e2iplayer commented on bc4bda3 Oct 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, you are using Makefile but some custom build system. You must add mpegts.c as source file.
I have nothing to do with this.

@norhap
Copy link

@norhap norhap commented on bc4bda3 Oct 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, had to add it to the environment if you want to package your ipk.
oe-alliance/oe-alliance-core@2d1fe0f

Please sign in to comment.