Skip to content

Commit

Permalink
1.1.0.54
Browse files Browse the repository at this point in the history
  • Loading branch information
cpluser09 committed Nov 22, 2017
1 parent 6975e52 commit cbfb514
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ios/include/qcMsg.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
#define QC_MSG_PLAY_CLOSE_FAILED 0x16000004
#define QC_MSG_PLAY_SEEK_DONE 0x16000005
#define QC_MSG_PLAY_SEEK_FAILED 0x16000006
#define QC_MSG_PLAY_COMPLETE 0x16000007
#define QC_MSG_PLAY_COMPLETE 0x16000007 // the param is int *. 0 is normal ,1 is error.
#define QC_MSG_PLAY_STATUS 0x16000008
#define QC_MSG_PLAY_DURATION 0x16000009
#define QC_MSG_PLAY_OPEN_START 0x1600000A
Expand Down
Binary file modified ios/lib/libqcPlayEng.a
Binary file not shown.
12 changes: 7 additions & 5 deletions ios/sample/TestCode/ViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ - (void)onPlayerEvent:(int)nID withParam:(void*)pParam
}
else if(nID == QC_MSG_SNKV_FIRST_FRAME)
{
NSLog(@"[EVT]First video frame rendered, %x\n", nID);
NSLog(@"[EVT]First video frame rendered\n");
}
}

Expand Down Expand Up @@ -224,9 +224,10 @@ -(void)prepareURL

[_urlList addObject:@"rtmp://live.hkstv.hk.lxdns.com/live/hks"];
[_urlList addObject:@"http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8"];
[_urlList addObject:@"rtmp://183.146.213.65/live/hks?domain=live.hkstv.hk.lxdns.com"];

#if 1
[_urlList addObject:@"http://live1-cloud.itouchtv.cn/recordings/z1.touchtv-1.59fbcdaea3d5ec7f14564584/179b5bd6ce990b8a8ebd141b091419ac.mp4"];
#if 0
[_urlList addObject:@"http://pili-live-hdl.duimian.cn/loovee/doll_top.flv"];
[_urlList addObject:@"http://114.55.127.142:80/g17614640s0t1510127320465SI1u4754539i1.flv"];
[_urlList addObject:@"rtmp://pili-publish.wangliangliang.qiniuts.com/wangliangliang-piliwork/57e2234275b62535c30003a7"];
[_urlList addObject:@"https://ofmw8vyd3.qnssl.com/1461562925fetch/111.mp4"];
Expand Down Expand Up @@ -537,7 +538,7 @@ -(IBAction)onStop:(id)sender
return;

int useTime = [self getSysTime];
NSLog(@"+Stop");
NSLog(@"+Stop[KPI]");

[((UIButton*)sender) setTitle:@"START" forState:UIControlStateNormal];

Expand All @@ -553,7 +554,7 @@ -(IBAction)onStop:(id)sender
[_sliderPosition setValue:0.0];
[_tableViewStreamInfo removeFromSuperview];
_tableViewStreamInfo = nil;
NSLog(@"-Stop, %d", [self getSysTime]-useTime);
NSLog(@"-Stop[KPI], %d\n\n", [self getSysTime]-useTime);
}

- (IBAction)onPositionChangeBegin:(id)sender
Expand Down Expand Up @@ -629,6 +630,7 @@ -(void)onAppActive:(BOOL)active

-(IBAction)onFullScreen:(id)sender
{
//return [self onStop:_btnStart];
if(!_isFullScreen)
{
_isFullScreen = YES;
Expand Down

0 comments on commit cbfb514

Please sign in to comment.